Commit 915a24b
authored
[ENH] Do not trace failed preconditions when flushing compaction. (#5155)
## Description of changes
The soft-deleted compaction will return an error that's not
distinguishable from other errors. It will percolate to the dispatcher
and be logged like every other error.
In #5064, we added a should_trace_error function on the chroma Error
trait, which will silence the error at the dispatcher. This PR applies
that annotation to the failed precondition.
## Test plan
CI
## Migration plan
N/A
## Observability plan
We get paged today.
We don't get paged in the future.
## Documentation Changes
N/A1 parent 089af4a commit 915a24b
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
1434 | | - | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
1435 | 1443 | | |
1436 | 1444 | | |
1437 | 1445 | | |
1438 | 1446 | | |
1439 | 1447 | | |
1440 | 1448 | | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
1441 | 1453 | | |
1442 | 1454 | | |
1443 | 1455 | | |
| |||
0 commit comments