Commit Graph

492 Commits

Author SHA1 Message Date
Mazdak Farrokhzad df5ef6c81d WASM ABI: implement console ABIs (#1664) 2024-09-05 20:19:21 +00:00
Mazdak Farrokhzad da71d0f9b1 WASM ABI: insert -> datastore_insert_bsatn & impl new semantics (#1639) 2024-09-05 19:32:26 +00:00
Mazdak Farrokhzad b62569462d WASM ABI: delete_by_rel -> datastore_delete_all_by_eq_bsatn (#1638) 2024-09-02 17:43:40 +00:00
Mazdak Farrokhzad 49f366ff6b WASM ABI: iter_start -> datastore_table_scan_bsatn (#1637) 2024-09-02 15:24:16 +00:00
james gilles 2be42156b2 Allow converting new ModuleDef to old TableSchema (#1630) 2024-08-29 18:17:29 +00:00
Kim Altintop bba3572752 [WASM ABI 1.0] Fix bytes_source_read (#1646) 2024-08-28 17:37:29 +00:00
Mazdak Farrokhzad c26c65873b WASM ABI: add datastore_table_row_count (#1636) 2024-08-27 23:02:18 +00:00
Mazdak Farrokhzad 2b69583f76 WASM ABI: get_table_id -> table_id_from_name (#1634) 2024-08-27 22:33:47 +00:00
Mazdak Farrokhzad 1dd1e633f3 WASM ABI: implement row_iter_bsatn_advance & row_iter_bsatn_close (#1622) 2024-08-27 22:01:06 +00:00
Mazdak Farrokhzad 4c086fef96 [WASM ABI 1.0] impl __call_reducer__ & __describe_module__ using bytes_sink_write (#1615) 2024-08-27 15:48:40 +00:00
Noa c577d509c6 Add volatile_nonatomic_schedule_immediate (#1612) 2024-08-23 18:38:07 +00:00
Shubham Mishra 9380eb6745 Dedup schedueler queue (#1587) 2024-08-22 17:51:31 +00:00
james gilles 747eb71830 Make ScheduleAt special + Typespace::is_valid_for_client_code_generation (#1590) 2024-08-22 17:05:04 +00:00
joshua-spacetime 8282b674b5 fix: Always remember to release a read only tx (#1613) 2024-08-20 21:31:05 +00:00
Mazdak Farrokhzad 9ea5a2f243 [WASM ABI 1.0] impl __call_reducer__ using bytes_source_read (#1609) 2024-08-20 09:33:29 +00:00
Mazdak Farrokhzad 3be5c83d99 [WASM ABI 1.0] __call_reducer__ receives Identity & Address by value (#1607)
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
Co-authored-by: Noa <coolreader18@gmail.com>
2024-08-19 22:20:57 +00:00
Mazdak Farrokhzad 1ca9b1a933 [WASM ABI 1.0] Change ColId from u32 to u16 (#1597) 2024-08-19 17:56:28 +00:00
Mazdak Farrokhzad 6a08674ccb Allow empty ColList (#1588) 2024-08-15 16:08:51 +00:00
Kim Altintop ba4546c5a2 core: Use Program instead of (Hash, Box<[u8]>) (#1558)
Signed-off-by: Kim Altintop <kim@eagain.io>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2024-08-09 01:28:37 +00:00
Mazdak Farrokhzad 1e8e18d74b Add support for I256 and U256 (#1477) 2024-08-08 18:40:35 +00:00
Kim Altintop 711a6717c6 client-api: Remove publisher address (#1564) 2024-08-05 06:02:07 +00:00
Kim Altintop 4ffeff792b Remove support for the update reducer (#1557) 2024-07-31 06:26:06 +00:00
Kim Altintop 21058e006c core: Start system table ids at 1 (#1544) 2024-07-30 09:00:17 +00:00
Kim Altintop 216ed04eba core: Singular system table names (#1550) 2024-07-26 16:44:48 +00:00
Shubham Mishra 769992c4c4 broadcast schedule table deletion (#1547) 2024-07-26 09:39:55 +00:00
james gilles afddf01dd5 ABI BREAK: Add versioning for RawModuleDef (#1518) 2024-07-25 17:24:47 +00:00
james gilles 45b2ceee9a Move schemas to schema crate, rename Def to RawDefV8 (#1498) 2024-07-24 17:38:30 +00:00
Phoebe Goldman 1d26575d87 ST sequences: respect allocated amount on restart (#1532)
Co-authored-by: Kim Altintop <kim@eagain.io>
2024-07-24 14:43:07 +00:00
Shubham Mishra 7e421bb450 Drain scheduler Actor channel before start (#1529) 2024-07-18 20:00:10 +00:00
Phoebe Goldman ee7b0960c3 Ignore some sequence allocation mismatches when checking for compatible updates (#1524) 2024-07-18 16:24:01 +00:00
james gilles f81f2a7492 Move db module from spacetimedb_sats to spacetimedb_lib (#1479) 2024-07-17 20:59:44 +00:00
Shubham Mishra 276387d2b3 Timer Table Implementation (#1449)
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
2024-07-16 08:38:56 +00:00
joshua-spacetime 39344852af refactor(1494): Remove SQL DDL per 1.0 SQL spec (#1499) 2024-07-12 18:55:28 +00:00
Noa 10b151b999 Protobufectomy: server (#1077)
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
Co-authored-by: Jeremie Pelletier <jeremiep@gmail.com>
2024-07-12 18:02:18 +00:00
Jeremie Pelletier f91dcda283 Make some commitlog helpers public (#1390) 2024-07-09 18:02:58 +00:00
Mario Montoya 2ad91b6258 Implement a temporary type check validation on sql compiling (#1456)
Signed-off-by: Mario Montoya <mamcx@elmalabarista.com>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2024-07-09 17:15:42 +00:00
Noa 8be8fc1248 Fix inconsistent auth/identity creation (#735)
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-25 19:41:09 +00:00
Kim Altintop 4c0185d93c core: Replace host scheduler on update (#1453) 2024-06-24 17:39:34 +00:00
Kim Altintop c19c0d45c4 core: Simplify custom bootstrap (#1404) 2024-06-21 05:42:04 +00:00
Kim Altintop 384591adf5 core: Downgrade host log verbosity (#1446) 2024-06-19 10:53:06 +00:00
Mazdak Farrokhzad a93bd493d1 Fix index removal and additions + add smoketest (#1444) 2024-06-19 08:29:46 +00:00
joshua-spacetime 8a3364ea69 perf(1351): Add a row count metric for subscriptions (#1435) 2024-06-14 18:32:22 +00:00
joshua-spacetime 19b7815878 refactor: Reconfigure histogram buckets for certain metrics (#1436) 2024-06-14 18:30:02 +00:00
Mazdak Farrokhzad b1442fc2f1 HACK: Tweak schema_updates to allow adding/removing non-unique indices (#1434) 2024-06-14 14:40:14 +00:00
Noa 66112bbdf0 Impl subscribe subcommand & subscription smoketests (#1343)
Signed-off-by: Kim Altintop <kim@eagain.io>
Co-authored-by: Kim Altintop <kim@eagain.io>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2024-06-14 09:16:05 +00:00
joshua-spacetime 9e0d1c9967 refactor: Record txn-level metrics in a single utility (#1414) 2024-06-13 16:30:07 +00:00
joshua-spacetime 44832f2695 chore: Remove already tracked subscription counter (#1412) 2024-06-13 15:26:39 +00:00
joshua-spacetime 220c488b1f fix(1409): Counter metric names (#1411) 2024-06-13 15:26:24 +00:00
joshua-spacetime 2ea93c2b5b chore: Remove max value metrics (#1402) 2024-06-12 16:59:46 +00:00
Kim Altintop 299789a138 core: Determine dangling clients from st_clients (#1366)
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2024-06-11 18:07:18 +00:00