This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+6 more
Summary
AI summaryInitial implementation of BUCKET.ADVANCE command added.
Full changelog
This release includes the following fixes and improvements:
- Initial implementation of
BUCKET.ADVANCEcommand added, - New session attributes:
limitandpin_read_version, - Initial implementation of the PlanCursor implementation.
Full Changelog: https://github.com/kronotop/kronotop/compare/v0.11.0...v0.12.0
See Getting Started section to spin up a Kronotop cluster.
Set json as reply_type and input_type
127.0.0.1:5484> SESSION.ATTRIBUTE SET reply_type json
OK
127.0.0.1:5484> SESSION.ATTRIBUTE SET input_type json
OK
Insert some documents:
127.0.0.1:5484> BUCKET.INSERT users '{"username": "dennis"}'
1) 0000324L7V4H40000000xxxx
Fetch all documents in users bucket:
127.0.0.1:5484> BUCKET.QUERY users '{}'
1# 0000324J61UUE0000000xxxx => "{\"username\": \"mark\"}"
2# 0000324JVJ54E0000000xxxx => "{\"username\": \"bill\"}"
3# 0000324KEE5RO0000000xxxx => "{\"username\": \"steve\"}"
4# 0000324KMOI0I0000000xxxx => "{\"username\": \"sam\"}"
5# 0000324L7V4H40000000xxxx => "{\"username\": \"dennis\"}"
Run a query predicate that this the primary index:
127.0.0.1:5484> BUCKET.QUERY users '{"_id": {"$gte": "0000324J61UUE0000000xxxx"}}' LIMIT 3
1# 0000324J61UUE0000000xxxx => "{\"username\": \"mark\"}"
2# 0000324JVJ54E0000000xxxx => "{\"username\": \"bill\"}"
3# 0000324KEE5RO0000000xxxx => "{\"username\": \"steve\"}"
Advance the cursor:
127.0.0.1:5484> BUCKET.ADVANCE
1# 0000324KMOI0I0000000xxxx => "{\"username\": \"sam\"}"
2# 0000324L7V4H40000000xxxx => "{\"username\": \"dennis\"}"
127.0.0.1:5484> BUCKET.ADVANCE
(empty hash)
127.0.0.1:5484>
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Kronotop
All releases →Beta — feedback welcome: [email protected]