Skip to content

Commit aebb149

Browse files
committed
Use native ZoneTree storage, snapshots and backup operations
Commit the complete current working tree: native transactional and plain-tree execution, removal of custom journal/cache/backup paths, runtime contracts, recovery and functional tests, documentation, governance and local performance skills. Validation passed: dotnet restore KeyLoad.slnx; dotnet format KeyLoad.slnx --no-restore; repository governance; git diff --cached --check. Final format verification, build and runtime checks are pending.
1 parent da21520 commit aebb149

1,062 files changed

Lines changed: 30344 additions & 57161 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/blazing-fast-dotnet/SKILL.md‎

Lines changed: 489 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": "1.0.0+source.cfca27650e0d75d3",
3+
"category": "Metrics",
4+
"compatibility": "Targets .NET 10 and 11 performance tuning; validate runtime-specific advice with measurements. Some profiling workflows require Linux perf."
5+
}

‎.codex/skills/blazing-fast-dotnet/SKILL.md‎

Lines changed: 489 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": "1.0.0+source.cfca27650e0d75d3",
3+
"category": "Metrics",
4+
"compatibility": "Targets .NET 10 and 11 performance tuning; validate runtime-specific advice with measurements. Some profiling workflows require Linux perf."
5+
}

‎.github/workflows/build-and-tests.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
path: |
129129
tests/KeyLoad.AnalyzerTests/bin/${{ env.KEYLOAD_TEST_CONFIGURATION }}/net10.0/ci-results
130130
tests/KeyLoad.ProcessRecoveryTests/bin/${{ env.KEYLOAD_TEST_CONFIGURATION }}/net10.0/ci-results
131+
tests/KeyLoad.ProcessRecoveryTests/bin/${{ env.KEYLOAD_TEST_CONFIGURATION }}/net10.0/TestResults/crash-trials-*
131132
if-no-files-found: warn
132133
retention-days: 30
133134
overwrite: true

‎AGENTS.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ ad-hoc concatenation. Do not change user entity casing implicitly.
9191
- Use ZoneTree, ZoneTree.FullTextSearch and ZoneTree.Analytics through their
9292
public APIs. Await their asynchronous APIs, such as `CommitDurableAsync` and
9393
`SyncWALAsync`, so engine waits never block a grain or thread-pool thread.
94+
ZoneTree owns read snapshots, commit conflicts, native cache maintenance and
95+
thread-safe physical writes. Do not serialize database operations with KeyLoad
96+
locks or semaphores, duplicate the engine cache, or schedule a second maintainer.
9497
Blocking on their tasks (`.Result`, `.Wait()`, `.GetAwaiter().GetResult()`) and
9598
dispatching engine work through `Task.Run`, `Task.Factory.StartNew` or a
9699
thread-pool callback are compiler errors (`KLD0039`). The rule makes no claim

‎Directory.Packages.props‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<KeyLoadCoverageToolVersion>18.12.0</KeyLoadCoverageToolVersion>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageVersion Include="Cartograph" Version="0.1.0-alpha" />
9-
<PackageVersion Include="Cartograph.Catalog" Version="0.1.0-alpha" />
108
<PackageVersion Include="ZoneTree" Version="2.0.8" />
119
<PackageVersion Include="ZoneTree.Analytics" Version="1.0.2" />
1210
<PackageVersion Include="ZoneTree.FullTextSearch" Version="1.1.0" />
@@ -16,7 +14,6 @@
1614
<PackageVersion Include="ManagedCode.TimeSeries" Version="10.1.2" />
1715
<PackageVersion Include="ManagedCode.Storage.FileSystem" Version="10.1.7" />
1816
<PackageVersion Include="ManagedCode.Storage.Server" Version="10.1.7" />
19-
<PackageVersion Include="ManagedCode.Orleans.Graph" Version="10.4.9" />
2017
<PackageVersion Include="ManagedCode.Orleans.Identity.Core" Version="10.4.2" />
2118
<PackageVersion Include="ManagedCode.MCPGateway" Version="2.3.3" />
2219
<PackageVersion Include="ManagedCode.MarkdownLd.Kb" Version="0.2.18" />

‎README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ for ownership, distributed queries and open qualification gates.
185185
|---|---|
186186
| [.NET 10](https://github.com/dotnet/runtime) | C# end to end, pooled buffers, `Span<T>` and SIMD intrinsics; speedups need measurements |
187187
| [Orleans](https://github.com/dotnet/orleans) | The whole cluster: membership, routing, placement, migration, communication, data copies through grain calls and generated binary serialization |
188-
| [ZoneTree](https://github.com/ZoneTree/ZoneTree) | Native MVCC transactions and consistent snapshots over each node's ordered data |
188+
| [ZoneTree](https://github.com/ZoneTree/ZoneTree) | Native MVCC transactions, plain non-transactional tables, snapshot reads, WALs and live backups over each node's ordered data |
189189
| [ZoneTree.FullTextSearch](https://github.com/ZoneTree/ZoneTree.FullTextSearch) | full-text indexing on the same storage foundation |
190190
| [Aspire](https://github.com/dotnet/aspire) | Owns server startup, required infrastructure, readiness and cleanup |
191191

@@ -437,13 +437,12 @@ A special thanks to **[ZoneTree](https://github.com/ZoneTree/ZoneTree)** and **[
437437
| [ZoneTree.FullTextSearch](https://github.com/ZoneTree/ZoneTree.FullTextSearch) | Full-text search index |
438438
| [MCP C# SDK](https://github.com/modelcontextprotocol/csharp-sdk) | Built-in MCP server and real MCP clients in tests |
439439
| [ManagedCode.Communication](https://github.com/managedcode/Communication) | Typed operation results and ASP.NET Core/Orleans integration |
440-
| [ManagedCode.Storage](https://github.com/managedcode/Storage) | File-system storage and backup transfer support |
440+
| [ManagedCode.Storage](https://github.com/managedcode/Storage) | File storage, including copies of store backups |
441441
| [ManagedCode.TimeSeries](https://github.com/managedcode/TimeSeries) | Time-series aggregation |
442442
| [ManagedCode.Orleans.Graph](https://github.com/managedcode/Orleans.Graph) | Grain call relationship policies |
443443
| [ManagedCode.Orleans.Identity](https://github.com/managedcode/Orleans.Identity) | Orleans request identity context |
444444
| [ManagedCode.MCPGateway](https://github.com/managedcode/MCPGateway) | Agent authentication and on-demand tool discovery |
445445
| [ManagedCode.MarkdownLd.Kb](https://github.com/managedcode/markdown-ld-kb) | Knowledge-graph search over tool metadata |
446-
| [Cartograph](https://github.com/angelhernandezm/Cartograph) | Segmented backup archives and catalogs |
447446
| [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet) | Logs, metrics and traces |
448447

449448
| Development & presentation | Contribution |

‎benchmarks/KeyLoad.BenchmarkScenarios/Benchmarks/JournalFlushBenchmarks.cs‎

Lines changed: 0 additions & 101 deletions
This file was deleted.

‎benchmarks/KeyLoad.BenchmarkScenarios/Configuration/EmbeddedBenchmarkRuntimeOptions.cs‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using KeyLoad.Core;
22
using KeyLoad.Storage.ZoneTree;
3-
using KeyLoad.Storage.ZoneTree.ResourceExecution;
43
using Microsoft.Extensions.Options;
54

65
namespace KeyLoad.BenchmarkScenarios.BenchmarkComparisons;
@@ -12,5 +11,4 @@ internal sealed record EmbeddedBenchmarkRuntimeOptions(IOptions<DatabaseLimits>
1211
IOptions<ChangeFeedExecutionOptions> ChangeFeedExecution,
1312
IOptions<ClaimsExecutionOptions> RuntimeClaimsExecution,
1413
IOptions<TimeSeriesExecutionOptions> TimeSeriesExecution,
15-
IOptions<ZoneTreeStorageExecutionOptions> Storage,
16-
IOptions<ZoneTreePointCacheExecutionOptions> PointCache);
14+
IOptions<ZoneTreeStorageExecutionOptions> Storage);

0 commit comments

Comments
 (0)