feat(p7-06): port memstore & store interface tests (38 tests)

Add JetStreamMemoryStoreTests (27 tests, T:2023-2056) and
StorageEngineTests (11 tests, T:2943-2957) covering the JetStream
memory store and IStreamStore interface. Fix 10 bugs in MemStore.cs
discovered during test authoring: FirstSeq constructor, Truncate(0)
SubjectTree reset, PurgeEx subject-filtered implementation,
UpdateConfig MaxMsgsPer enforcement, FilteredStateLocked partial
range scan, StoreRawMsgLocked DiscardNewPer, MultiLastSeqs maxSeq
fallback scan + LastNeedsUpdate recalculation, AllLastSeqs
LastNeedsUpdate recalculation, LoadLastLocked LazySubjectState
recalculation, GetSeqFromTime ts==last equality, and timestamp
precision (100-ns throughout). 20 tests deferred (internal fields,
benchmarks, TTL, filestore-only). All 701 unit tests pass.
This commit is contained in:
Joseph Doherty
2026-02-26 19:35:58 -05:00
parent 917cd33442
commit 0950580967
6 changed files with 1970 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
# NATS .NET Porting Status Report
Generated: 2026-02-27 00:15:57 UTC
Generated: 2026-02-27 00:35:59 UTC
## Modules (12 total)
@@ -21,10 +21,10 @@ Generated: 2026-02-27 00:15:57 UTC
| Status | Count |
|--------|-------|
| complete | 214 |
| deferred | 215 |
| complete | 252 |
| deferred | 235 |
| n_a | 187 |
| not_started | 2527 |
| not_started | 2469 |
| verified | 114 |
## Library Mappings (36 total)
@@ -36,4 +36,4 @@ Generated: 2026-02-27 00:15:57 UTC
## Overall Progress
**4199/6942 items complete (60.5%)**
**4237/6942 items complete (61.0%)**