Skip to content

rocksdb_wrapper.cpp

GitHub Actions edited this page Jan 2, 2026 · 1 revision

rocksdb_wrapper.cpp

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");

ThemisDB Dokumentation

Version: 1.3.0 | Stand: Dezember 2025


📋 Schnellstart


🏗️ Architektur


🗄️ Basismodell


💾 Storage & MVCC


📇 Indexe & Statistiken


🔍 Query & AQL


💰 Caching


📦 Content Pipeline


🔎 Suche


⚡ Performance & Benchmarks


🏢 Enterprise Features


✅ Qualitätssicherung


🧮 Vektor & GNN


🌍 Geo Features


🛡️ Sicherheit & Governance

Authentication

Schlüsselverwaltung

Verschlüsselung

TLS & Certificates

PKI & Signatures

PII Detection

Vault & HSM

Audit & Compliance

Security Audits

Gap Analysis


🚀 Deployment & Betrieb

Docker

Observability

Change Data Capture

Operations


💻 Entwicklung

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

Main Programs

Source Code Module


🗄️ Archive


🤝 Community & Support


Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/

Clone this wiki locally