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

Attempt to create existing table produces unclear error message from CLI #25809

Open
hiltontj opened this issue Jan 12, 2025 · 0 comments
Open
Labels

Comments

@hiltontj
Copy link
Contributor

Steps to reproduce

From the CLI, with a running influxdb3 server with no data in it, i.e.,

influxdb3 serve --object-store file --data-dir <my_dir> --host-id esspresso

Create a new table:

influxdb3 create table cats --tags color,thickness --database cats

Now perform the same command again:

influxdb3 create table cats --tags color,thickness --database cats

This results in the following error:

Create command failed: server responded with error [500 Internal Server Error]: write buffer error: catalog update error: catalog updated elsewhere

Desired behaviour

This should produce an error indicating that the table cats.cats already exists.

@hiltontj hiltontj added the v3 label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant