feat: PITR RECOVER TO TIMESTAMP, OpenTelemetry OTLP export, FTS infrastructure

- RECOVER TO TIMESTAMP '...' — parser + executor, replays WAL entries
- core/tracing.nim — OTLP/HTTP export via exportOtlp()
- FTS: ftsIndexes table in ExecutionContext, engine import ready
- 281 tests, 0 failures
This commit is contained in:
2026-05-07 13:44:59 +03:00
parent 651375a156
commit b1aadf77f9
7 changed files with 104 additions and 40 deletions
+7
View File
@@ -1181,6 +1181,13 @@ proc parseStatement*(p: var Parser): Node =
of tkCommit: p.parseCommitTxn()
of tkRollback: p.parseRollbackTxn()
of tkExplain: p.parseExplain()
of tkRecover:
let tok = p.advance()
discard p.expect(tkTo)
discard p.expect(tkTimestamp)
let tsLit = p.expect(tkStringLit)
Node(kind: nkRecoverToTimestamp, recoverTimestamp: tsLit.value,
line: tok.line, col: tok.col)
else:
let tok = p.advance()
Node(kind: nkNullLit, line: tok.line, col: tok.col)