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

48 commits

Author SHA1 Message Date
Jason Volk
02c862e4bc ircd::db: Add define for versions w/ buggy MultiRead. 2023-03-24 22:47:01 -07:00
Jason Volk
3c1d633efd ircd::db::env: Terminate on unimplemented spawn callback. 2023-03-02 00:39:35 -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
fc0b6bbecb ircd::fs: Assertions for file read length sanity. 2023-01-29 15:34:33 -08:00
Jason Volk
c2ee855346 ircd::db::database::env: Replace RB_DEBUG_DB_ENV w/ if constexpr. 2023-01-19 19:58:22 -08:00
Jason Volk
dcf60ae248 ircd::db::env: Use opts.all for sequential file read. 2022-09-10 11:40:33 -07:00
Jason Volk
a0071c7956 ircd::db::database::env: Replace panic throws into noexcepts. 2022-06-28 12:37:13 -07:00
Jason Volk
4bf297e5e7 Revert "ircd::db::database::env: Reduce file size system calls with cache pattern."
This reverts commit 671120415f.
2022-06-23 14:23:51 -07:00
Jason Volk
65d27f327e ircd::db::database::env: Fix missing at-end semantics for ReopenWritableFile(). 2022-06-23 09:38:46 -07:00
Jason Volk
b815ac8bec ircd::fs: Eliminate user-defined ctors on various opts for designated inits. 2022-06-19 20:27:13 -07:00
Jason Volk
671120415f ircd::db::database::env: Reduce file size system calls with cache pattern. 2022-06-17 21:11:54 -07:00
Jason Volk
471de2e6b6 ircd::db::env: Restart writes after interrupt across whole env. 2020-11-11 13:11:57 -08:00
Jason Volk
975c54a1a3 ircd::db::env: Remove irrelevant information in debuglog. 2020-10-27 22:44:06 -07:00
Jason Volk
9e7991900c ircd::db::database::env: Fix size assumption for this->buffer. 2020-09-15 04:33:28 -07:00
Jason Volk
0a7b8f03c9 irdb::db::database::env: Fix deprecated unbounded buffer offset constructions. 2020-09-15 04:33:28 -07:00
Jason Volk
075ef11386 ircd::db::database::env: Add errorlog and assertion on MultiRead() result. 2020-06-14 22:24:00 -07:00
Jason Volk
d9827f3daa ircd::db::database::env: Branch for exception first in result loop. 2020-06-14 03:04:59 -07:00
Jason Volk
5b22beaae7 ircd::db: Add define for rocksdb timestamp feature versions.
ircd::db: Add warning when feature not available.
2020-06-10 22:36:28 -07:00
Jason Volk
90bd13a0fe ircd::db::database::env: Use advise fd open option; remove direct call. 2020-05-09 18:48:21 -07:00
Jason Volk
e7ff7e0568 ircd::db::env: Implement rocksdb MultiRead() environment backend. 2020-05-07 00:28:27 -07:00
Jason Volk
391e4adc58 ircd::db::database::env::sequential_file: Eliminate throw into noexcept. 2020-02-26 14:17:43 -08:00
Jason Volk
d934934605 ircd::db::database::env: Tweak use of nodelay option; make consistent. 2020-02-19 13:26:47 -08:00
Jason Volk
559a0dd7ac ircd::db::env: Add propagation of nice values for all file types. 2020-01-06 12:19:39 -08:00
Jason Volk
3cb48a0f00 ircd::db::env: Use inline initializer. 2020-01-06 12:19:39 -08:00
Jason Volk
214d955979 ircd::db::env: Add conversion for ioprio value; rename to ionice. 2020-01-06 12:19:39 -08:00
Jason Volk
78d300b3b7 ircd::ctx: Add nice/ionice values to context. 2020-01-06 12:19:38 -08:00
Jason Volk
961ea26d1b ircd::db::env: Hot section time callbacks. 2019-10-09 23:00:24 -07:00
Jason Volk
e5f72b7855 ircd::db::database::env: Fix linkage of fs::evict() options argument related. 2019-10-05 18:02:15 -07:00
Jason Volk
4acb76f621 ircd::db::env: Turn on some debuglog msgs unconditionally. 2019-07-30 19:19:01 -07:00
Jason Volk
7dcd3fdcd8 ircd: Improve log format consistency. 2019-07-23 17:31:16 -07:00
Jason Volk
e9c42b7c63 ircd::db::env: Add debuglog msg for job queued.
ircd::db::env: Create a dedicated logger.

ircd::db::env: Improve debuglog msgs.
2019-07-23 17:10:10 -07:00
Jason Volk
4dc114bf94 ircd::db::env: Remove the background task delay dock here. 2019-07-23 16:42:12 -07:00
Jason Volk
62f861c54a ircd::db::database::env: Add missing fdno in log output.
ircd::db: Add missing validator in debug.
2019-07-21 16:41:05 -07:00
Jason Volk
2f2bc867fb ircd: Improve various context names for consistency. 2019-07-20 18:42:15 -07:00
Jason Volk
fd504be82c ircd: De-inline the now()/time() samplers; minor cleanup. 2019-07-19 16:13:11 -07:00
Jason Volk
d4438bbb22 ircd::db::env: Use our own impl of NowMicros(). 2019-07-17 19:12:13 -07:00
Jason Volk
ad1940d614 ircd::db::env: Add NowNanos() override. 2019-07-17 19:11:43 -07:00
Jason Volk
9e9afc3aa7 ircd::db: Quench exceptions on setting write life hint. 2019-05-08 19:10:50 -07:00
Jason Volk
82200a9abd ircd::fs: Add write_life hint fcntl front. 2019-05-03 19:53:05 -07:00
Jason Volk
fbb88b87c1 ircd::db: Advise sequential access for sequential file type. 2019-05-03 06:08:15 -07:00
Jason Volk
c2984e9473 ircd::db: Replace fadvises with fs::evict() wrapping. 2019-05-03 05:53:31 -07:00
Jason Volk
dae1a9be4a ircd::db::env: Assert rocksdb does not call prefetch with direct-io. 2019-04-20 19:29:07 -07:00
Jason Volk
b73bb789b2 ircd::db: Fix runlevel condition for background task invocation. 2019-03-27 13:04:12 -07:00
Jason Volk
175421f745 ircd::db::env: Default alignments to 1 rather than 0. 2019-03-04 11:36:54 -08:00
Jason Volk
47bcfaecb4 ircd: Upgrade various templates with argument deduction. 2019-03-02 14:20:52 -08:00
Jason Volk
551168c643 ircd: Various quietudes. 2019-02-16 15:25:36 -08:00
Jason Volk
5c19cfa3de ircd::db: Truncate comments. 2019-02-08 09:18:39 -08:00
Jason Volk
2fd50fc9af ircd::db: Split db.cc into db_env.cc and db_port.cc. 2019-01-23 14:08:02 -08:00