Commit bcbdc95
Clarify routing-key range and shard-info docs (review notes)
Address the review notes on CollectionShardInfo / RoutingKeyRange:
- RoutingKeyRange: document that an unbounded bound is len==0 (proto3 bytes have
no presence, so unset and explicitly-empty are indistinguishable on the wire;
consumers must test len(bound)==0 and the type cannot represent an exactly
zero-length present bound).
- CollectionShardInfo.last_truncate_time_tick: document its meaning.
- CollectionShardInfo.routing oneof: note that proto cannot enforce agreement
with routing_mode and the oneof may be unset, so consumers must defend against
an unset routing.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>1 parent a3d55d8 commit bcbdc95
2 files changed
Lines changed: 32 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| 572 | + | |
| 573 | + | |
572 | 574 | | |
573 | 575 | | |
574 | 576 | | |
| |||
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
588 | 594 | | |
589 | 595 | | |
590 | 596 | | |
| |||
598 | 604 | | |
599 | 605 | | |
600 | 606 | | |
601 | | - | |
602 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
603 | 613 | | |
604 | 614 | | |
605 | 615 | | |
| |||
0 commit comments