summaryrefslogtreecommitdiff
path: root/reftable/stack.c
AgeCommit message (Expand)AuthorFilesLines
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-60/+61
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-132/+119
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-45/+153
2024-01-26reftable/stack: adjust permissions of compacted tablesPatrick Steinhardt1-0/+6
2024-01-23reftable: honor core.fsyncJohn Cai1-3/+13
2024-01-18reftable/stack: fix race in up-to-date checkPatrick Steinhardt1-7/+92
2024-01-18reftable/stack: unconditionally reload stack after commitPatrick Steinhardt1-1/+1
2024-01-11reftable/stack: use stat info to avoid re-reading stack listPatrick Steinhardt1-1/+11
2024-01-11reftable/stack: refactor reloading to use file descriptorPatrick Steinhardt1-3/+18
2024-01-11reftable/stack: refactor stack reloading to have common exit pathPatrick Steinhardt1-43/+41
2024-01-03reftable/stack: do not auto-compact twice in `reftable_stack_add()`Patrick Steinhardt1-3/+0
2024-01-03reftable/stack: do not overwrite errors when compactingPatrick Steinhardt1-12/+8
2023-12-11reftable/stack: fix use of unseeded randomnessPatrick Steinhardt1-1/+1
2023-12-11reftable/stack: fix stale lock when dyingPatrick Steinhardt1-32/+15
2023-12-11reftable/stack: reuse buffers when reloading stackPatrick Steinhardt1-8/+4
2023-12-11reftable/stack: perform auto-compaction with transactional interfacePatrick Steinhardt1-0/+6
2023-12-11reftable: handle interrupted writesPatrick Steinhardt1-3/+3
2023-12-11reftable: handle interrupted readsPatrick Steinhardt1-1/+1
2022-02-16Merge branch 'hn/reftable-coverity-fixes'Junio C Hamano1-5/+5
2022-01-20reftable: fix resource warningHan-Wen Nienhuys1-5/+5
2021-12-23reftable: support preset file mode for writingHan-Wen Nienhuys1-6/+24