{"record":{"id":"1fd8275b07450399","repo":"cube-js/cube","slug":"not-implemented-1fd827","errorCode":null,"errorMessage":"not implemented","messagePattern":"not implemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"critical","filePath":"rust/cubestore/cubestore/src/config/mod.rs","lineNumber":2554,"sourceCode":"                    })\n                    .await;\n            }\n            FileStoreProvider::MINIO {\n                bucket_name,\n                sub_path,\n            } => {\n                let data_dir = self.config_obj.data_dir.clone();\n                let bucket_name = bucket_name.to_string();\n                let sub_path = sub_path.clone();\n                self.injector\n                    .register(\"original_remote_fs\", async move |_| {\n                        let arc: Arc<dyn DIService> =\n                            MINIORemoteFs::new(data_dir, bucket_name, sub_path).unwrap();\n                        arc\n                    })\n                    .await;\n            }\n            FileStoreProvider::Local => unimplemented!(), // TODO\n        };\n    }\n\n    pub async fn configure_cache_store(&self) {\n        let (cachestore_event_sender, _) = broadcast::channel(2048); // TODO config\n        let cachestore_event_sender_to_move = cachestore_event_sender.clone();\n\n        if uses_remote_metastore(&self.injector).await {\n            self.injector\n                .register_typed::<dyn CacheStore, _, _, _>(async move |_| {\n                    Arc::new(ClusterCacheStoreClient {})\n                })\n                .await;\n        } else {\n            self.injector\n                .register(\"cachestore_fs\", async move |i| {\n                    // TODO metastore works with non queue remote fs as it requires loops to be started prior to load_from_remote call\n                    let original_remote_fs: Arc<dyn ExtendedRemoteFs> =","sourceCodeStart":2536,"sourceCodeEnd":2572,"githubUrl":"https://github.com/cube-js/cube/blob/7d981676b36392fec34088b9afab6bdcad40207c/rust/cubestore/cubestore/src/config/mod.rs#L2536-L2572","documentation":"CubeStore's cluster configuration maps FileStoreProvider variants to storage backends. FileStoreProvider::Local has no implementation in this code path (marked TODO), so selecting it panics with a bare unimplemented!().","triggerScenarios":"Configuring CubeStore with file_store provider set to Local in a code path that only supports MinIO/S3 remote filesystems (the async configure routine in config/mod.rs).","commonSituations":"Deploying CubeStore with a local-disk storage provider config where the operator expects local storage to work but the distributed/remote setup path never implemented it; misconfigured store_type in the cluster config.","solutions":["Switch the config to FileStoreProvider::MinIO (or S3-compatible) with proper bucket_name/sub_path","Run storage via the supported MinIO/S3 backend instead of Local","If local storage is required, implement the Local arm or use a code path that supports it","Check the CubeStore version — local storage support may exist in other code paths"],"exampleFix":"// before\nFileStoreProvider::Local => unimplemented!(),\n// after\nFileStoreProvider::Local => LocalFs::new(data_dir).await?,","handlingStrategy":"validation","validationCode":"match cfg.file_store_provider {\n    FileStoreProvider::Local => return Err(anyhow!(\"Local file store not supported in this configuration; use MinIO/S3\")),\n    _ => {}\n}","typeGuard":"fn is_remote_storage(p: &FileStoreProvider) -> bool {\n    matches!(p, FileStoreProvider::MinIO { .. })\n}","tryCatchPattern":"match config_result {\n    Err(e) if e.to_string().contains(\"not implemented\") => init_minio_fallback().await?,\n    other => other?,\n}","preventionTips":["Always configure MinIO/S3 storage for CubeStore clusters","Validate the storage provider in config before starting the node","Fail fast with a descriptive config error instead of unimplemented!","Check provider support for your CubeStore version in release notes"],"tags":["rust","cubestore","configuration","storage","unimplemented"],"backgroundTag":"unsupported-storage-provider","analyzedSha":"7d981676b36392fec34088b9afab6bdcad40207c","analyzedAt":"2026-09-02T03:45:10.400Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}