-
Notifications
You must be signed in to change notification settings - Fork 0
rocksdb_wrapper.cpp
makr-code edited this page Dec 21, 2025
·
1 revision
Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Src
Path: src/storage/rocksdb_wrapper.cpp
Purpose: Wrapper utilities for RocksDB TransactionDB, CF management, checkpointing and snapshot helpers.
Public functions / symbols:
if (this != &other) {if (config_.use_universal_compaction) {for (const auto& p : config_.db_paths) {if (ec) {if (db_) {for (const auto& key : keys) {: db_(db) {if (db_->db_) {if (active_ && txn_) {for (int level = 0; level < 7; ++level) {if (options_->statistics) {if (total_access > 0) {switch (ct) {if (!db_) {configureOptions();close();std::filesystem::path dbp(config_.db_path);THEMIS_ERROR("{}", msg);std::filesystem::path wald(config_.wal_dir);THEMIS_INFO("Closing RocksDB");THEMIS_DEBUG("MVCC Transaction started with snapshot");THEMIS_WARN("Transaction not committed or rolled back - auto-rolling back");rollback();- ``
THEMIS_DEBUG("MVCC Transaction rolled back");THEMIS_ERROR("createCheckpoint failed: DB is not open");fprintf(stderr, "%s ", "createCheckpoint failed: DB is not open");std::filesystem::path cpp(checkpoint_dir);std::unique_ptr<rocksdb::Checkpoint> cp(raw);THEMIS_INFO("Checkpoint created at '{}'", checkpoint_dir);THEMIS_ERROR("restoreFromCheckpoint: checkpoint dir '{}' does not exist", checkpoint_dir);THEMIS_ERROR("Failed to reopen DB after restore from '{}'", checkpoint_dir);THEMIS_INFO("Restored DB from checkpoint '{}' to '{}'", checkpoint_dir, target);THEMIS_ERROR("getOrCreateColumnFamily: DB not open");
- Übersicht
- Home
- 📋 Dokumentations-Index
- 📋 Quick Reference
- 📊 Sachstandsbericht 2025
- 🚀 Features
- 🗺️ Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Architektur
- Basismodell
- Storage & MVCC
- Indexe & Statistiken
- Query & AQL
- Caching
- Content Pipeline
- Suche
- Performance & Benchmarks
- Enterprise Features
- Qualitätssicherung
- Vektor & GNN
- Geo Features
- Sicherheit & Governance
- Überblick
- RBAC & Authorization
- RBAC
- Policies (MVP)
- Authentication
- Schlüsselverwaltung
- Verschlüsselung
- TLS & Certificates
- PKI & Signatures
- PII Detection
- Vault & HSM
- Audit & Compliance
- Security Audits & Hardening
- Competitive Gap Analysis
- Deployment & Betrieb
- Deployment
- Docker
- Tracing & Observability
- Observability
- Change Data Capture
- Operations Runbook
- Infrastructure Roadmap
- Horizontal Scaling Implementation Strategy
- Entwicklung
- Übersicht
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation Guide
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- API Implementations
- Changefeed
- Security Development
- Development Overviews
- Publikation & Ablage
- Admin-Tools
- APIs
- Client SDKs
- Implementierungs-Zusammenfassungen
- Planung & Reports
- Dokumentation
- Release Notes
- Styleguide & Glossar
- Roadmap
- Changelog
- Source Code Documentation
- Übersicht
- Source Documentation
- Main
- Main (Detailed)
- Main Server
- Main Server (Detailed)
- Demo Encryption
- Demo Encryption (Detailed)
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Server README
- [VCCDB Design](src/server/VCCDB Design.md.md)
- Audit API Handler
- Auth Middleware
- Classification API Handler
- HTTP Server
- Keys API Handler
- PII API Handler
- Policy Engine
- Ranger Adapter
- Reports API Handler
- Retention API Handler
- SAGA API Handler
- SSE Connection Manager
- Storage
- Time Series
- Transaction
- Utils
- Archive