Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent thread panic on large tag values using postgres
Exceptionally large tag values (thousands of characters) can result in an error from postgres: index row size exceeds btree version 4 maximum 2704 for index "tag_value_idx". This panics the writer thread, and prevents further writes from succeeding. This change simply removes the unwrap, allowing the error to propagate where it is sent as a write error back to the client. The error message could be improved. scsibug#196
- Loading branch information