Release v10.11.0 - SQLite Integrity Monitoring
Release Date: February 11, 2026
Overview
This release introduces automatic SQLite integrity monitoring to prevent data loss from WAL corruption. The new feature runs periodic database health checks with automatic repair capabilities and emergency backup functionality.
What's New
🛡️ SQLite Integrity Monitoring (#456)
Automatic Database Health Checks
- Periodic PRAGMA integrity_check runs every 30 minutes (configurable)
- Non-blocking async I/O using asyncio.to_thread() - zero main thread blocking
- Minimal performance impact: 3.5ms check duration (0.0002% overhead at 30-minute intervals)
Automatic Repair
- WAL checkpoint recovery on corruption detection using PRAGMA wal_checkpoint(TRUNCATE)
- Graceful error handling with detailed logging
- User-facing status messages through memory_health tool
Emergency Export
- Automatic JSON backup export on unrecoverable corruption
- Preserves all accessible memory data
- Prevents catastrophic data loss scenarios
New Configuration Options
# Enable/disable integrity monitoring (default: enabled)
export MCP_MEMORY_INTEGRITY_CHECK_ENABLED=true
# Check interval in seconds (default: 1800 = 30 minutes)
export MCP_MEMORY_INTEGRITY_CHECK_INTERVAL=1800New MCP Tool Enhancement
memory_healthtool now includes integrity check status reporting- Returns last check timestamp, corruption status, and repair history
Technical Implementation
- New module:
src/mcp_memory_service/health/integrity.py(317 lines) - Comprehensive test coverage: 9 tests covering:
- Check execution and scheduling
- Repair mechanisms
- Emergency export functionality
- Async behavior verification
- Configuration validation
- Enabled for sqlite_vec and hybrid backends (Cloudflare backend not applicable)
Impact
- Addresses 15% production data loss from undetected WAL corruption
- Zero-config activation - works out-of-the-box with sensible defaults
- Backward compatible with all existing configurations
Installation & Upgrade
PyPI Install (Recommended)
pip install --upgrade mcp-memory-serviceFrom Source
git clone https://github.com/doobidoo/mcp-memory-service.git
cd mcp-memory-service
pip install -e .Configuration
No configuration required - integrity monitoring is enabled by default with optimal settings. To customize:
# Disable integrity checks (not recommended)
export MCP_MEMORY_INTEGRITY_CHECK_ENABLED=false
# Check more frequently (every 10 minutes)
export MCP_MEMORY_INTEGRITY_CHECK_INTERVAL=600
# Check less frequently (every hour)
export MCP_MEMORY_INTEGRITY_CHECK_INTERVAL=3600Breaking Changes
None - this release is fully backward compatible.
Performance
- Check Duration: 3.5ms average
- Memory Overhead: Negligible (<1MB)
- CPU Overhead: 0.0002% at default 30-minute intervals
- I/O Impact: Zero blocking on main thread (async implementation)
Applicability
- ✅ sqlite_vec backend: Fully supported
- ✅ hybrid backend: Fully supported (local SQLite portion)
- ❌ cloudflare backend: Not applicable (cloud backend has built-in integrity)
Testing
This release includes comprehensive testing:
- 9 new tests for integrity monitoring
- All existing tests passing (968 tests total)
- Test coverage maintained at 60%+
Documentation
- CHANGELOG.md: Comprehensive entry with all technical details
- README.md: Updated "Latest Release" section with highlights
- CLAUDE.md: Updated version reference and new feature documentation
Related Issues & PRs
Contributors
- Heinrich Krupp (@doobidoo)
- Claude Sonnet 4.5 (Co-Authored-By)
What's Next
Future enhancements being considered:
- Configurable repair strategies
- Email/webhook notifications for corruption events
- Integrity check history dashboard tab
- Automated backup rotation
Support
- Issues: https://github.com/doobidoo/mcp-memory-service/issues
- Discussions: https://github.com/doobidoo/mcp-memory-service/discussions
- Wiki: https://github.com/doobidoo/mcp-memory-service/wiki
Full Changelog: v10.10.6...v10.11.0