-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
backtrace when writing different integer schema #25006
Comments
The function that is issuing the first panic (
|
Fyi, Clustered (and presumably Dedicated) handles this fine:
|
@hiltontj the write should never have gotten to that point. It should have failed validation and returned an error to the user. That function should only get called after successful validation. |
I have a reproducer up in #25022 |
* test: add reproducer for #25006 * fix: validate schema of lines in lp and return error for invalid fields
Compiled using
cargo build --target-dir ../target --target=x86_64-unknown-linux-musl --workspace --release
from checkout of commit6f3d6b1b7eaed72a51113ed504b34776e4758000
.Create some line protocol files:
In one terminal, start server with
RUST_BACKTRACE=1 ./influxdb3 serve --object-store file --data-dir ./.influxdb3
In another terminal, write in the files:
Observe the trace in the server terminal:
The text was updated successfully, but these errors were encountered: