feat: add MemStore Go-parity methods & 25 new tests (Task 3)

Port Go memstore sync interface: Compact, Truncate, PurgeEx, SkipMsgs,
LoadNextMsg, NumPending, MultiLastSeqs, AllLastSeqs, SubjectsTotals,
SubjectsState, GetSeqFromTime, NextWildcardMatch, NextLiteralMatch,
MessageTTL, UpdateConfig. Fix RestoreSnapshotAsync to handle gapped
sequences, update MsgSize to include subject length + 16 overhead
(Go parity).

25 new tests ported from memstore_test.go.
This commit is contained in:
Joseph Doherty
2026-02-24 20:17:42 -05:00
parent 7eb06c8ac5
commit f35961abea
3 changed files with 2095 additions and 50 deletions

File diff suppressed because it is too large Load Diff