dimgigov
|
c8633b9589
|
fix: non-blocking replication/disttxn timeouts, OTLP epoch time, test paths, compiler warnings
|
2026-05-07 15:41:33 +03:00 |
|
dimgigov
|
d3b38251c3
|
update core modules and project config
|
2026-05-07 15:16:40 +03:00 |
|
dimgigov
|
f45f6b7127
|
fix(ci): add hunos git url to nimble deps, install libpcre3-dev for runtime
|
2026-05-07 11:27:43 +03:00 |
|
dimgigov
|
a1aad227c1
|
fix(ci): lower jwt requirement to >= 0.3.0 to match upstream repo version
|
2026-05-07 11:10:45 +03:00 |
|
dimgigov
|
f9f77b3a18
|
feat: production blockers — JOINs, deadlock detection, TLS, parameterized queries
- JOIN execution: INNER/LEFT/RIGHT/FULL/CROSS with column disambiguation
- Deadlock detection: wait-for graph wired into TxnManager.write()
- TLS/SSL: OpenSSL via std/net for TCP wire protocol, auto self-signed certs
- Parameterized queries: ? placeholders with WireValue binding
- Wire protocol: mkQueryParams message support
- HTTP /query endpoint accepts JSON params array
- Nim client: query(sql, params) overload
- Tests: 262 passing (15 new)
All PLAN.md production blockers resolved.
|
2026-05-06 16:42:53 +03:00 |
|
dimgigov
|
1fb715a1d4
|
feat: integrate hunos web server + jwt-nim-baraba + real WAL recovery + compaction
HTTP Server:
- Replaced asynchttpserver with hunos (multi-threaded, trie router, CORS middleware)
- JWT authentication via jwt-nim-baraba (HS256 with BearSSL crypto)
- POST /query, GET /health, GET /metrics, POST /auth, GET /api (OpenAPI spec)
- Proper CORS headers via hunos corsMiddleware
WAL Recovery:
- recover() now actually applies committed entries (REDO)
- Skips uncommitted entries (UNDO)
- Takes optional LSMTree parameter to apply recovery
SSTable Compaction:
- Real compaction: reads SSTable entries, merges by key (newest wins), writes merged file
- Deduplication: keeps only newest version per key
- Tombstone cleanup: removes deleted entries
- Old SSTable files deleted after merge
Dependencies:
- Added hunos >= 1.2.0 and jwt >= 2.1.0 to nimble
SSTable fields exported for compaction access.
All 216 tests pass
|
2026-05-06 13:42:37 +03:00 |
|
dimgigov
|
6935889877
|
feat: initial BaraDB — multimodal database engine in Nim
- LSM-Tree storage engine with WAL, bloom filter, MemTable
- BaraQL query language: lexer (80+ tokens), recursive descent parser, AST
- Vector engine: HNSW + IVF-PQ indexes, 4 distance metrics
- Graph engine: adjacency list, BFS/DFS, Dijkstra, PageRank
- Full-Text Search: inverted index, BM25 ranking, stemming, stop words
- Type system: 17 types (int/float/string/uuid/json/vector/...)
- Async TCP server
- 21 passing tests
|
2026-05-06 00:22:12 +03:00 |
|