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

734 commits

Author SHA1 Message Date
Jason Volk
20204d5917 ircd:Ⓜ️:fed::event_auth: Use single endpoint w/ auth_chain_ids instead of state_ids. 2020-12-10 11:47:52 -08:00
Jason Volk
42f7b05775 ircd:Ⓜ️:resource: Add log facility w/ debug; minor cleanup. 2020-12-10 08:34:22 -08:00
Jason Volk
d8115cccc9 ircd:Ⓜ️:vm::eval: Improve mfetch_keys related during eval. 2020-12-10 08:34:22 -08:00
Jason Volk
f8ad44b16a ircd:Ⓜ️:vm: Add distinct phase for unique check; reorder phase enum. 2020-12-10 08:34:22 -08:00
Jason Volk
a7edf142c7 ircd:Ⓜ️:vm::eval: Minor interface cleanup; unit reorg. 2020-12-10 08:34:22 -08:00
Jason Volk
09d7822de9 ircd:Ⓜ️:fed::well_known: Minor simplify/remove condition. 2020-12-09 23:50:49 -08:00
Jason Volk
4b1c8956a6 ircd:Ⓜ️:gossip: Implement multi-round loop; add console cmds. 2020-12-09 20:52:55 -08:00
Jason Volk
2351cc071f ircd:Ⓜ️:acquire: Move tail cleanup to dtor. 2020-12-09 20:52:55 -08:00
Jason Volk
401e7ee7e8 ircd:Ⓜ️:room::head::fetch: Refactor one() convenience interface; add abstract overload. 2020-12-09 02:16:50 -08:00
Jason Volk
38d6911f98 ircd:Ⓜ️:room::state::history: Add event_idx class member; improve 6768c23811 condition. 2020-12-08 03:33:06 -08:00
Jason Volk
2b6bb16bf4 ircd:Ⓜ️:vm::fetch: Perform pre-sort for full received auth_chain. 2020-12-07 14:18:42 -08:00
Jason Volk
97bb18d2e6 ircd:Ⓜ️:room::bootstrap: Perform pre-sort for full received auth_chain. 2020-12-07 14:18:42 -08:00
Jason Volk
1ab61a11d9 ircd:Ⓜ️:vm: Improve present state txn composition; fix conditions. 2020-12-06 17:25:21 -08:00
Jason Volk
21dc2dc4f8 ircd:Ⓜ️ Minor simplifications. 2020-12-06 15:03:32 -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
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
9cdc6f8a47 ircd:Ⓜ️:homeserver::bootstrap: Use explicit calls to bitset::set(). 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
1622ef89af ircd:Ⓜ️:gossip: Refactor interface; zero-worker implementation. 2020-12-06 10:27:27 -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
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
f5fe4c7566 ircd:Ⓜ️:vm: Minor cleanup; move branch; comments. 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
770fabcacd ircd: Add target to preprocess PGO data bundled in text form.
matrix: Add target to preprocess PGO data bundled in text form.
2020-11-28 14:35:45 -08:00
Jason Volk
716f26216d configure: Consolidate applications of -fmax-errors/-ferror-limit. 2020-11-28 12:42:32 -08:00
Jason Volk
42d4596c51 ircd:Ⓜ️:fetch: Fix cleanup condition call to start(). 2020-11-27 20:06:19 -08:00
Jason Volk
ded8f05064 ircd::tokens: Simplify interface w/ closure template; eliminate named closure.
ircd::tokens: Minor interface cleanup; inline linkages.
2020-11-27 20:06:19 -08:00
Jason Volk
0f851d1d98 ircd: Use thin mode for LTO.
matrix: Use thin mode for LTO.
2020-11-27 17:29:28 -08:00
Jason Volk
5fdc492470 ircd:Ⓜ️ Add parallel index() overload for event::prev. 2020-11-27 17:27:55 -08:00
Jason Volk
595c51e17e ircd:Ⓜ️ Pass fetch result origin as node_id to evals. 2020-11-27 16:58:20 -08:00
Jason Volk
e06b033218 ircd:Ⓜ️:fetch: Pass the respondent's origin string with result. 2020-11-21 17:19:21 -08:00
Jason Volk
2a46ce767a ircd:Ⓜ️:acquire: Toggle fetch::op based on limit. 2020-11-21 17:19:21 -08:00
Jason Volk
214af71f09 ircd:Ⓜ️:fetch: Fix overzealous condition preventing authoritative redaction. 2020-11-21 00:26:47 -08:00
Jason Volk
1b69454f85 ircd:Ⓜ️:vm::fetch: Additional information for auth fetch hint. 2020-11-20 22:14:19 -08:00
Jason Volk
28c4b38641 ircd:Ⓜ️:init::backfill: Add conf item for acquire attempt_max. 2020-11-20 20:38:07 -08:00
Jason Volk
5872604280 ircd:Ⓜ️:acquire: Pass an attempt cap from opts to m::fetch. 2020-11-20 20:38:07 -08:00
Jason Volk
e1d52b28ce ircd:Ⓜ️:acquire: Add state dispatch component; minor cleanup. 2020-11-20 20:38:07 -08:00
Jason Volk
a5da068d0d ircd:Ⓜ️:room::state: Add fetch interface similar to room::head; w/ console cmd. 2020-11-20 18:28:32 -08:00
Jason Volk
e9fb24bdd9 ircd:Ⓜ️:acquire: Add vm::opts to interface options; add per-operation eval opts. 2020-11-20 16:50:17 -08:00
Jason Volk
b897071ce3 ircd:Ⓜ️:vm: Add options over existing state fetch decisions. 2020-11-20 13:55:19 -08:00
Jason Volk
1c0a9f3020 ircd:Ⓜ️:acquire: Use class linkage; tweak option interface; add instance_list. 2020-11-19 19:06:04 -08:00
Jason Volk
7d091f8d55 ircd:Ⓜ️:init::backfill: Improve worker termination and release of context. 2020-11-19 19:06:04 -08:00
Jason Volk
a80c6f9c1c ircd:Ⓜ️:acquire: Prevent duplicate fetch during submit. 2020-11-18 21:02:49 -08:00
Jason Volk
99b9ab4167 ircd:Ⓜ️:acquire: Granular targeting options for procurement. 2020-11-18 17:19:07 -08:00
Jason Volk
2aa1d6520a ircd:Ⓜ️:user::registar: Allow full mxid argument w/ localname extraction. 2020-11-16 07:22:12 -08:00
Jason Volk
f558c05483 ircd:Ⓜ️:acquire: Improve work cycle; additional debuglog; tweak options. 2020-11-15 05:48:25 -08:00
Jason Volk
32732a847b ircd:Ⓜ️ Use canonical path constructions for all generated amalgams. 2020-11-15 02:27:33 -08:00
Jason Volk
bb7cda6fec ircd:Ⓜ️:room::events: Increase the viewport size. 2020-11-13 22:49:57 -08:00
Jason Volk
e3eb555cc4 ircd:Ⓜ️:acquire: Use backfill method; dilate to next sounding. 2020-11-13 21:07:14 -08:00
Jason Volk
04c398cc0c ircd:Ⓜ️:room::events::sounding: Improve depth-seek semantics of base iterations. 2020-11-13 00:52:31 -08:00
Jason Volk
4521054078 ircd:Ⓜ️:room::events: Remove event_idx value from result twain/hazard tool results. 2020-11-13 00:52:31 -08:00
Jason Volk
4b60068809 ircd:Ⓜ️:room::aliases: Improve aliases cache::get related. 2020-11-11 22:49:39 -08:00
Jason Volk
85bd984da7 ircd:Ⓜ️:events::missing: Reverse primary iteration; improve interface related. 2020-11-11 22:49:39 -08:00
Jason Volk
4212f46372 ircd:Ⓜ️:acquire: Refactor acquire to inline-worker model; add console cmd. 2020-11-11 22:49:39 -08:00
Jason Volk
aca6aae5fd modules/m_room_tombstone: Invalidate alias cache entries for effect. 2020-11-11 22:49:39 -08:00
Jason Volk
86555fbee6 modules/federation: Deduplicate and integrate /state/ and /state_ids/ in same unit. 2020-11-11 22:49:39 -08:00
Jason Volk
6f8beb26c8 ircd:Ⓜ️:dbs: Additional cleanup w/ integrated type checking. 2020-11-11 22:49:39 -08:00
Jason Volk
9b4dd43cf2 ircd:Ⓜ️:dbs: Cleanup event_refs indexer/prefetcher API usage/syntax. 2020-11-11 22:49:39 -08:00
Jason Volk
a4da3a2b83 ircd:Ⓜ️:dbs: Add runlevel QUIT handler for bgcancel(events). 2020-11-11 13:11:57 -08:00
Jason Volk
e44fcf62bf ircd:Ⓜ️:fetch: Fix missing condition for initial random target selection. 2020-11-08 06:39:24 -08:00
Jason Volk
bcf8f0531f ircd:Ⓜ️:request: Reclaim small tls buffer. 2020-11-08 02:25:31 -08:00
Jason Volk
b59e5cd166 ircd:Ⓜ️:fetch: Simplify adherence to attempt limit option. 2020-11-08 02:25:31 -08:00
Jason Volk
0f84f959a7 ircd:Ⓜ️:fetch: Fix erroneous direct assignment to request.origin. 2020-11-06 22:06:16 -08:00
Jason Volk
ef6f98eeec ircd:Ⓜ️:fetch: Fix erroneous return before starting (30d4a89db9). 2020-11-06 22:06:16 -08:00
Jason Volk
e2f495c4a8 ircd:Ⓜ️:room::head::fetch: Add opts for result limitations. 2020-11-05 22:10:54 -08:00
Jason Volk
6fe770b4bf ircd:Ⓜ️:room::head: Add fetch interface. 2020-11-05 22:10:54 -08:00
Jason Volk
6b1305df8a modules/federation: Replace backfill_ids endpoint with pdu_ids query parameter. 2020-11-05 22:10:53 -08:00
Jason Volk
f3886d60d8 ircd: Replace callsites w/ template deduced mutable_cast. 2020-11-05 22:10:53 -08:00
Jason Volk
a6d47ccfcd ircd:Ⓜ️ Simplify various future timed wait()/get() related. 2020-11-05 22:10:53 -08:00
Jason Volk
8a078b78fd ircd:Ⓜ️:room: Optimize internal(room) query pattern. 2020-11-05 22:10:53 -08:00
Jason Volk
c56b4a4ee9 ircd:Ⓜ️:dbs: Add conf item toggling indexer prefetching. 2020-11-05 22:10:53 -08:00
Jason Volk
c17c96d965 ircd:Ⓜ️:homeserver::bootstrap: Improve error reporting w/ file byte offset. 2020-11-05 22:10:53 -08:00
Jason Volk
038bb33576 ircd:Ⓜ️:homeserver::bootstrap: Fix redundant message prepend during error propagation. 2020-11-05 22:10:53 -08:00
Jason Volk
d3b33ec811 ircd:Ⓜ️:dbs: Add prefetch handlers; mechanism and related options. 2020-10-31 12:05:51 -07:00
Jason Volk
ae2d112612 ircd:Ⓜ️:prefetch: Prefetch index; prevent blocking on translation. 2020-10-31 12:05:51 -07:00
Jason Volk
30d4a89db9 ircd:Ⓜ️:fetch: Additional legacy event_id hostpart fallback. 2020-10-29 07:49:04 -07:00
Jason Volk
1244002de3 ircd:Ⓜ️:fetch: Test viability of supplied remote hint before selecting. 2020-10-29 04:49:51 -07:00