Commit 5d8558e
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 eb1e3d2 commit 5d8558e
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 | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
| 536 | + | |
535 | 537 | | |
536 | 538 | | |
537 | 539 | | |
| |||
544 | 546 | | |
545 | 547 | | |
546 | 548 | | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
551 | 557 | | |
552 | 558 | | |
553 | 559 | | |
| |||
561 | 567 | | |
562 | 568 | | |
563 | 569 | | |
564 | | - | |
565 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
566 | 576 | | |
567 | 577 | | |
568 | 578 | | |
| |||
0 commit comments