summaryrefslogtreecommitdiffstats
path: root/reftable/stack.c
AgeCommit message (Expand)AuthorLines
2024-12-28reftable: avoid leaks on realloc errorRené Scharfe-3/+5
2024-12-23Merge branch 'ps/reftable-alloc-failures-zalloc-fix'Junio C Hamano-10/+17
2024-12-22reftable/stack: fix zero-sized allocation when there are no readersPatrick Steinhardt-10/+14
2024-12-22reftable/stack: don't perform auto-compaction with less than two tablesPatrick Steinhardt-0/+3
2024-11-26reftable/stack: add mechanism to notify callers on reloadPatrick Steinhardt-0/+4
2024-11-26reftable/stack: add accessor for the hash IDPatrick Steinhardt-0/+5
2024-11-19reftable/system: provide thin wrapper for lockfile subsystemPatrick Steinhardt-36/+27
2024-11-19reftable/stack: drop only use of `get_locked_file_path()`Patrick Steinhardt-3/+9
2024-11-19reftable/system: provide thin wrapper for tempfile subsystemPatrick Steinhardt-34/+23
2024-11-19reftable/stack: stop using `fsync_component()` directlyPatrick Steinhardt-17/+32
2024-11-19reftable/system: stop depending on "hash.h"Patrick Steinhardt-2/+2
2024-10-17reftable: handle trivial `reftable_buf` errorsPatrick Steinhardt-16/+33
2024-10-17reftable/stack: adapt `stack_filename()` to handle allocation failuresPatrick Steinhardt-17/+45
2024-10-17reftable/stack: adapt `format_name()` to handle allocation failuresPatrick Steinhardt-9/+19
2024-10-17reftable: convert from `strbuf` to `reftable_buf`Patrick Steinhardt-60/+60
2024-10-17reftable: stop using `strbuf_addf()`Patrick Steinhardt-6/+12
2024-10-10Merge branch 'ps/reftable-alloc-failures'Junio C Hamano-44/+143
2024-10-02reftable: introduce `REFTABLE_FREE_AND_NULL()`Patrick Steinhardt-4/+4
2024-10-02reftable: fix calls to free(3P)Patrick Steinhardt-1/+1
2024-10-02reftable: handle trivial allocation failuresPatrick Steinhardt-0/+20
2024-10-02reftable/stack: handle allocation failures in auto compactionPatrick Steinhardt-4/+12
2024-10-02reftable/stack: handle allocation failures in `stack_compact_range()`Patrick Steinhardt-2/+17
2024-10-02reftable/stack: handle allocation failures in `reftable_new_stack()`Patrick Steinhardt-8/+26
2024-10-02reftable/stack: handle allocation failures on reloadPatrick Steinhardt-9/+25
2024-10-02reftable/merged: handle allocation failures in `merged_table_init_iter()`Patrick Steinhardt-11/+23
2024-10-02reftable/writer: handle allocation failures in `reftable_new_writer()`Patrick Steinhardt-4/+10
2024-10-02reftable/basics: handle allocation failures in `parse_names()`Patrick Steinhardt-1/+5
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