{"record":{"id":"143e7b7b6bfe2d8d","repo":"EpicGames/lore","slug":"replicated-mutable-store-is-not-implemented","errorCode":null,"errorMessage":"replicated mutable store is not implemented","messagePattern":"replicated mutable store is not implemented","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lore-server/src/server.rs","lineNumber":959,"sourceCode":"        store_mode::LOCAL => {\n            let local_settings = settings\n                .mutable_store\n                .local\n                .as_ref()\n                .ok_or(anyhow!(\"Missing local mutable store settings\"))?;\n\n            configure_local_mutable_store(local_settings, immutable_store).await\n        }\n        store_mode::REMOTE => {\n            let remote_settings = settings\n                .mutable_store\n                .remote\n                .as_ref()\n                .ok_or(anyhow!(\"Missing remote mutable store settings\"))?;\n\n            configure_remote_mutable_store(remote_settings)\n        }\n        store_mode::REPLICATED => Err(anyhow!(\"replicated mutable store is not implemented\")),\n        store_mode::COMPOSITE => Err(anyhow!(\n            \"Invalid settings, cannot have composite store as mutable store\"\n        )),\n        _ => {\n            // All other modes use the plugin system\n            let plugin_config =\n                resolve_plugin_config_with_fallback(&settings.plugins, mode, \"mutable_store\")\n                    .unwrap_or_else(|| toml::Value::Table(toml::map::Map::new()));\n\n            info!(mode, \"Creating mutable store via plugin system\");\n\n            registry\n                .create_mutable_store(mode, &plugin_config, immutable_store)\n                .map_err(|e| anyhow!(\"Failed to create mutable store plugin '{mode}': {e}\"))\n        }\n    }\n}\n","sourceCodeStart":941,"sourceCodeEnd":977,"githubUrl":"https://github.com/EpicGames/lore/blob/074eb0b0d1194c997d7cf28b55519e3e197b3e23/lore-server/src/server.rs#L941-L977","documentation":"The store_mode::REPLICATED arm of configure_mutable_store_via_plugin is a hard-coded `Err(anyhow!(...))`: replicated mutable stores are a recognized mode but no implementation exists, so any config selecting mode = \"replicated\" for the mutable store fails at startup. This is an explicit feature-not-implemented guard, not a runtime failure.","triggerScenarios":"Settings set `[mutable_store] mode = \"replicated\"`; startup reaches the REPLICATED arm and unconditionally returns this error.","commonSituations":"Copying the immutable-store configuration (where \"replicated\" is supported, see the immutable dispatch around server.rs:900) to the mutable section; experimenting with replication after reading immutable-store docs; a tool generating configs from a mode list that includes replicated.","solutions":["Change mutable_store.mode to an implemented mode: \"local\", \"remote\", or a plugin-backed mode.","If replication is required for the mutable store, implement a plugin and select that plugin mode instead of \"replicated\".","Check the lore-server version/changelog: replicated mutable store may not exist in your release."],"exampleFix":"// before (settings.toml)\n[mutable_store]\nmode = \"replicated\"\n\n// after (settings.toml)\n[mutable_store]\nmode = \"local\"\n\n[mutable_store.local]\npath = \"/var/lib/lore/mutable\"","handlingStrategy":"validation","validationCode":"// Rust\nfn validate_mutable_mode(settings: &Settings) -> Result<(), String> {\n    if settings.mutable_store.mode == \"replicated\" {\n        return Err(\"replicated mutable store is not implemented; use local/remote or a plugin\".into());\n    }\n    Ok(())\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Do not copy immutable-store modes (replicated, composite) into the mutable_store section.","Check the changelog for which mutable modes your lore-server version implements.","Validate allowed mode values in CI with a schema check."],"tags":["configuration","unsupported","mutable-store","startup"],"backgroundTag":"unsupported-enum-value","analyzedSha":"074eb0b0d1194c997d7cf28b55519e3e197b3e23","analyzedAt":"2026-09-13T09:00:57.509Z","contentChangedAt":"2026-09-13T09:00:57.509Z","schemaVersion":2},"datasetVersion":"2026-09-16T09:17:16.951Z"}