Jason Volk
4c06793980
ircd::db: Make SeekForPrev() reachable via internal callstack; remove cruft.
2023-04-16 15:42:20 -07:00
Jason Volk
ef27ae50dc
ircd::db: Fix workaround for reverse prefix iteration.
2023-04-16 15:42:20 -07:00
Jason Volk
6e7d63ce6d
ircd::db: Assert valid iterator prior to all relevant operations.
2023-04-16 15:42:18 -07:00
Jason Volk
25ed05429b
ircd::db: Inline domain::const_iterator seek(string_view).
2023-04-09 21:48:33 -07:00
Jason Volk
02c862e4bc
ircd::db: Add define for versions w/ buggy MultiRead.
2023-03-24 22:47:01 -07:00
Jason Volk
19462b5fae
ircd: Remove write_avoid mode replaced by maintenance mode.
2023-03-19 13:21:11 -07:00
Jason Volk
cc36c17c03
ircd::db: Update for Cache interface refactor; reflections. (RocksDB 8.0)
2023-03-17 21:25:15 -07:00
Jason Volk
1e4f44f41d
ircd::db: Deprecate compressed block cache. (RocksDB 8.0)
2023-03-17 21:25:15 -07:00
Jason Volk
5994475542
ircd::db: Update for required ConfigOptions. (RocksDB 8.0)
2023-03-17 21:25:10 -07:00
Jason Volk
ab7dd15618
ircd::db: Add conf items to connect database options to ircd::conf.
2023-02-27 21:52:27 -08:00
Jason Volk
fc06ea8ded
ircd::db::options::map: Add merge suite for adding to existing options.
2023-02-27 21:52:27 -08:00
Jason Volk
2c3dab1abc
ircd::conf: Add reference to conf::item in setter callbacks.
2023-02-27 15:29:16 -08:00
Jason Volk
647babdcbe
ircd::db: Consistent interruption masking on rocksdb entry; minor cleanup.
2023-02-22 16:04:11 -08:00
Jason Volk
c30776fc59
ircd::ctx::pool: Upgrade various opts sites to designated inits; minor inline.
2023-02-19 19:57:14 -08:00
Jason Volk
23c8a6c5cb
ircd::db: Shorter paths to valid(iterator); strip noexcept; hot annotate uninlineable.
2023-02-18 16:41:33 -08:00
Jason Volk
b3ba3eb443
ircd::db: Fix debug constexpr disagreement. (regression 6fd08ba0a3
)
2023-02-16 16:21:38 -08:00
Jason Volk
36b85a5c78
ircd::db: Optimize make_opts w/ pre-construction and assumptions for noexcept copy.
2023-02-16 16:17:23 -08:00
Jason Volk
b106fe4c9d
ircd::db: Fix read opts not passing cache=false. (regression 94a6cd0d90
)
2023-02-11 12:31:57 -08:00
Jason Volk
762703698c
Replace various #ifdef RB_DEBUG with if constexpr for regression visibility.
2023-02-09 12:11:32 -08:00
Jason Volk
8e983880f2
ircd::db::prefetcher: Fix loss of notify on db shutdown w/ separate ctx::dock.
2023-02-08 14:28:09 -08:00
Jason Volk
d3a125f1d5
ircd::db: Add RoundRobin TTL compaction define and reflection.
2023-02-02 20:42:25 -08:00
Jason Volk
89e44ce8e9
ircd: Apply branch expectation attributes to various case labels.
2023-02-02 18:51:03 -08:00
Jason Volk
47ce9ff839
ircd::db::column: Add parallel fetch closure for zero-copy closure.
2022-08-16 22:21:52 -07:00
Jason Volk
084bef0579
ircd::db: Fix additional db::prefetcher shutdown. (related cd15c17499
)
2022-07-13 22:48:14 -07:00
Jason Volk
94e4891187
ircd::db: Add version for manifest write feature; enable reflection.
...
ircd::db: Add version for WAL full feature w/ reflection.
ircd::db: Add version for no-WAL manifest write error w/ reflection.
ircd::db: Add version for featured IO_MID/IO_USER levels w/ reflection.
ircd::db: Add version for Change Temperature compaction reason w/ reflection.
ircd::db: Add version for Fixed Blob GC compaction reason w/ reflection.
2022-07-09 13:43:17 -07:00
Jason Volk
22c6baeef7
ircd::db: Cleanup reflection table typedefs.
2022-07-09 13:43:17 -07:00
Jason Volk
cd15c17499
ircd::db: Fix prefetcher inhibiting some clean shutdowns.
2022-07-08 17:46:35 -07:00
Jason Volk
32d92b96ca
ircd::db::prefetcher: Additional debuglog in shutdown sequence.
2022-07-02 21:39:11 -07:00
Jason Volk
94a6cd0d90
ircd::db: Simplify options wrappings; eliminate bitflags.
2022-07-02 12:42:09 -07:00
Jason Volk
8a20079122
ircd::db: Simplify ABI version detection; remove extern symbols.
2022-06-29 18:31:35 -07:00
Jason Volk
5a4a395fc2
Add noexcept to various lambdas (gcc-11).
2022-06-29 14:42:42 -07:00
Jason Volk
b677eeb4b7
Allow various unsigned conversions.
...
construct: Fix comparison signedness warning.
2022-06-29 14:21:36 -07:00
Jason Volk
796058d8e9
ircd::db: Remove deprecated seqnum; related 58a346f18b
.
2022-06-20 18:24:55 -07:00
Jason Volk
30d7c4649c
ircd::db: Extract stats value before debug logging (gcc-8).
2022-06-19 20:57:46 -07:00
Jason Volk
6fd08ba0a3
ircd::db: Use if constexpr for verbose seek debug log.
2022-06-17 21:11:54 -07:00
Jason Volk
58a346f18b
ircd::db: Deprecate gopts::seqnum/iter_start_seqnum per RocksDB 7.x.
2022-06-17 21:11:54 -07:00
Jason Volk
9d0d45294c
ircd: Attribute static dtors worthy of running to cleanup memcheck reports.
2022-06-17 21:11:54 -07:00
Jason Volk
35e8d83d45
ircd::db: Fix bitwise-instead-of-logical warning.
2022-06-17 21:11:53 -07:00
Jason Volk
4821f6d2db
ircd: Move any externally used interfaces out of init objects.
2022-06-17 21:11:53 -07:00
Jason Volk
04558290c0
ircd: Toward improving cold/unlikely section population.
2022-06-17 21:11:53 -07:00
Jason Volk
6ea6a003dc
ircd::db: ABI fixes for RocksDB v6.19+.
2021-09-15 01:44:36 -07:00
Jason Volk
336200d646
ircd::db::prefetcher: Increase worker stack size.
2021-02-04 21:25:10 -08:00
Jason Volk
3b90a4a5a9
ircd::db: Fix erroneous false hits from db::cached().
2020-12-24 00:36:43 -08:00
Jason Volk
78cbd244c4
ircd::db: Lower the global write mutex to database instance member.
2020-12-23 03:56:43 -08:00
Jason Volk
1f164304a6
ircd::db::prefetcher: Integrate ticker items into ircd::stats system.
2020-12-23 03:56:43 -08:00
Jason Volk
d6d518666e
ircd::db: Inline various undersized; mark un-inlinable for hot section.
2020-12-23 03:56:43 -08:00
Jason Volk
7751f9d0fa
ircd::db: Optimize db::cached() query.
2020-12-06 10:27:27 -08:00
Jason Volk
f3886d60d8
ircd: Replace callsites w/ template deduced mutable_cast.
2020-11-05 22:10:53 -08:00
Jason Volk
f026e81a07
ircd: Instrument against string_view(string&&) impossible construction..
2020-10-28 03:31:55 -07:00
Jason Volk
87b1b764c1
ircd::db: Add convenience overload debug(rocksdb::WriteBatch)
2020-10-27 22:44:06 -07:00