Closed ThomasAlxDmy closed 1 year ago
@ThomasAlxDmy I think you need to upgrade the pymilvus to 2.2.1, as TTL is a new feature since pymilvus 2.2.0.
/assign @ThomasAlxDmy
Exactly, ttl only works for newest SDK and Milvus 2.2.0+ We highly recommend to use latest SDK for test
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
Hey all I looked into it again with pymilvus==2.2.3
and problem is the same. Created a new collection 7 days ago and I see Approx Entity Count: 346,132,883. But I have not been inserting data into it for the last 3 days and the collection does not shrink in size.
Can I see the ttl properties on the collection somewhere?
Going to do a new experiment with 24h collection:
python3 tools/ingest/create_collection.py
Creating collection: embeddings_mini_lm_l6v2_short with properties:{'collection.ttl.seconds': 86400}
Success!
index creation Status(code=0, message=)
Hey all I looked into it again with
pymilvus==2.2.3
and problem is the same. Created a new collection 7 days ago and I see Approx Entity Count: 346,132,883. But I have not been inserting data into it for the last 3 days and the collection does not shrink in size.Can I see the ttl properties on the collection somewhere?
Going to do a new experiment with 24h collection:
python3 tools/ingest/create_collection.py Creating collection: embeddings_mini_lm_l6v2_short with properties:{'collection.ttl.seconds': 86400} Success! index creation Status(code=0, message=)
can you trigger a compaction manually see if it works? My guess would be we need some better estimation on expired data size to trigger data expiration
Just checking in to see if you are still running into this issue.
Are you recommending to call in python collection.compact
?
Are you recommending to call in python collection.compact ?
Yes
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
this issue should be fixed by latest milvus
confirmed it's fixed!
Is there an existing issue for this?
Environment
Current Behavior
Creating a collection with TTL does not expire any items (collection size should be around 12Million but is now 64 million and still growing after 12h)
creates the collection but it doesn't seems it created it with TTL.
Setting TTL fails..
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response