0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 09:38:37 +02:00
Commit graph

13598 commits

Author SHA1 Message Date
Jason Volk dceac7f9fc modules/client/sync: Fix longpoll causality violation; possible skipped or duplicated event. 2020-12-06 12:14:02 -08:00
Jason Volk 6768c23811 ircd:Ⓜ️:room::state::history: Make the upper depth bound inclusive. 2020-12-06 12:14:02 -08:00
Jason Volk 3b0f2b7ad5 ircd:Ⓜ️:room::state: Hoist event::fetch instance for faster seek in rebuilder. 2020-12-06 12:14:02 -08:00
Jason Volk 3b351b30f0 ircd:Ⓜ️:room::state: Improve log/diagnostic on rebuild. 2020-12-06 12:14:02 -08:00
Jason Volk 9a17cb08f8 ircd:Ⓜ️:vm: Move txn creation branches into function. 2020-12-06 10:36:47 -08:00
Jason Volk 29b041e3a2 ircd::prof: Split prof::psi from prof_linux unit. 2020-12-06 10:36:47 -08:00
Jason Volk 6ceb8c193b ircd: Fix/improve comments. [ci skip] 2020-12-06 10:36:47 -08:00
Jason Volk 6f8d2c7578 ircd::fs::prof::psi: Eliminate non-trivial thread_local. 2020-12-06 10:36:47 -08:00
Jason Volk 9ba0a58769 ircd::rand: Add xoshiro256+ xorshift/rol algorithm. 2020-12-06 10:36:47 -08:00
Jason Volk d1d34e58a6 modules/client/sync: Use better condition for room data available. 2020-12-06 10:27:27 -08:00
Jason Volk bf5b03adc4 ircd:Ⓜ️:vm: Add earlier PREINDEX phase with prefetches for txn. 2020-12-06 10:27:27 -08:00
Jason Volk 54a591e45c ircd:Ⓜ️:dbs: Improve prefetch handlers; remove opts; split interface. 2020-12-06 10:27:27 -08:00
Jason Volk 24d7a9220a ircd:Ⓜ️:vm: Show write call result to debug log msg. 2020-12-06 10:27:27 -08:00
Jason Volk 7751f9d0fa ircd::db: Optimize db::cached() query. 2020-12-06 10:27:27 -08:00
Jason Volk 9cdc6f8a47 ircd:Ⓜ️:homeserver::bootstrap: Use explicit calls to bitset::set(). 2020-12-06 10:27:27 -08:00
Jason Volk afe314a408 ircd::net::dns::resolver: Prevent retry of ServFail to the same server. 2020-12-06 10:27:27 -08:00
Jason Volk 9e085c49c5 ircd: Move lfence to __assert_fail(); simplify macro. 2020-12-06 10:27:27 -08:00
Jason Volk 84b5bf536c ircd:Ⓜ️:vm::fetch: Replace redundant state fetch/eval w/ m::acquire. 2020-12-06 10:27:27 -08:00
Jason Volk 7eaad92e3c ircd:Ⓜ️:acquire: Improve hint selection complex for state fetch. 2020-12-06 10:27:27 -08:00
Jason Volk bba89fd3e5 ircd::log: Fix level::CRITICAL breakthroughs to stdio; minor cleanup. 2020-12-06 10:27:27 -08:00
Jason Volk 1622ef89af ircd:Ⓜ️:gossip: Refactor interface; zero-worker implementation. 2020-12-06 10:27:27 -08:00
Jason Volk d85a4bec99 ircd::spirit: Relax character assertion. 2020-12-06 10:27:27 -08:00
Jason Volk df9637d3ce modules/client/sync/rooms/timeline: Initialize the prev batch idx to head idx. 2020-12-03 12:51:30 -08:00
Jason Volk 058f20fe30 ircd:Ⓜ️:sync: Add missing stats for the linear handler base. 2020-12-03 06:01:38 -08:00
Jason Volk a013c44f9e ircd:Ⓜ️:sync: Eliminate small tls buffers. 2020-12-03 06:01:38 -08:00
Jason Volk 779fc767d9 ircd:Ⓜ️🆔 Deinline ctor; construct string_view tight to valid mxid. 2020-12-03 01:37:33 -08:00
Jason Volk a3a5bfbf30 ircd:Ⓜ️:vm: Fix placement of DUPCHK; adhere to opts.unique; remove redundant re-check. 2020-12-02 20:47:37 -08:00
Jason Volk c93dd98b05 ircd:Ⓜ️:vm: Simplify redaction authority options; fix conditions. 2020-12-01 06:14:35 -08:00
Jason Volk 9344f3bc35 ircd:Ⓜ️:vm::fetch: Improve various hint selections. 2020-12-01 05:52:07 -08:00
Jason Volk 25bee046b3 ircd:Ⓜ️:vm: Add opts to conditions for edu branch. 2020-12-01 05:52:07 -08:00
Jason Volk d2427fe4da ircd:Ⓜ️:room: Use string_view literal for better template inst. 2020-12-01 02:59:46 -08:00
Jason Volk 5b8092e407 ircd:Ⓜ️:vm: Add branch to grab room version from input. 2020-12-01 02:59:46 -08:00
Jason Volk 362096b34a ircd:Ⓜ️:room: Implement proper throwing overload for m::version(). 2020-12-01 02:59:46 -08:00
Jason Volk 3db3770302 ircd:Ⓜ️:vm: Only call mass fetcher for multiple evals. 2020-12-01 02:11:56 -08:00
Jason Volk 7fe0e9106f ircd:Ⓜ️:vm: Consolidate codepath; eval member counters; fix console related. 2020-12-01 02:11:56 -08:00
Jason Volk 4a715c8f0a ircd:Ⓜ️ Fix missing interrupt propagation in some worker base frames. 2020-12-01 00:00:54 -08:00
Jason Volk ff9375a408 ircd: Allow several debug msgs in release build; tweak facilities. 2020-12-01 00:00:54 -08:00
Jason Volk 3a13526dc5 construct::signals: Remove runlevel::QUIT from cases to deregister. 2020-12-01 00:00:54 -08:00
Jason Volk 0c88c84bb8 ircd:Ⓜ️:vm: Reconstruct event tuple from any canonized source. 2020-11-30 08:05:13 -08:00
Jason Volk f80a31620c ircd:Ⓜ️:room::head: Fix erroneous empty string result. 2020-11-30 00:48:54 -08:00
Jason Volk d49227c848 ircd:Ⓜ️:vm: Add redacted canonization cases prior to eval. 2020-11-29 23:55:09 -08:00
Jason Volk be7bab0c16 modules/m_relation: Fix fetch handler event_id query error. 2020-11-29 23:16:56 -08:00
Jason Volk f5fe4c7566 ircd:Ⓜ️:vm: Minor cleanup; move branch; comments. 2020-11-29 19:49:15 -08:00
Jason Volk cf065aedbe ircd::spirit: Use better alignment for function object allocation. 2020-11-29 19:49:15 -08:00
Jason Volk 966a0e7bdb ircd:Ⓜ️🆔 Add ctor w/o type erasure to string_view. 2020-11-29 19:49:15 -08:00
Jason Volk a9f6782309 ircd:Ⓜ️:vm: Improve event_id preposition prior to eval. 2020-11-29 19:49:15 -08:00
Jason Volk 02dc164d66 ircd:Ⓜ️:vm: Add canonization point prior to core eval. 2020-11-29 19:49:15 -08:00
Jason Volk d4cab12056 ircd:Ⓜ️:dbs: Add branch to canonize content for select column types. 2020-11-29 19:49:15 -08:00
Jason Volk 9ea6fe65c3 ircd:Ⓜ️:event: Consolidate various thread-local buffers. 2020-11-29 19:49:15 -08:00
Jason Volk 9fa174fe89 ircd::server: Improve logging of actual target host names in handlers. 2020-11-29 14:07:55 -08:00