12 Commits

Author SHA1 Message Date
Kishore Nallan
e3dee78a1b Add resource check to batch indexer as well. 2022-12-10 19:21:54 +05:30
Kishore Nallan
f9598dfd55 Ensure that all RocksDB iterators use upper bound.
Without this, unbound iteration was happening on large datasets.
2022-11-17 14:13:08 +05:30
Kishore Nallan
936270b4a5 Flag for skipping writes to avoid bad writes. 2022-08-19 18:20:32 +05:30
Kishore Nallan
dfa7191f32 Fix collection drop induced write latency.
- Use upper bound on batch index iterator to skip tombstones on next()
- Use batch range delete which is more efficient
2022-08-09 18:21:28 +05:30
Kishore Nallan
b2acf289ac Move write log persistence logic to batched indexer. 2021-11-03 14:37:38 +05:30
Kishore Nallan
02c63b443c Use condition variable for checking on queue. 2021-10-23 18:10:30 +05:30
Kishore Nallan
70de51be91 Use last updated ts for purging old requests. 2021-10-23 16:33:26 +05:30
Kishore Nallan
baaf7ea65d Restore store persisted raft log from snapshot. 2021-10-23 10:14:38 +05:30
Kishore Nallan
ebbab76a43 Gracefully quit during loading on signal. 2021-10-20 21:24:12 +05:30
Kishore Nallan
a890d036ed Account for queued writes when computing read+write lags. 2021-08-11 18:18:49 +05:30
Kishore Nallan
27ebae1f88 Address valgrind warnings. 2021-08-06 17:09:28 +05:30
Kishore Nallan
35409f8493 Batched background indexer.
Enables write parallelism across collections.
2021-07-31 21:44:06 +05:30