{"record":{"id":"b4d208e5cbe8a9ab","repo":"influxdata/influxdb","slug":"upgraded-log","errorCode":null,"errorMessage":"upgraded log","messagePattern":"upgraded log","errorType":"exception","errorClass":"ObjectStoreCatalogError","httpStatus":null,"severity":"error","filePath":"influxdb3_catalog/src/object_store.rs","lineNumber":17,"sourceCode":"pub(crate) mod versions;\n\nuse anyhow::anyhow;\npub use versions::v3::*;\n\n#[derive(Debug, thiserror::Error)]\npub enum ObjectStoreCatalogError {\n    #[error(\"object store error: {0:?}\")]\n    ObjectStore(#[from] object_store::Error),\n\n    #[error(\"catalog file format error: {0}\")]\n    Format(#[from] crate::format::FormatError),\n\n    #[error(\"unexpected error: {0:?}\")]\n    Unexpected(#[from] anyhow::Error),\n\n    #[error(\"upgraded log\")]\n    UpgradedLog,\n}\n\nimpl ObjectStoreCatalogError {\n    pub fn unexpected(message: impl Into<String>) -> Self {\n        Self::Unexpected(anyhow!(message.into()))\n    }\n}\n\ntype Result<T, E = ObjectStoreCatalogError> = std::result::Result<T, E>;\n\n#[derive(Debug, Copy, Clone)]\npub enum PersistCatalogResult {\n    Success,\n    AlreadyExists,\n}\n\n/// File extension for catalog files","sourceCodeStart":1,"sourceCodeEnd":35,"githubUrl":"https://github.com/influxdata/influxdb/blob/06200ef96ba82c5f6727e5038a83af8e722c6875/influxdb3_catalog/src/object_store.rs#L1-L35","documentation":"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.","triggerScenarios":"Thrown at influxdb3_catalog/src/object_store.rs:17 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Treat this as a successful-but-migrated outcome and retry/reload the catalog","No user action required; the log has been rewritten in the current format"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"06200ef96ba82c5f6727e5038a83af8e722c6875","analyzedAt":"2026-09-19T12:55:30.003Z","contentChangedAt":"2026-09-19T12:55:30.003Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}