Commit Graph

612 Commits

Author SHA1 Message Date
Jeffrey Dallatezza 6727e05040 Remove some Identity conversions that could panic (#1966) 2025-02-11 06:19:07 +00:00
Noa cf6822541f Remove janky schema from http API (#2181) 2025-02-11 00:56:07 +00:00
Jeffrey Dallatezza c2d40f86fb Add metrics for index inserts and deletes (#2236) 2025-02-10 21:34:02 +00:00
Phoebe Goldman aedc601145 Rename Address to ConnectionId (#2220)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: James Gilles <jameshgilles@gmail.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-02-10 00:40:16 +00:00
joshua-spacetime f0361525bd Error handling for incremental evaluation (#2223) 2025-02-07 23:31:27 +00:00
Phoebe Goldman 91327d585e Make Timestamp a special SATS type (#1836)
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: James Gilles <jameshgilles@gmail.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-02-07 18:17:53 +00:00
Jeffrey Dallatezza e10273f16d Add metrics for fuel usage and reducer runtime totals. (#2217) 2025-02-07 16:51:24 +00:00
Mazdak Farrokhzad b50b6841f1 Add direct indices to datastore (#2221) 2025-02-07 01:06:38 +00:00
joshua-spacetime 75ab91d36d Handle optimization and execution errors on initial subscription (#2213) 2025-02-06 19:14:44 +00:00
Jeffrey Dallatezza e171a01cd8 Register data size metrics for standalone. (#2216) 2025-02-06 18:41:16 +00:00
Mazdak Farrokhzad 1a3f3af255 add direct indices, except for in datastore & C# (#2205) 2025-02-06 00:40:46 +00:00
Mazdak Farrokhzad 25d74091c3 Make MutTxId::update really idempotent wrt. TxData (#2212) 2025-02-05 20:40:02 +00:00
joshua-spacetime e4e36ec478 Return errors for invariant violations during query planning (#2209) 2025-02-04 21:58:14 +00:00
Mazdak Farrokhzad 2fc0361d68 Match datastore semantics more closely: btree_scan => index_scan_range (#2203) 2025-02-04 00:34:33 +00:00
Phoebe Goldman ad49494e85 prop_assume!(a != b) in some tests to fix spurious failures (#2199) 2025-02-03 15:33:03 +00:00
Phoebe Goldman d839657008 Data size SKU for billing (#2098) 2025-02-03 14:15:30 +00:00
Mazdak Farrokhzad 7937784a8d InstanceEnv: make the inspect_err closures cold (#2197) 2025-01-31 18:40:14 +00:00
joshua-spacetime 6aa75bd0eb Track compute metrics for sql dml with new engine (#2190) 2025-01-31 17:59:33 +00:00
Mazdak Farrokhzad 6f20597600 Make check_and_insert & find_old_row and friends do less checks (#2192) 2025-01-31 15:00:19 +00:00
Noa 986354e2f2 Log errmsg if reducer fails (#2186) 2025-01-29 23:39:53 +00:00
joshua-spacetime 4b4484a3aa Track query and datastore cpu usage metrics (#2140) 2025-01-29 21:30:41 +00:00
Noa 696fa45847 Meter wasm memory usage (#2187) 2025-01-29 18:03:47 +00:00
Mazdak Farrokhzad 6630a90ee1 Switch DeleteTable impl to one based on FixedBitSet (#2183) 2025-01-29 17:15:17 +00:00
Noa 293aebaef9 Bump to Rust 1.84 (#2001) 2025-01-28 23:11:29 +00:00
Mazdak Farrokhzad 5b5a0a6515 Cache whether a Table is a scheduler table, avoiding fetching the schema (#2141) 2025-01-28 19:57:15 +00:00
Mazdak Farrokhzad afdc0d67dd Add the update ABI (#2137)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-01-27 19:38:18 +00:00
Jeffrey Dallatezza 729dbb1495 Remove the client from subscription manager on a disconnect (#2170) 2025-01-24 22:04:15 +00:00
Phoebe Goldman d171b44a89 Don't create indexes during bootstrapping; wait until after replay (#2161) 2025-01-23 19:41:39 +00:00
Jeffrey Dallatezza b85c3b5ab6 Fix sending of subscription errors. (#2166) 2025-01-23 19:33:27 +00:00
Kim Altintop 73fe4ef2f7 Set tracing static level for binaries only (#2144) 2025-01-22 20:13:52 +00:00
Mazdak Farrokhzad a1573af5a1 Fix unique index + MutTxId::insert not un-deleteting (#2156) 2025-01-22 09:51:34 +00:00
Noa 7c6af12b84 Use actual types for api responses, not ad-hoc json!() objects (#1931) 2025-01-21 03:13:22 +00:00
Kim Altintop 43d870d24c core: Make SNAPSHOT_FREQUENCY pub (#2135) 2025-01-20 07:27:36 +00:00
Noa cf6ac18eaf Lookup lifecycle reducers by lifecycle flag, not by name (#2132) 2025-01-17 23:21:52 +00:00
Mazdak Farrokhzad 6f428f3afb Make the key of Table.indexes be IndexId (#2124) 2025-01-17 18:42:54 +00:00
Noa c24042609e Split binaries (#2011) 2025-01-15 18:45:14 +00:00
Mazdak Farrokhzad a4dc762927 Fix wording in ReplayVisitor::visit_insert (#2123) 2025-01-14 14:56:18 +00:00
Mazdak Farrokhzad 5ad2a2efe8 add signature of datastore_update_bsatn host call (#2102) 2025-01-13 16:41:39 +00:00
joshua-spacetime 3798f468a6 query engine integration (#2074) 2025-01-11 00:01:24 +00:00
Mazdak Farrokhzad f667f65b15 perf(2019): skip PointerMap given a unique index (#2092) 2025-01-09 18:10:20 +00:00
Mazdak Farrokhzad cbfff34dc2 Extract InstanceEnv::project_cols_bsatn (#2096) 2025-01-08 03:43:39 +00:00
Mazdak Farrokhzad 538e7b11c8 Extract MutTxId::tx_state_removed_index(&self, index_id) -> bool (#2095) 2025-01-08 03:29:17 +00:00
Mazdak Farrokhzad d4f03b74b9 datastore: insert via BSATN instead of via PV (#2069) 2025-01-07 21:36:02 +00:00
Mario Montoya df58e84eba Preserve the comments of the "cli.toml" on changes (#2002)
Signed-off-by: Mario Montoya <mamcx@elmalabarista.com>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-01-03 20:52:15 +00:00
Phoebe Goldman a4b46c5ddb Implement the identity host call and ctx.identity() in Rust (#2085) 2025-01-03 19:09:34 +00:00
Jeffrey Dallatezza e9e287b8aa Server-side implementation of incremental subscription changes (#2030) 2025-01-02 18:41:57 +00:00
Mario Montoya 20d397cf2b Split Iter & IterByColRange types into Tx and MutTxId versions (#2043) 2024-12-31 16:14:30 +00:00
joshua-spacetime 921170816c query rewriter (#2031) 2024-12-12 22:08:43 +00:00
Mazdak Farrokhzad e103971e29 Avoid a multimap when the index is unique (#2044) 2024-12-09 22:53:04 +00:00
Mazdak Farrokhzad d8154e7e8b Allocation pool the chunked iters in InstanceEnv (#2038) 2024-12-09 18:42:51 +00:00