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