Skip to content

Commit

Permalink
fix(cubestore): Elaborate on can't be listed after upload error
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Jul 8, 2022
1 parent a203513 commit bd1ec69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/cubestore/cubestore/src/remotefs/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl QueueRemoteFs {
match self.remote_fs.list_with_metadata(&remote_path).await {
Ok(list) => {
let list_res = list.iter().next().ok_or(CubeError::internal(
format!("File {} can't be listed after upload", remote_path),
format!("File {} can't be listed after upload. Either there's Cube Store cluster misconfiguration, or storage can't provide the required consistency.", remote_path),
));
match list_res {
Ok(file) => {
Expand Down

0 comments on commit bd1ec69

Please sign in to comment.