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
Jason Volk
e856d6e36f
ircd::db: Optimize valid() for likely fast backward condition.
2020-10-12 18:47:24 -07:00
Jason Volk
bc00c111f1
ircd::db: Convert to jump complex due to random access penalties over rocksdb options struct.
2020-10-12 18:39:45 -07:00
Jason Volk
6b915da4ab
ircd::db: Optimize internal linkages; valid() / make_opts() on the hotpath.
2020-10-11 17:36:03 -07:00
Jason Volk
7be03dda17
ircd::db: Move conf item into namespace.
2020-10-11 17:36:03 -07:00
Jason Volk
841e7dc35b
ircd::db: Split db::database into unit.
2020-10-11 11:42:48 -07:00
Jason Volk
e5b1e31f7e
ircd::db: ifdef rate_limiter verbose debug msg.
2020-10-07 15:12:12 -07:00
Jason Volk
12771f1965
ircd::db: Clamp column arena size option.
2020-10-07 03:41:55 -07:00
Jason Volk
6d8a4ab5d6
ircd::db: Preliminary compression string-options after space in descriptor value.
2020-10-01 19:15:15 -07:00
Jason Volk
fecd009ffb
ircd: Ⓜ️ :db: Fix accounting for index compression.
...
Revert 1051e740cc
.
2020-09-30 19:40:29 -07:00
Jason Volk
ca7b7b0c61
ircd::db: Move computed properties from console into info struct.
2020-09-29 08:01:14 -07:00
Jason Volk
af2115eee5
ircd::db: Add version compatibility for table_properties::num_deletions.
2020-09-24 13:20:24 -07:00
Jason Volk
a11a5613bb
ircd::db: Reorg database options.
2020-09-24 02:58:32 -07:00
Jason Volk
245921c2b6
ircd::db: Yield context on stall condition callback to relieve some pressure.
2020-09-24 02:58:31 -07:00
Jason Volk
7201a11c7a
ircd::db: Optimize iterator comparison operators.
2020-09-21 20:50:58 -07:00
Jason Volk
2741ab785c
ircd::db: Inline trivial operator wrappers.
2020-09-21 20:50:58 -07:00
Jason Volk
8155c38f7f
ircd::db: Compression hierarchy; increase compaction readahead; table options.
2020-09-21 20:50:57 -07:00
Jason Volk
312625bc08
ircd::db: Use ZSTD compression by default.
2020-09-20 12:50:17 -07:00
Jason Volk
e2ac5c6fc7
ircd::db: Use conf item for default compression string in descriptor.
2020-09-20 12:50:17 -07:00
Jason Volk
358008e8e7
ircd::db: Improve compression options; bottommost LZ4HC.
2020-09-19 07:47:21 -07:00
Jason Volk
6edb1d4eec
ircd::db: Skip infolog under condition with mostly zero values.
2020-09-18 22:09:53 -07:00
Jason Volk
60382c2371
ircd::db: Improve universal compaction descent; flush on shutdown.
2020-09-18 18:47:15 -07:00
Jason Volk
5762513c73
ircd::db: Use warning level for certain compaction/flush reasons.
2020-09-18 18:47:15 -07:00
Jason Volk
229efaf486
ircd::db: Obtain file creation time if available in metadata.
2020-09-18 18:47:15 -07:00