Implement in-process multi-dataset sync isolation across core, network, persistence, and tests
All checks were successful
NuGet Package Publish / nuget (push) Successful in 1m14s
All checks were successful
NuGet Package Publish / nuget (push) Successful in 1m14s
This commit is contained in:
@@ -221,6 +221,14 @@ services.AddCBDDCCore()
|
||||
});
|
||||
```
|
||||
|
||||
### Multi-Dataset Partitioning
|
||||
|
||||
Surreal persistence now stores `datasetId` on oplog, metadata, snapshot metadata, confirmation, and CDC checkpoint records.
|
||||
|
||||
- Composite indexes include `datasetId` to prevent cross-dataset reads.
|
||||
- Legacy rows missing `datasetId` are interpreted as `primary` during reads.
|
||||
- Dataset-scoped store APIs (`ExportAsync(datasetId)`, `GetOplogAfterAsync(..., datasetId, ...)`) enforce isolation.
|
||||
|
||||
### CDC Durability Notes
|
||||
|
||||
1. **Checkpoint semantics**: each consumer id has an independent durable cursor (`timestamp + hash`).
|
||||
|
||||
Reference in New Issue
Block a user