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