Commit Graph

1219 Commits

Author SHA1 Message Date
Phoebe Goldman d4cc28f27b Remove problematic debug assertions
The definition of `FixedHeader` within `Page` previously contained
a `#[cfg(debug_assertions)]` member which was used for some extra assertions.
This was fine originally, but now that we write pages to disk in snapshots,
having the serialized format of the page vary depending on compilation profile
is problematic.

This commit removes said `#[cfg(debug_assertions)]` conditional member from `FixedHeader`,
so that the structure, and thus the on-disk format, of `Page` is consistent
between debug and release builds.

This commit also removes an unrelated but unused `#[cfg(debug_assertions)]` conditional
from the pointer map code. We never called this assertion, even in debug builds.
If we want to re-enable it in the future, we can restore it from git history;
for now, I would prefer not to have unused code committed.
2024-11-25 12:44:25 -05:00
Noa 94c66c97da Don't autogen schedule fields (#1894)
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2024-11-22 18:39:39 +00:00
Shubham Mishra f04d2817d0 create commitlog dir in fs::New (#2006) 2024-11-21 15:47:40 +00:00
Kim Altintop 125ab58388 commitlog: Fix set_epoch (#2005) 2024-11-21 13:34:10 +00:00
james gilles c657b4f088 Rip useless names out of RawDef (#1918) 2024-11-20 21:02:00 +00:00
james gilles dee297adfb C# endianness fixes (#1964) 2024-11-20 18:23:30 +00:00
Jeffrey Dallatezza 3f0e1524d5 Fix flaky oidc tests (#2000) 2024-11-20 15:53:41 +00:00
Shubham Mishra 9c64d1fbd1 Durability Provider (#1864)
Signed-off-by: Shubham Mishra <shubham@clockworklabs.io>
Co-authored-by: Kim Altintop <kim@eagain.io>
2024-11-19 09:06:52 +00:00
Ingvar Stepanyan ac1d222c30 Preserve reducer order in schema conversion (#1987)
Signed-off-by: Ingvar Stepanyan <me@rreverser.com>
Co-authored-by: james gilles <jameshgilles@gmail.com>
2024-11-16 01:32:57 +00:00
Ingvar Stepanyan a7a1d36535 Run and test benchmarks against C# as well (#1965)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2024-11-15 17:27:11 +00:00
joshua-spacetime 6dcb5252b0 test: No divide by zero for row estimation of empty index (#1986) 2024-11-14 11:51:57 +00:00
Kim Altintop 33c4aab87e core: Make NDV non-zero (#1985) 2024-11-14 11:13:50 +00:00
Jeffrey Dallatezza cccadd10ee Clean up auth related code with traits, and reuse existing key generation code. (#1988) 2024-11-12 21:22:20 +00:00
Mario Montoya 2976593126 Update run_standalone_temp.sh to the new folder specification (#1990) 2024-11-12 17:11:26 +00:00
Noa 97bff92efb Optimize integrate_generated_columns (#1895) 2024-11-12 16:36:50 +00:00
Mazdak Farrokhzad 57fb9ad0bc Light updates test: Ensure subcriptions have been applied before calling reducers (#1979) 2024-11-12 14:45:51 +00:00
Zeke Foppa 5bf5b2ba09 Bump C# versions to -hotfix1 (#1984)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-12 04:25:10 +00:00
Noa f136670420 Directory structure impl (#1879)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
2024-11-12 04:24:43 +00:00
Ingvar Stepanyan 15b3e0647d NFC: Remove unused fsync param in benchmarks (#1981) 2024-11-11 18:38:14 +00:00
Kim Altintop e4fcb72432 commitlog: Small tweaks (#1978) 2024-11-11 13:24:21 +00:00
Zeke Foppa a432c62e53 CLI - Fix stale helptext instructing users to use spacetime identity (#1954)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-09 03:58:01 +00:00
Zeke Foppa 7f9903dcae CLI - Remove unused default_identity stuff (#1969)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-09 03:37:12 +00:00
Zeke Foppa fdb1a7115d CLI - Tell users if they're already logged in (#1955)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-09 03:37:09 +00:00
joshua-spacetime ce58e26795 refactor: encode type info implicitly in the physical plan (#1938) 2024-11-08 20:14:22 +00:00
james gilles dd73f76346 Clean up benchmark .spacetime in CI (#1968) 2024-11-08 19:51:48 +00:00
Mazdak Farrokhzad e9e5a97c67 Add test for light update (#1953) 2024-11-08 18:21:31 +00:00
joshua-spacetime 4c0c7556b0 Add typing context for lowering (#1963) 2024-11-08 17:23:46 +00:00
Zeke Foppa d51b5ac850 Bump version to 1.0.0-rc2 (#1962)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-08 17:06:30 +00:00
Mario Montoya 17423a4cf0 Add missing LICENSE (#1960) 2024-11-07 22:33:15 +00:00
Zeke Foppa 789ac3576a Add LICENSE file to sql-parser crate (#1959)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-07 21:36:37 +00:00
Zeke Foppa adf6dab757 Get jsonwebtoken and jwks forks from crates.io (#1958)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-11-07 21:11:26 +00:00
Mario Montoya 97c8c26a20 Removing dead code: Relational ops and cursor (#1956) 2024-11-07 18:32:42 +00:00
Jeffrey Dallatezza 0b1beec8f3 Decode identity correctly (#1952) 2024-11-06 19:13:11 +00:00
Ingvar Stepanyan 6d712b4b0d Simplify benchmarking wrappers (#1951) 2024-11-06 17:21:56 +00:00
james gilles a24a206c28 Be more careful about endianness with Identity and Address (#1926)
Co-authored-by: Puru Vijay <awesomepuruvj@gmail.com>
2024-11-05 20:04:05 +00:00
Mario Montoya 9758339bf7 Logical to physical plan lowering (#1910) 2024-11-05 17:00:27 +00:00
Mario Montoya cb9e0176e6 Fix benches for ia_loop, circles (#1922) 2024-11-05 14:50:31 +00:00
John Detter e94009a0ef Remove jdetter as codeowner for now (#1939)
Co-authored-by: John Detter <no-reply@boppygames.gg>
2024-11-05 13:23:49 +00:00
Kim Altintop f22b163c0a commitlog: Introduce epoch (#1851) 2024-11-05 10:10:30 +00:00
Mazdak Farrokhzad ac0053caab Websocket API: Light transaction updates & NoSuccessNotify (#1812)
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2024-11-04 15:59:11 +00:00
joshua-spacetime 1657fd2d28 Use previous reducer context when downgrading a tx (#1932) 2024-11-01 23:05:31 +00:00
joshua-spacetime 49032bd2d9 chore: remove dead code (#1930) 2024-11-01 21:54:48 +00:00
joshua-spacetime f199ba5ca8 Cached query execution plan (#1923) 2024-11-01 16:22:47 +00:00
Zeke Foppa 3afa1e00ad CLI - Add login show and logout (#1911)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-10-31 18:10:07 +00:00
Ingvar Stepanyan 8448484ad9 Optimise C# in a ridiculous way (#1924) 2024-10-31 16:24:13 +00:00
Jeremie Pelletier 1328b5d6a0 C# codegen making state relative to a DbConnection (#1869) 2024-10-30 20:55:30 +00:00
Puru Vijay 556858e007 Companion to spacetime-web#470 (#1912)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-10-30 19:23:58 +00:00
Ingvar Stepanyan bc79f93e29 Hide "internal" datetime representation types (#1921) 2024-10-30 16:49:51 +00:00
Ingvar Stepanyan 0935b7346b Fix Find() with struct-based rows (#1917) 2024-10-29 21:33:59 +00:00
Zeke Foppa 61360387be CLI - Login flow (#1878)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-10-29 20:28:45 +00:00