{"record":{"id":"20efaab1842db97b","repo":"weaviate/weaviate","slug":"could-not-get-replication-operation-details-by-col-20efaa","errorCode":null,"errorMessage":"could not get replication operation details by collection and shards: %w","messagePattern":"could not get replication operation details by collection and shards: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cluster/store_query.go","lineNumber":152,"sourceCode":"\tcase cmd.QueryRequest_TYPE_GET_NAMESPACES:\n\t\tpayload, err = st.namespaceManager.Get(req)\n\t\tif err != nil {\n\t\t\treturn &cmd.QueryResponse{}, fmt.Errorf(\"could not get namespaces: %w\", err)\n\t\t}\n\tcase cmd.QueryRequest_TYPE_GET_REPLICATION_DETAILS:\n\t\tpayload, err = st.replicationManager.GetReplicationDetailsByReplicationId(req)\n\t\tif err != nil {\n\t\t\treturn &cmd.QueryResponse{}, fmt.Errorf(\"could not get replication operation details: %w\", err)\n\t\t}\n\tcase cmd.QueryRequest_TYPE_GET_REPLICATION_DETAILS_BY_COLLECTION:\n\t\tpayload, err = st.replicationManager.GetReplicationDetailsByCollection(req)\n\t\tif err != nil {\n\t\t\treturn &cmd.QueryResponse{}, fmt.Errorf(\"could not get replication operation details by collection: %w\", err)\n\t\t}\n\tcase cmd.QueryRequest_TYPE_GET_REPLICATION_DETAILS_BY_COLLECTION_AND_SHARD:\n\t\tpayload, err = st.replicationManager.GetReplicationDetailsByCollectionAndShard(req)\n\t\tif err != nil {\n\t\t\treturn &cmd.QueryResponse{}, fmt.Errorf(\"could not get replication operation details by collection and shards: %w\", err)\n\t\t}\n\tcase cmd.QueryRequest_TYPE_GET_REPLICATION_DETAILS_BY_TARGET_NODE:\n\t\tpayload, err = st.replicationManager.GetReplicationDetailsByTargetNode(req)\n\t\tif err != nil {\n\t\t\treturn &cmd.QueryResponse{}, fmt.Errorf(\"could not get replication operation details by target node: %w\", err)\n\t\t}\n\tcase cmd.QueryRequest_TYPE_GET_SHARDING_STATE_BY_COLLECTION:\n\t\tpayload, err = st.replicationManager.QueryShardingStateByCollection(req)\n\t\tif err != nil {\n\t\t\treturn &cmd.QueryResponse{}, fmt.Errorf(\"could not get sharding state by collection: %w\", err)\n\t\t}\n\tcase cmd.QueryRequest_TYPE_GET_SHARDING_STATE_BY_COLLECTION_AND_SHARD:\n\t\tpayload, err = st.replicationManager.QueryShardingStateByCollectionAndShard(req)\n\t\tif err != nil {\n\t\t\treturn &cmd.QueryResponse{}, fmt.Errorf(\"could not get sharding state by collection and shard: %w\", err)\n\t\t}\n\tcase cmd.QueryRequest_TYPE_GET_REPLICATION_SCALE_PLAN:\n\t\tpayload, err = st.replicationManager.QueryReplicationScalePlan(req)","sourceCodeStart":134,"sourceCodeEnd":170,"githubUrl":"https://github.com/weaviate/weaviate/blob/75aa4b6d11f8818305aafd4440b4e32794f7ca04/cluster/store_query.go#L134-L170","documentation":"Returned by the RAFT store's Query handler when GetReplicationDetailsByCollectionAndShard fails for a TYPE_GET_REPLICATION_DETAILS_BY_COLLECTION_AND_SHARD request; replication operation details for that collection/shard pair could not be retrieved.","triggerScenarios":"Thrown at cluster/store_query.go:152 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped error for the concrete cause","Verify the collection/shard pair is correct and exists","Retry once the replication op for that shard settles"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"75aa4b6d11f8818305aafd4440b4e32794f7ca04","analyzedAt":"2026-09-04T14:58:20.392Z","contentChangedAt":"2026-09-04T14:58:20.392Z","schemaVersion":2},"datasetVersion":"2026-09-11T21:17:09.523Z"}