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

352 commits

Author SHA1 Message Date
Jason Volk
084bef0579 ircd::db: Fix additional db::prefetcher shutdown. (related cd15c17499) 2022-07-13 22:48:14 -07:00
Jason Volk
94a6cd0d90 ircd::db: Simplify options wrappings; eliminate bitflags. 2022-07-02 12:42:09 -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
58a346f18b ircd::db: Deprecate gopts::seqnum/iter_start_seqnum per RocksDB 7.x. 2022-06-17 21:11:54 -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
e51b855f2b ircd: Various symbol surface reductions and sorting. 2022-06-17 21:11:53 -07:00
Jason Volk
d0a1d32488 ircd::db: Add SST scan interface w/ console suite. 2022-06-17 21:11:52 -07:00
Jason Volk
4499bb0f35 ircd::db: Deprecate forking sst::tool() iface; remove crashy console cmd. 2022-06-17 21:11:52 -07:00
Jason Volk
d52d6bc042 ircd::db: Add conf item to disable file deletion on open; add to -safe mode diagnostic. 2021-01-04 01:12:49 -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
e53ed1f6a8 ircd::db: Split column from column::iterator headers. 2020-12-23 01:07:45 -08:00
Jason Volk
cd2a71d3c2 construct: Remove -checkdb flag; replace w/ -diagnostic checkdb. 2020-11-05 22:10:53 -08:00
Jason Volk
e55c750f97 ircd::db: Reduce default target size base. 2020-10-28 04:35:49 -07:00
Jason Volk
87b1b764c1 ircd::db: Add convenience overload debug(rocksdb::WriteBatch) 2020-10-27 22:44:06 -07:00
Jason Volk
3884e30b4c ircd::db::txn: Add release for the rocksdb::WriteBatch to interface. 2020-10-27 22:44:05 -07:00
Jason Volk
560eb12f68 ircd::db::database::sst: Add file id integer to info struct. 2020-10-14 02:22:45 -07:00
Jason Volk
08572e750f ircd::db: Add descriptor item for write_buffer_blocks; tweak values/defaults. 2020-10-13 14:55:38 -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
1dc799dffa ircd::db::opts: Inline flag template suite; minor optimize. 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
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
2741ab785c ircd::db: Inline trivial operator wrappers. 2020-09-21 20:50:58 -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
70860ecaa2 ircd::db: Add parallel read suite to interface. 2020-09-17 10:49:41 -07:00
Jason Volk
66368d1cdc ircd::db: Add typedefs for parallel query argument templates. 2020-09-17 10:49:41 -07:00
Jason Volk
8bdedb569c ircd::db: Add preliminary custom rate limiter drop-in. 2020-09-15 04:33:28 -07:00
Jason Volk
afe0b96249 ircd::db: Support universal compaction by default; various write tweaks. 2020-09-12 07:03:21 -07:00
Jason Volk
a68702249d ircd::db: Add interface to count cache entries.
modules/console: Add count column to db cache cmd.
2020-09-08 22:27:06 -07:00
Jason Volk
a7b6001d49 ircd:Ⓜ️:db: Additional debug for txn contents. 2020-08-28 05:18:57 -07:00
Jason Volk
f16eb0b558 ircd::db: Use caller provided string buffer for debug. 2020-08-23 03:49:20 -07:00
Jason Volk
65296be413 ircd::db::database::sst: Add checksum data to info collection. 2020-08-05 22:33:33 -07:00
Jason Volk
df619e6010 ircd::db::column: Indicate noexcept for various out-of-lines. 2020-08-04 23:30:19 -07:00
Jason Volk
4b7ebb3cf0 ircd::db: Elide std::function wrapping for equal comparator (related 6c2736f592). 2020-07-28 01:24:27 -07:00
Jason Volk
2e1fc0c234 ircd::db: Inline some trivial default comparators. 2020-07-28 01:22:02 -07:00
Jason Volk
6c2736f592 ircd::db::comparator: Elide std::function wrapper for less function. 2020-07-28 00:38:46 -07:00
Jason Volk
41db97fec0 ircd::db: Make default comparators noexcept. 2020-07-28 00:38:46 -07:00
Jason Volk
554090adcc ircd::db::comparator: Use typedefs for prototype formulations. 2020-07-28 00:38:46 -07:00
Jason Volk
22f4fd5046 ircd::db: Add fwd decl and accoutrements for rocksdb::PinnableSlice. 2020-06-18 20:07:40 -07:00
Jason Volk
e2654ddaed ircd::db: Add feature define for direct-io multiget; various cleanup. 2020-06-16 07:27:50 -07:00
Jason Volk
35d4ee811b ircd::db: Add preliminary support for secondary-mode if available. 2020-06-11 03:51:49 -07:00
Jason Volk
7a53afc4c8 ircd::db: Add delta encoding indicator to SST info; add to console cmd output. 2020-06-10 22:36:28 -07:00
Jason Volk
b68b4d113a ircd::db: Add conf item to disable automatic compactions.
construct: Add -nocompact program option.
2020-06-10 22:36:27 -07:00
Jason Volk
c0c9c2c4f0 ircd::db: Add parallel has() to column interface. 2020-06-09 04:37:51 -07:00
Jason Volk
4a1f04823f ircd::db: Improve request pool initialization and size determination. 2020-06-08 17:16:07 -07:00
Jason Volk
6968f24921 ircd::db: Add compaction period parameter to descriptor. 2020-06-07 05:46:24 -07:00
Jason Volk
b8521117c1 ircd::db::row: Add valid_all() to interface. 2020-06-07 03:26:31 -07:00