Vitaliy Filippov
6a4627b625
Write a test for store v1 & journal corruption preservation, fix MULTIPLE bugs
2026-06-14 11:23:36 +03:00
Vitaliy Filippov
02f6e564a6
Old store - write header on init only after clearing metadata
2026-06-13 19:56:06 +03:00
Vitaliy Filippov
df931b1e17
Check for short reads in blockstore init
2026-06-13 19:56:06 +03:00
Vitaliy Filippov
43aa4cfff6
Fix incorrect deferred freeing of block used by a parallel read in the old store
2026-06-13 19:55:47 +03:00
Vitaliy Filippov
c1dc14f5ee
Fix old store no_inode_stats not working
2026-06-05 00:50:53 +03:00
Vitaliy Filippov
ac00a06757
Make fsync batch members actually wait for fsync completion (found by kimi k2.6)
2026-05-30 16:38:02 +03:00
Vitaliy Filippov
ab385252b5
Add offset asserts before each write
2026-05-10 10:56:32 +03:00
Vitaliy Filippov
4005b88865
Do not use node_type
2026-04-04 17:37:47 +03:00
Vitaliy Filippov
ff7f5cb4f4
Report live & garbage entry count / memory with log_level > 1
2026-04-02 23:45:13 +00:00
Vitaliy Filippov
df16ab627a
Fix another bug in old store checksums O_o
...
Checksum verification wasn't working correctly on reads of small initial offsetted writes
from the journal (until the write was flushed to "clean" metadata).
2026-03-17 22:26:38 +00:00
Vitaliy Filippov
0bd9c26620
Make block_sizes uint64_t to prevent other integer overflow errors in the future
2026-03-07 12:02:57 +03:00
Vitaliy Filippov
cbe51595cb
Remove reshard_abort
2026-02-07 16:05:40 +03:00
Vitaliy Filippov
2b801a7ffa
Support chunked resharding in blockstores
2026-01-25 01:56:29 +03:00
Vitaliy Filippov
73f9c7293f
Initialize blockstore after loading pool configuration to pre-shard the DB correctly on start
2026-01-23 01:45:13 +03:00
Vitaliy Filippov
ddd755a0e6
Fix incorrect checksums for small initial writes in the old store
...
Details:
- Write size should be exactly csum_block_size (4k by default)
- Write should be made into a new object (unallocated space)
- In this case, the checksum of the block was calculated as if the block was
padded with extra (2^32 - size) zero bytes due to a simple integer overflow
- As a cherry on the cake, such calculation was 'slightly' slow because it
was processing almost 4 GB of zeroes for a small write
2026-01-16 01:07:39 +03:00
Vitaliy Filippov
934752d617
Add define RWF_DSYNC
2025-12-06 01:24:19 +03:00
Vitaliy Filippov
dbb885a6b1
v1 (old) store fixes for merged version
2025-12-02 01:52:11 +03:00
Vitaliy Filippov
8ff2c268f7
Integrate "heap" metadata storage into blockstore
2025-12-02 01:52:11 +03:00