Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't error when importing samples fails against one of a list of clusters #285

Open
Westwooo opened this issue Mar 25, 2024 · 0 comments
Open

Comments

@Westwooo
Copy link
Contributor

'buckets load sample' can be used to import sample data into multiple clusters/databases at the same time. When this fails the call will error out and no more samples will be imported. The behaviour should be changed so that instead of erroring out the failure is returned to the shell and other imports are attempted. For example if importing to two clusters A and B and the import fails on A but succeeds on B we should see:

╭───┬─────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────|
│ # │ cluster │    sample     |             taskId                   |                          status                          |                                              
├───┼─────────┼───────────────|──────────────────────────────────────|──────────────────────────────────────────────────────────|
│ 0 │ A       │  travel-sample| 991a2e9c-6993-48e3-b8b0-2d05811e7a8c | failure - Sample bucket travel-sample is already loaded  |
|───┴─────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────|
| 1 | B       | travel-sample | 817k9kj1-1823-1da9-ba12-39amcudoqo12 |                         success                          |
╰───┴─────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants