Commit 285a4d8
authored
[ENH] Update fork log validation (#5778)
## Description of changes
_Summarize the changes made by this PR._
- Improvements & Bug fixes
- Update the fork log validation logic. We only validate that the
compaction cursor is in the range of copied logs if it exists.
Previously, we enforce this validation by assuming the compaction cursor
is 1, which is not likely the case.
- New functionality
- N/A
## Test plan
_How are these changes tested?_
- [ ] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust
## Migration plan
_Are there any migrations, or any forwards/backwards compatibility
changes needed in order to make sure this change deploys reliably?_
## Observability plan
_What is the plan to instrument and monitor this change?_
## Documentation Changes
_Are all docstrings for user-facing APIs updated if required? Do we need
to make documentation changes in the_ [_docs
section](https://github.com/chroma-core/chroma/tree/main/docs/docs.trychroma.com)?_1 parent d007e73 commit 285a4d8
1 file changed
+31
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1434 | 1434 | | |
1435 | 1435 | | |
1436 | 1436 | | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
1440 | | - | |
| 1437 | + | |
| 1438 | + | |
1441 | 1439 | | |
1442 | 1440 | | |
1443 | 1441 | | |
1444 | 1442 | | |
1445 | | - | |
| 1443 | + | |
1446 | 1444 | | |
1447 | 1445 | | |
1448 | 1446 | | |
| |||
1463 | 1461 | | |
1464 | 1462 | | |
1465 | 1463 | | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
1471 | 1464 | | |
1472 | 1465 | | |
1473 | | - | |
1474 | | - | |
1475 | | - | |
1476 | | - | |
1477 | | - | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
1478 | 1484 | | |
1479 | | - | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
1480 | 1488 | | |
1481 | 1489 | | |
1482 | 1490 | | |
1483 | 1491 | | |
1484 | 1492 | | |
1485 | | - | |
| 1493 | + | |
1486 | 1494 | | |
1487 | 1495 | | |
1488 | | - | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
1489 | 1500 | | |
1490 | 1501 | | |
1491 | | - | |
| 1502 | + | |
1492 | 1503 | | |
1493 | | - | |
| 1504 | + | |
1494 | 1505 | | |
1495 | 1506 | | |
1496 | 1507 | | |
| |||
0 commit comments