influxdata/influxdb · error · ObjectStoreCatalogError

upgraded log

Error message

upgraded log

What it means

ObjectStoreCatalogError::UpgradedLog, a sentinel variant returned when the catalog loader detects and upgrades an older on-disk log format during load; it signals that a migration ran, not that an operation failed.

Solutions

  1. Treat this as a successful-but-migrated outcome and retry/reload the catalog
  2. No user action required; the log has been rewritten in the current format
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at influxdb3_catalog/src/object_store.rs:17 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of influxdata/influxdb@06200ef96b (2026-09-19). Data as JSON: /api/errors/b4d208e5cbe8a9ab. Report an issue: GitHub.

Appendix: source

Thrown at influxdb3_catalog/src/object_store.rs:17

pub(crate) mod versions;

use anyhow::anyhow;
pub use versions::v3::*;

#[derive(Debug, thiserror::Error)]
pub enum ObjectStoreCatalogError {
    #[error("object store error: {0:?}")]
    ObjectStore(#[from] object_store::Error),

    #[error("catalog file format error: {0}")]
    Format(#[from] crate::format::FormatError),

    #[error("unexpected error: {0:?}")]
    Unexpected(#[from] anyhow::Error),

    #[error("upgraded log")]
    UpgradedLog,
}

impl ObjectStoreCatalogError {
    pub fn unexpected(message: impl Into<String>) -> Self {
        Self::Unexpected(anyhow!(message.into()))
    }
}

type Result<T, E = ObjectStoreCatalogError> = std::result::Result<T, E>;

#[derive(Debug, Copy, Clone)]
pub enum PersistCatalogResult {
    Success,
    AlreadyExists,
}

/// File extension for catalog files

View on GitHub (pinned to 06200ef96b)