git/reftable
Patrick Steinhardt 7fa52fdad5 reftable/stack: fsync "tables.list" during compaction
In 1df18a1c9a (reftable: honor core.fsync, 2024-01-23), we have added
code to fsync both newly written reftables as well as "tables.list" to
disk. But there are two code paths where "tables.list" is being written:

  - When appending a new table due to a normal ref update.

  - When compacting a range of tables during compaction.

We have only addressed the former code path, but do not yet sync the new
"tables.list" file in the latter. Fix this omission.

Note that we are not yet adding any tests. These tests will be added
once the "reftable" backend has been upstreamed.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-01-30 11:56:15 -08:00
..
LICENSE
basics.c
basics.h
basics_test.c
block.c reftable/block: reuse buffer to compute record keys 2023-12-11 07:23:17 -08:00
block.h reftable/block: reuse buffer to compute record keys 2023-12-11 07:23:17 -08:00
block_test.c reftable/record: store "val1" hashes as static arrays 2024-01-03 09:54:20 -08:00
blocksource.c reftable: handle interrupted reads 2023-12-11 07:23:16 -08:00
blocksource.h
constants.h
dump.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
error.c
generic.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
generic.h
iter.c
iter.h reftable/block: introduce macro to initialize `struct block_iter` 2023-12-11 07:23:17 -08:00
merged.c Merge branch 'ps/reftable-fixes-and-optims' 2024-01-16 10:11:57 -08:00
merged.h reftable/merged: reuse buffer to compute record keys 2023-12-11 07:23:16 -08:00
merged_test.c reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
pq.c
pq.h
pq_test.c
publicbasics.c
reader.c Merge branch 'en/header-cleanup' 2024-01-08 14:05:15 -08:00
reader.h
readwrite_test.c reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
record.c reftable/record: store "val2" hashes as static arrays 2024-01-03 09:54:21 -08:00
record.h
record_test.c reftable/record: store "val2" hashes as static arrays 2024-01-03 09:54:21 -08:00
refname.c
refname.h
refname_test.c reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
reftable-blocksource.h
reftable-error.h
reftable-generic.h
reftable-iterator.h
reftable-malloc.h
reftable-merged.h
reftable-reader.h
reftable-record.h reftable/record: store "val2" hashes as static arrays 2024-01-03 09:54:21 -08:00
reftable-stack.h
reftable-tests.h
reftable-writer.h reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
stack.c reftable/stack: fsync "tables.list" during compaction 2024-01-30 11:56:15 -08:00
stack.h
stack_test.c Merge branch 'ps/reftable-fixes-and-optims' 2024-01-16 10:11:57 -08:00
system.h
test_framework.c reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
test_framework.h reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
tree.c
tree.h
tree_test.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
writer.c reftable: honor core.fsync 2024-01-23 13:45:27 -08:00
writer.h reftable: honor core.fsync 2024-01-23 13:45:27 -08:00