feat: logosdb 0.8.0 — sync, stats, compact, doctor, snapshots, stress suite#100
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ships logosdb 0.8.0: durability and ops (sync, snapshot/restore, stats, compact), CLI doctor/upgrade, opt-in stress tests (including concurrent API use), search paths taking the DB mutex for safe sharing of one handle across threads, and version / packaging alignment (CMake, C header, Python, Node vendored core, MCP, n8n, npm workspaces + CHANGELOG).
Closes #81
Closes #82
Closes #83
Closes #88
(Drop any line that does not match your issue linkage.)
Changes
logosdb_sync/ CLI snapshot & restore (snapshot.jsonv1)logosdb_stats/ CLI stats (+ PythonDB.stats())logosdb_compact/ CLI compact (+ Pythoncompact)doctor/upgrade(vectors v2, probes)stress(defaultctestexcludes via--test-suite-exclude=stress)logosdb_search/logosdb_search_ts_rangeunderdb->muvs concurrent writeslogosdb,logosdb-mcp-server,n8n-nodes-logosdb), root workspace includesn8n, remove redundantn8n/package-lock.jsonstart_id/ stale WAL comment input_batch(clean Node build warning)Type of Change
muwith writes (slight contention vs prior lock-free search)Testing
test_doctest.cpp+test_stress.cppnpm run npm:verify(vendor-core,logosdbnative tests, MCP tests + smoke)ctest --output-on-failure,./logosdb-test --test-suite-exclude=stress,./logosdb-test --test-suite=stress, Release CMake buildDescribe the tests you ran:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DLOGOSDB_BUILD_TESTS=ON && cmake --build build && cd build && ctest --output-on-failure -V./logosdb-test --test-suite-exclude=stressand./logosdb-test --test-suite=stressnpm run npm:verifyfrom repo rootChecklist
put_batchunused-var warning addressedctest --output-on-failure,pytest) — CMake/doctest + npm verify; runpytestif you touch Python furtherfeat:,fix:,docs:, etc.)Additional Notes
npm installson8nresolves workspacelogosdb; publishlogosdb→logosdb-mcp-server→n8n-nodes-logosdbafter registry has native 0.8.0.npm run vendor-core -w logosdb(ornpm:verify) sonodejs/deps/corestays in sync withsrc//include/.