Skip to content

bench: add missing crash-recovery benchmark source#41

Merged
virtexalejandro merged 8 commits into
mainfrom
feat/writer-crash-recovery
Jul 20, 2026
Merged

bench: add missing crash-recovery benchmark source#41
virtexalejandro merged 8 commits into
mainfrom
feat/writer-crash-recovery

Conversation

@virtexalejandro

Copy link
Copy Markdown
Contributor

Adds benchmarks/bench_crash_recovery.cpp, referenced by the CMakeLists that landed in #38/#39 - without it, configuring with -DVTX_BUILD_BENCHMARKS=ON fails on main.

…rash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly
…repairs the replay from the .recovery, it includes a test forcing a crash
* feat: First phase of hardening and recovering vtx file in case of a crash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly

* feat : vtx crash recovery, create a .recovery file with only chunks, repairs the replay from the .recovery, it includes a test forcing a crash

* feat : recovery fixes

* feat : recovery replay completed

* test: crash test recovery

* test: crash test recovery
@virtexalejandro
virtexalejandro merged commit b1a8648 into main Jul 20, 2026
9 checks passed
@virtexalejandro
virtexalejandro deleted the feat/writer-crash-recovery branch July 20, 2026 11:16
virtexalejandro added a commit that referenced this pull request Jul 20, 2026
* feat: First phase of hardening and recovering vtx file in case of a crash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly

* feat : vtx crash recovery, create a .recovery file with only chunks, repairs the replay from the .recovery, it includes a test forcing a crash

* feat : recovery fixes

* feat : recovery replay completed

* test: crash test recovery

* test: crash test recovery

* Feat/writer crash recovery (#39) (#40)

* feat: First phase of hardening and recovering vtx file in case of a crash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly

* feat : vtx crash recovery, create a .recovery file with only chunks, repairs the replay from the .recovery, it includes a test forcing a crash

* feat : recovery fixes

* feat : recovery replay completed

* test: crash test recovery

* test: crash test recovery
virtexalejandro added a commit that referenced this pull request Jul 20, 2026
#42)

* fix(reader): chunk-load state tracking, loading-forever wedge, inspector window ping-pong; defer chunk frees off caller thread

Adds GetResidentFrame (side-effect-free peek) + OnChunkLoadCancelled event; docs + changelog.

* Fix/bucket names (#35)

* fix: Fix buckets creation not being read from schema file, update schema validator  to check buckets , update tests

* fix: Harden a latent crash due to buckets initialization from buckets schema name, trying to access a bucket when the bucket list is empty

* Feature/schema array map presizing (#36)

* fix: Fix buckets creation not being read from schema file, update schema validator  to check buckets , update tests

* fix: Harden a latent crash due to buckets initialization from buckets schema name, trying to access a bucket when the bucket list is empty

* feat: resize flat arryas and maps from schema max type

* feat: ensure maps and flat arrays get resize using the schema max types

* feat : recover map and arrays resizing (#37)

* Feat/writer crash recovery (#38)

* feat: First phase of hardening and recovering vtx file in case of a crash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly

* feat : vtx crash recovery, create a .recovery file with only chunks, repairs the replay from the .recovery, it includes a test forcing a crash

* feat : recovery fixes

* feat : recovery replay completed

* Feat/writer crash recovery (#39)

* feat: First phase of hardening and recovering vtx file in case of a crash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly

* feat : vtx crash recovery, create a .recovery file with only chunks, repairs the replay from the .recovery, it includes a test forcing a crash

* feat : recovery fixes

* feat : recovery replay completed

* test: crash test recovery

* test: crash test recovery

* bench: add missing crash-recovery benchmark source (#41)

* feat: First phase of hardening and recovering vtx file in case of a crash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly

* feat : vtx crash recovery, create a .recovery file with only chunks, repairs the replay from the .recovery, it includes a test forcing a crash

* feat : recovery fixes

* feat : recovery replay completed

* test: crash test recovery

* test: crash test recovery

* Feat/writer crash recovery (#39) (#40)

* feat: First phase of hardening and recovering vtx file in case of a crash. Implement a durable_file class that syncs and flushes to hard disk, file_sink uses now the durable_file stead of a ffstream.

Added checksum to each chunk to validate chunks separetly

* feat : vtx crash recovery, create a .recovery file with only chunks, repairs the replay from the .recovery, it includes a test forcing a crash

* feat : recovery fixes

* feat : recovery replay completed

* test: crash test recovery

* test: crash test recovery

* tests: commenting timeout tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant