0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-16 13:38:52 +02:00
Commit graph

535 commits

Author SHA1 Message Date
Jason Volk
444fb3ad23 ircd:Ⓜ️:fed::well_known: Split fetch into async request/resolve. 2020-10-05 19:39:57 -07:00
Jason Volk
c57844df2d ircd:Ⓜ️:vm::fetch: Propagate remote hint to event fetch opts for state fetch. 2020-10-03 04:49:53 -07:00
Jason Volk
0e13620604 ircd:Ⓜ️:vm: Propagate authority for hash mismatch for state eval. 2020-10-03 04:27:52 -07:00
Jason Volk
b96a98abe9 ircd:Ⓜ️:vm: Propagate authority for hash mismatch for auth_chain eval. 2020-10-03 04:27:52 -07:00
Jason Volk
e362a509d8 ircd:Ⓜ️:fetch: Add result check opts to request interface opts; feature authoritative_redactions. 2020-10-03 04:27:52 -07:00
Jason Volk
6179c511d4 ircd:Ⓜ️:request: Fix complex thread-local initialization. (#109) 2020-10-03 03:09:20 -07:00
Jason Volk
f8530e62d8 ircd:Ⓜ️:fed: Remove trailing solidus on request for dendrite. 2020-10-03 02:31:20 -07:00
Jason Volk
f03db0115f ircd:Ⓜ️:fed: Fix content/uri buffer reuse. 2020-10-03 02:31:20 -07:00
Jason Volk
bfaf21807b ircd:Ⓜ️:request: Minor simplify. 2020-10-03 02:31:20 -07:00
Jason Volk
bdf3e0a126 ircd:Ⓜ️:fed: Prevent appending empty id parameters; minor cleanup. 2020-10-03 02:31:20 -07:00
Jason Volk
731dd7c1c0 ircd:Ⓜ️:fed: Fix view pointer to temp rvalue. 2020-10-03 02:31:20 -07:00
Jason Volk
eb2facbfd2 ircd:Ⓜ️:dbs: Add compression conf items for all columns. 2020-10-01 19:15:15 -07:00
Jason Volk
c2e5ede3ec ircd:Ⓜ️:homeserver: Workaround for json::member template nested brace initializer issue. 2020-10-01 18:04:43 -07:00
Jason Volk
684839235e ircd:Ⓜ️:fed: Remove trailing solidus on send request. 2020-10-01 15:51:59 -07:00
Jason Volk
25a518e642 ircd:Ⓜ️:vm: Set need_top_head=true on internal rooms for now. 2020-10-01 03:49:41 -07:00
Jason Volk
fecd009ffb ircd:Ⓜ️:db: Fix accounting for index compression.
Revert 1051e740cc.
2020-09-30 19:40:29 -07:00
Jason Volk
12f28c8f9f ircd:Ⓜ️:dbs: Relax assertion. 2020-09-30 16:35:34 -07:00
Jason Volk
7034fadd64 ircd:Ⓜ️:vm: Clear existing eval txn on entry side instead of unwind. 2020-09-29 10:23:38 -07:00
Jason Volk
fb823e3d40 ircd:Ⓜ️:dbs: Revert 563f833ab3; relax assertion. 2020-09-29 10:23:38 -07:00
Jason Volk
1051e740cc ircd:Ⓜ️:dbs: Remove compression on _event_idx. 2020-09-29 08:01:14 -07:00
Jason Volk
1bb6c2dcd0 ircd:Ⓜ️:events: Open dump file w/ exclusive option; prevent overwrite. 2020-09-28 22:33:46 -07:00
Jason Volk
1b390bdd17 ircd:Ⓜ️:event: Eliminate several small thread-local buffers; simplify. 2020-09-28 22:33:46 -07:00
Jason Volk
bd641e76ad ircd:Ⓜ️:event: Compare decoded hash to allow both rfc4648 and rfc1421 compat. 2020-09-28 05:56:03 -07:00
Jason Volk
4b590ecc41 ircd:Ⓜ️:events: Add rates to events dump infolog. 2020-09-27 18:12:51 -07:00
Jason Volk
bae534d56b ircd:Ⓜ️:homeserver: Bail from ctor if the database remains empty after bootstrap. 2020-09-27 15:44:53 -07:00
Jason Volk
2b86a4cbb8 ircd:Ⓜ️:homeserver: Add "valid-json" diagnostic mode to vector bootstrap. 2020-09-27 15:44:53 -07:00
Jason Volk
a73b538349 ircd:Ⓜ️:room: Add contains() tool. 2020-09-27 14:57:07 -07:00
Jason Volk
563f833ab3 ircd:Ⓜ️:dbs: Fix causality violation; prevent queries to the future. 2020-09-24 07:04:05 -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
860f76bbae ircd:Ⓜ️:dbs: Shorten description. 2020-09-20 14:24:47 -07:00
Jason Volk
7b238fe15d ircd:Ⓜ️:homeserver: Make use of batch size constant for event vector size.
ircd:Ⓜ️:homeserver: Comments; minor cleanup.
2020-09-20 14:24:47 -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
1901da6fde ircd:Ⓜ️:events: Use better low watermark to not invalidate checkpoint. 2020-09-18 22:18:27 -07:00
Jason Volk
bb386c5ab4 ircd:Ⓜ️:event: Fix integer value recast (assertion from 8ab735d002). 2020-09-18 19:09:19 -07:00
Jason Volk
08811519cf ircd:Ⓜ️:vm: Move internal room determination before room version procurement. 2020-09-17 10:49:41 -07:00
Jason Volk
677f2f6504 ircd:Ⓜ️:room::auth::chain: Parallelize query. 2020-09-17 10:49:41 -07:00
Jason Volk
347cdba1c6 ircd:Ⓜ️:room::auth: Parallelize index query. 2020-09-17 10:49:41 -07:00
Jason Volk
076384d697 ircd:Ⓜ️:dbs: Add prefetch loop for horizon resolver. 2020-09-17 10:49:41 -07:00
Jason Volk
0335bfa948 ircd:Ⓜ️:dbs: Parallelize auth reference indexer queries. 2020-09-17 10:49:41 -07:00
Jason Volk
c83ec8324b ircd:Ⓜ️:dbs: Parallelize the prev_events reference index queries. 2020-09-17 10:49:41 -07:00
Jason Volk
9165975953 ircd:Ⓜ️:dbs: Supersede index query tool with parallel impl. 2020-09-17 10:49:41 -07:00
Jason Volk
099b6d8301 ircd:Ⓜ️ Add parallel event::idx query to interface. 2020-09-17 10:49:41 -07:00
Jason Volk
8ab735d002 ircd:Ⓜ️:index: Optimize call chain; branch reduction; indirect call elimination. 2020-09-17 10:49:41 -07:00
Jason Volk
0675a621f1 ircd:Ⓜ️:homeserver: Add specific option to toggle initial backfill jobs after startup. 2020-09-16 23:00:58 -07:00
Jason Volk
cdadc3dfe8 ircd:Ⓜ️:homeserver: Skip head updates during bootstrap. 2020-09-16 04:41:32 -07:00
Jason Volk
d4677e2a29 ircd:Ⓜ️:roomstrap: Remove redundant parallel key fetching subroutine. 2020-09-16 04:31:37 -07:00
Jason Volk
03b6261dd8 ircd:Ⓜ️:vm::eval: Cleanup parallel key pre-fetcher. 2020-09-16 04:31:37 -07:00
Jason Volk
335a045d41 ircd:Ⓜ️:homeserver: Add manual memtable flush after bootstrap. 2020-09-16 01:03:42 -07:00
Jason Volk
8abab587ac ircd:Ⓜ️ Move modules/vm_fetch to central lib. 2020-09-15 22:16:11 -07:00
Jason Volk
4ecb2d0d5f ircd: Add distinct maintenance mode; chain write-avoid/read-only and net listen modes. 2020-09-15 22:16:11 -07:00