| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
⚠️ Please install the Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## master #6921 +/- ##
==========================================
+ Coverage 48.64% 48.71% +0.06%
==========================================
Files 427 427
Lines 53864 53934 +70
Branches 7849 7865 +16
==========================================
+ Hits 26203 26272 +69
+ Misses 25792 25789 -3
- Partials 1869 1873 +4
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Adds two optional settings, each Strong, Bounded, Session or Eventually: consistency_level is sent with every read and search, and collection_consistency_level is set when Feast creates a collection. When unset nothing is sent, so Milvus keeps its default (Bounded) exactly as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Simon Hearne <simon.hearne@gmail.com>
| Back | FazBrowse Home | New Git URL |
What this PR does / why we need it:
Adds two optional Milvus online store settings, each Strong, Bounded, Session or Eventually:
default for requests that don't specify a level, e.g. from other clients.
The two are independent. When they are unset nothing is sent, so Milvus keeps its default
(Bounded), which is the current behaviour.
With Bounded, a read issued straight after materialization may briefly miss the newest writes.
consistency_level: Strong makes Feast's reads always see the latest writes, at the cost of higher
read latency, and takes effect without recreating collections.
Which issue(s) this PR fixes:
N/A
Checks
Testing Strategy
Unit tests
Integration tests
Manual tests
Testing is not required for this change
Unit (mocked client): neither level sent when unset; consistency_level sent only to query,
search and keyword query; collection_consistency_level sent only to create_collection;
different values for each are applied independently; invalid values rejected.
Server: collection level is Bounded by default and follows collection_consistency_level;
with consistency_level: Strong on a Bounded collection, a write is visible to the next read.
Unit tests run on Milvus Lite 3.2.1 (pymilvus 3.0.2). Server tests in sdk/python/tests/integration/online_store/test_milvus_remote.py are marked integration and skip unless ZILLIZ_URI and ZILLIZ_TOKEN are set; they passed against a local Milvus 2.6.0, a local Milvus 3.0.2 server and against Zilliz Cloud. The existing Milvus unit and universal integration tests pass unchanged.
Misc
Part of a series of Milvus online store improvements for Zilliz Cloud and production Milvus, following #6882, #6895 and #6917.