aboutsummaryrefslogtreecommitdiff
path: root/reftable/stack.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-16 14:50:30 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-16 14:50:30 -0700
commit82a31ec32441cd06daa5e0397a73f4159cdaad4b (patch)
treee24ddf13b3eda8b9d5927570807af38238f3e837 /reftable/stack.h
parent2b49e41155d826d40ede07dfd4d34a7a36f9f64b (diff)
parenta949ebd342440049a1ac77ca675f66884eae4187 (diff)
downloadgit-82a31ec32441cd06daa5e0397a73f4159cdaad4b.tar.xz
Merge branch 'jt/reftable-geometric-compaction'
The strategy to compact multiple tables of reftables after many operations accumulate many entries has been improved to avoid accumulating too many tables uncollected. * jt/reftable-geometric-compaction: reftable/stack: use geometric table compaction reftable/stack: add env to disable autocompaction reftable/stack: expose option to disable auto-compaction
Diffstat (limited to 'reftable/stack.h')
-rw-r--r--reftable/stack.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/reftable/stack.h b/reftable/stack.h
index d919455669..d43efa4760 100644
--- a/reftable/stack.h
+++ b/reftable/stack.h
@@ -19,7 +19,6 @@ struct reftable_stack {
int list_fd;
char *reftable_dir;
- int disable_auto_compact;
struct reftable_write_options config;
@@ -33,12 +32,9 @@ int read_lines(const char *filename, char ***lines);
struct segment {
size_t start, end;
- int log;
uint64_t bytes;
};
-int fastlog2(uint64_t sz);
-struct segment *sizes_to_segments(size_t *seglen, uint64_t *sizes, size_t n);
struct segment suggest_compaction_segment(uint64_t *sizes, size_t n);
#endif