0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00
Commit graph

697 commits

Author SHA1 Message Date
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
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