Commit Graph

3186 Commits

Author SHA1 Message Date
Tyler Cloutier 8ba8298447 Merge pull request #14 from clockworklabs/tyler/0.8/links-fix
[DO NOT MERGE UNTIL NEW WEB DOCS RELEASED] Fix most (but possibly not all) links in the docs
2023-11-28 13:31:02 -08:00
Mario Montoya a3cc76d5c6 Hotfix for log replay bug, fix type for constraints column (#604) 2023-11-28 16:14:24 -05:00
joshua-spacetime 4bbcb4fc0c perf(591): Distinguish query metrics as sql, subscription or incremental update (#605)
Closes #591.
2023-11-28 12:46:49 -08:00
Tyler Cloutier 57970921da Merge pull request #17 from clockworklabs/docs-js-compiler
Created basic build setup to compile a nav.js file
2023-11-28 12:35:50 -08:00
Nathaniel Richards 603b065b20 Created buildeR 2023-11-28 15:01:39 -05:00
Nathaniel Richards 078a62aa0d Merge pull request #15 from clockworklabs/NateTheDev1-patch-1
Test of removing exports
2023-11-28 14:02:04 -05:00
Nathaniel Richards fe6b7b7f39 Update nav.ts 2023-11-28 13:57:48 -05:00
Tyler Cloutier 355d5fa919 Fix most (but possibly not all) links in the docs 2023-11-27 23:58:02 -08:00
joshua-spacetime 6e26222498 chore: Add functions for resetting max value metrics (#600) 2023-11-27 17:32:20 -06:00
Ingvar Stepanyan 31a977819d Ask users to install .NET 8 2023-11-27 20:41:01 +00:00
Noa 4c693e8514 Rename HostType::Wasmtime to just Wasm (#592) 2023-11-27 11:48:52 -06:00
Tyler Cloutier 7d7437463c Added slugs to nav 2023-11-22 20:14:10 -08:00
Tyler Cloutier dbc1745ec0 Removed satisfies keyword for better Typescript compat 2023-11-21 22:52:36 -08:00
Tyler Cloutier 34320f9987 Merge pull request #12 from clockworklabs/docs-fix
Added nav.ts
2023-11-21 22:43:43 -08:00
Tyler Cloutier 6ef985f6c6 Added nav.ts 2023-11-21 22:39:35 -08:00
Tyler Cloutier 34fdd1f64e Update index.md 2023-11-21 19:34:27 -08:00
james gilles 419cfca8b8 Add spacetimedb::sql::query_debug_info::QueryDebugInfo (#560)
Add spacetimedb::sql::query_debug_info::QueryDebugInfo

---------

Signed-off-by: james gilles <jameshgilles@gmail.com>
2023-11-21 22:09:04 +00:00
Tyler Cloutier 5129f3e2e5 Merge pull request #11 from clockworklabs/cloutiertyler-patch-1
Fixes a margin for the figure that kinda breaks it on mobile
2023-11-21 13:32:49 -08:00
Noa 5a2b37b401 Update to rust 1.74 (#589)
* Update to rust 1.74

* Fix 1.74 clippy lints
2023-11-21 21:04:31 +00:00
joshua-spacetime afb7cceccc refactor: Remove clones from max value metric containers 2023-11-21 11:07:40 -08:00
joshua-spacetime 8954d6105c perf(584): Track maximum reducer delay
Closes #584.
2023-11-21 11:07:40 -08:00
joshua-spacetime 7f8773384e perf(582): Track maximum reducer queue length
Closes #582.
2023-11-21 11:07:40 -08:00
joshua-spacetime 2782268a36 perf(581): Track maximum transaction cpu time
Closes #581.
2023-11-21 11:07:40 -08:00
Noa 449a988f82 Error for no abi version (#580) 2023-11-21 10:49:04 -08:00
Ingvar Stepanyan 15a461e6c9 Update to my main NuGet author handle (#585) 2023-11-21 16:40:10 +00:00
Tyler Cloutier 8dcb3c9571 Update index.md
Fixes a margin for the figure that kinda breaks it on mobile.
2023-11-20 17:49:34 -08:00
joshua-spacetime 68ad8ad6ac perf(572): Track the number of reducer panics (#578)
Closes #572.
2023-11-20 13:59:59 -06:00
Kim Altintop 65241846fa core: Only write actual large objects to odb (#575)
Prevent writing `DataKey::Inline` data to the odb redundantly. _May_
reduce memory pressure, and will help with keyspace traversals.
2023-11-20 19:35:14 +01:00
Kim Altintop 36f677ad6e test: Create indexes for restarting tests (#573)
Restarting a database with indexes + sequences is more interesting, in
particular it could have caught #569
2023-11-20 19:34:47 +01:00
joshua-spacetime be452a3c9b refactor(571): Observe queue length on semaphore blocking and acquisition
Fixes #571.
2023-11-20 09:32:02 -08:00
joshua-spacetime adcff988dc refactor(571): Turn module queue length into histogram metric 2023-11-20 09:32:02 -08:00
joshua-spacetime 4aca84a822 refactor(571): Accept histogram buckets argument in metric macros 2023-11-20 09:32:02 -08:00
Kim Altintop a3760884c8 core: Move replay + error correction logic to commit log (#554)
Makes `CommitLog` a read-only handle and introduces `CommitLogMut`,
allowing to append. This better encapsulates the error detection and
trimming logic, and enforces it to be executed before being able to
mutate the log.
2023-11-20 08:53:30 +00:00
Kim Altintop 23b0faa163 core: Make Segment pub and serde (#574)
Turns out to be a useful type to send over the wire.
2023-11-18 12:18:18 +01:00
John Detter f2f97ce2c1 Respawning is working 2023-11-17 12:12:39 -06:00
John Detter cd56015aef Added death/respawn screen 2023-11-17 11:43:34 -06:00
Noa a33fa536bf Switch from wasmer to wasmtime (#457) 2023-11-17 01:23:58 +00:00
Kim Altintop 70332d7293 core: Refine panic message when decoding fails during replay (#568)
It is significant for forensics to differentiate the source of the row
data being decoded. Change the error messages to that end.
2023-11-16 16:41:44 +01:00
Noa bb453b1419 Simplify contributor check (#565) 2023-11-16 09:10:09 -06:00
Mazdak Farrokhzad 51e0529e0a system_tables: fix st_indexes_schema inconsistency (#569) 2023-11-16 13:40:14 +00:00
Mazdak Farrokhzad 22fd5d7273 Add the slim_slice data-structures (#528)
* add the slim_slice data-structures

* slim_slice: addres some review comments

* slim_slice: add basic SlimSmallSliceBox type + comment on SlimNonEmptyBox

* slim_slice: prefix conversions with 'from_'

* slim_slice: use transmute_copy

* add empty LICENSE file

* pacify clippy
2023-11-16 12:51:01 +00:00
joshua-spacetime 5a23fadf41 perf(553): Optimize index joins for incremental evaluation
Fixes #553.

Before this change, we would use the same plan for both query and incremental eval.
This is problematic for index joins.
In particular, table sizes are drastically different under incremental eval.
After this change, joins are reordered for incremental eval.
2023-11-15 12:11:40 -08:00
Noa 7058a10142 Fix out of order subscription updates (#556) 2023-11-15 18:48:50 +00:00
John Detter 3a8a8448d0 Updated server address 2023-11-15 11:37:59 -06:00
John Detter bd2a4eba30 Added username display 2023-11-15 11:36:48 -06:00
John Detter a916ece44d Repeating background + several fixes 2023-11-15 10:48:37 -06:00
Mario Montoya f3a5dc2228 Move 'constraints' markers to primitive and fix incompatibility with deploy (#561)
* Move 'constraints' markers to primitive and fix 'Multiple primary columns defined for table'

* Fix integration test

* Merge
2023-11-15 11:26:35 -05:00
Mario Montoya b3ccc13dab Refactoring IDs for system objects (#439)
* Refactoring IDs for system objects

* fixup

* Fix stray constraints text on refactor

* Fix conflict

* Merge

---------

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2023-11-15 10:21:20 -05:00
Kim Altintop 32035ad38e core: Fix off-by-one in message log
When rotating a segment, the max_offset got incremented, leading to a
gap of one between the segment's min offset and the offset of the first
commit (when viewed as a commit log).

This means that offset calculations for truncation or suffix iterators
were off by one.
2023-11-15 11:14:54 +01:00
Kim Altintop 5789e49054 core: Consider non-contiguous commits when replaying 2023-11-15 11:14:54 +01:00