aboutsummaryrefslogtreecommitdiffstats
path: root/reftable/stack.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2024-08-23reftable/stack: reorder swapping in the reloaded stack contentsPatrick Steinhardt1-15/+19
2024-08-23reftable/reader: introduce refcountingPatrick Steinhardt1-4/+4
2024-08-23reftable/reader: inline `reader_close()`Patrick Steinhardt1-4/+1
2024-08-23reftable/reader: rename `reftable_new_reader()`Patrick Steinhardt1-2/+2
2024-08-23reftable/stack: inline `stack_compact_range_stats()`Patrick Steinhardt1-12/+4
2024-08-22reftable/generic: drop interfacePatrick Steinhardt1-1/+0
2024-08-22t/helper: inline `reftable_stack_print_directory()`Patrick Steinhardt1-20/+0
2024-08-22reftable/stack: open-code reading refsPatrick Steinhardt1-3/+22
2024-08-22reftable/merged: stop using generic tables in the merged tablePatrick Steinhardt1-30/+18
2024-08-22reftable/merged: rename `reftable_new_merged_table()`Patrick Steinhardt1-2/+2
2024-08-08reftable/stack: handle locked tables during auto-compactionPatrick Steinhardt1-10/+49
2024-08-08reftable/stack: fix corruption on concurrent compactionPatrick Steinhardt1-5/+102
2024-08-08reftable/stack: use lock_file when adding table to "tables.list"Patrick Steinhardt1-10/+11
2024-08-08reftable/stack: do not die when fsyncing lock file filesPatrick Steinhardt1-2/+5
2024-08-08reftable/stack: simplify tracking of table locksPatrick Steinhardt1-7/+7
2024-08-08reftable/stack: update stats on failed full compactionPatrick Steinhardt1-7/+7
2024-08-08reftable/stack: refactor function to gather table sizesPatrick Steinhardt1-5/+6
2024-06-17Merge branch 'ps/no-writable-strings'Junio C Hamano1-4/+6
2024-06-17Merge branch 'ps/ref-storage-migration'Junio C Hamano1-6/+2
2024-06-07global: improve const correctness when assigning string constantsPatrick Steinhardt1-4/+6
2024-06-06reftable: inline `merged_table_release()`Patrick Steinhardt1-6/+2
2024-05-30Merge branch 'ps/reftable-reusable-iterator'Junio C Hamano1-5/+23
2024-05-13reftable/merged: adapt interface to allow reuse of iteratorsPatrick Steinhardt1-5/+9
2024-05-13reftable/stack: provide convenience functions to create iteratorsPatrick Steinhardt1-0/+15
2024-05-13reftable: make the compaction factor configurablePatrick Steinhardt1-4/+10
2024-05-13reftable: pass opts as constant pointerPatrick Steinhardt1-2/+5
2024-05-13reftable: consistently refer to `reftable_write_options` as `opts`Patrick Steinhardt1-21/+20
2024-05-08Merge branch 'ps/reftable-write-optim'Junio C Hamano1-66/+1
2024-04-08reftable: remove name checksPatrick Steinhardt1-66/+1
2024-04-08reftable/stack: use geometric table compactionJustin Tobler1-61/+62
2024-04-08reftable/stack: expose option to disable auto-compactionJustin Tobler1-1/+1
2024-03-25reftable/stack: gracefully handle failed auto-compaction due to locksPatrick Steinhardt1-1/+12
2024-03-25reftable/stack: use error codes when locking fails during compactionPatrick Steinhardt1-5/+13
2024-03-25reftable/error: discern locked/outdated errorsPatrick Steinhardt1-3/+3
2024-03-25reftable/stack: fix error handling in `reftable_stack_init_addition()`Patrick Steinhardt1-6/+1
2024-03-07reftable/stack: register compacted tables as tempfilesPatrick Steinhardt1-24/+30
2024-03-07reftable/stack: register lockfiles during compactionPatrick Steinhardt1-134/+121
2024-03-07reftable/stack: register new tables as tempfilesPatrick Steinhardt1-17/+12
2024-02-12Merge branch 'ps/reftable-styles'Junio C Hamano1-81/+72
2024-02-06Merge branch 'ps/reftable-compacted-tables-permission-fix'Junio C Hamano1-0/+6
2024-02-06Merge branch 'jc/reftable-core-fsync'Junio C Hamano1-3/+21
2024-02-06reftable/stack: use `size_t` to track stack lengthPatrick Steinhardt1-11/+10
2024-02-06reftable/stack: use `size_t` to track stack slices during compactionPatrick Steinhardt1-16/+16
2024-02-06reftable/stack: index segments with `size_t`Patrick Steinhardt1-14/+11
2024-02-06reftable/stack: fix parameter validation when compacting rangePatrick Steinhardt1-11/+13
2024-02-06reftable: introduce macros to allocate arraysPatrick Steinhardt1-15/+13
2024-02-06reftable: introduce macros to grow arraysPatrick Steinhardt1-17/+12
2024-01-30reftable/stack: fsync "tables.list" during compactionPatrick Steinhardt1-0/+8
2024-01-29Merge branch 'ps/reftable-optimize-io'Junio C Hamano1-46/+154
2024-01-26reftable/stack: adjust permissions of compacted tablesPatrick Steinhardt1-0/+6