summaryrefslogtreecommitdiffstats
path: root/reftable/stack.c
AgeCommit message (Expand)AuthorLines
2025-11-10reftable/stack: add function to check if optimization is requiredKarthik Nayak-5/+37
2025-11-10reftable/stack: return stack segments directlyKarthik Nayak-11/+12
2025-10-13Merge branch 'kn/reftable-consistency-checks'Junio C Hamano-6/+1
2025-10-07reftable: check for trailing newline in 'tables.list'Karthik Nayak-6/+1
2025-08-12reftable: don't second-guess errors from flock interfacePatrick Steinhardt-29/+8
2025-08-12reftable/stack: handle outdated stacks when compactingPatrick Steinhardt-6/+26
2025-08-12reftable/stack: allow passing flags to `reftable_stack_add()`Patrick Steinhardt-4/+4
2025-08-12reftable/stack: fix compiler warning due to missing bracesPatrick Steinhardt-7/+7
2025-08-12reftable/stack: reorder code to avoid forward declarationsPatrick Steinhardt-188/+176
2025-04-07reftable/constants: make block types part of the public interfacePatrick Steinhardt-4/+4
2025-04-07reftable/reader: rename data structure to "table"Patrick Steinhardt-84/+84
2025-04-07reftable: fix formatting of the license headerPatrick Steinhardt-6/+6
2025-02-18reftable/stack: stop using `sleep_millisec()`Patrick Steinhardt-1/+1
2025-02-18reftable/system: introduce `reftable_rand()`Patrick Steinhardt-2/+2
2025-02-18reftable/stack: stop using `write_in_full()`Patrick Steinhardt-4/+24
2025-02-18reftable/stack: stop using `read_in_full()`Patrick Steinhardt-4/+14
2025-02-14Merge branch 'kn/reflog-migration-fix-followup'Junio C Hamano-2/+4
2025-01-28Merge branch 'ps/reftable-sign-compare'Junio C Hamano-7/+5
2025-01-22reftable: prevent 'update_index' changes after adding recordsKarthik Nayak-2/+4
2025-01-21reftable: address trivial -Wsign-compare warningsPatrick Steinhardt-7/+5
2025-01-07reftable/stack: accept insecure random bytesPatrick Steinhardt-2/+2
2025-01-07wrapper: allow generating insecure random bytesPatrick Steinhardt-1/+1
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