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

Correctly handle MaxSeriesPerDatabaseExceeded PartialWriteError #23090

Closed
davidby-influx opened this issue Feb 2, 2022 · 0 comments · Fixed by #23091
Closed

Correctly handle MaxSeriesPerDatabaseExceeded PartialWriteError #23090

davidby-influx opened this issue Feb 2, 2022 · 0 comments · Fixed by #23091

Comments

@davidby-influx
Copy link
Contributor

Exceeding the configuration parameter MaxSeriesPerDatabase is incorrectly handled in shard.go because the error type is assumed to be a *PartialWriteError when the returned error is not the pointer type. Add additional logging to show the limit, the number of series currently in the database, and the number of new keys to be created which exceeded the limit.

@davidby-influx davidby-influx self-assigned this Feb 2, 2022
davidby-influx added a commit that referenced this issue Feb 2, 2022
Check for the correctly returned PartialWriteError
in (*shard).validateSeriesAndFields, allow partial
writes.

closes #23090
davidby-influx added a commit that referenced this issue Feb 2, 2022
Check for the correctly returned PartialWriteError
in (*shard).validateSeriesAndFields, allow partial
writes.

closes #23090
davidby-influx added a commit that referenced this issue Feb 2, 2022
Check for the correctly returned PartialWriteError
in (*shard).validateSeriesAndFields, allow partial
writes.

closes #23090

(cherry picked from commit 0c3dca8)
@davidby-influx davidby-influx linked a pull request Feb 2, 2022 that will close this issue
3 tasks
davidby-influx added a commit that referenced this issue Feb 2, 2022
Check for the correctly returned PartialWriteError
in (*shard).validateSeriesAndFields, allow partial
writes.

closes #23090

(cherry picked from commit 0c3dca8)

closes #23092
davidby-influx added a commit that referenced this issue Feb 2, 2022
Check for the correctly returned PartialWriteError
in (*shard).validateSeriesAndFields, allow partial
writes.

closes #23090

(cherry picked from commit 0c3dca8)

closes #23096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant