Releases: dragonflydb/dragonfly
Releases Β· dragonflydb/dragonfly
v1.29.0
Dragonfly v1.29.0
Important stability fixes and changes:
- Improvements and bug fixes around FT.Search: #4810 #4868 #4942 #4844 #4930 #4941#4837
- Lua stack buffer overflow crash #4853
- Reduce the negative effect of replication/slot migration on throughput and latency #4821 #4910
What's Changed
- fix: support dump for external objects by @romange in #4794
- feat: add sleep between migration connecting attempts by @BorysTheDev in #4798
- feat test: add test for pipeline queue overlimit by @adiholden in #4791
- fix(json_family): Fix memory tracking for JSON by @BagritsevichStepan in #4777
- fix(hset_family): Fix crash on scan after expiry set by @abhijat in #4802
- feat: ignore managed_service_info flag for cluster by @BorysTheDev in #4803
- fix(hll_family): Fixed PFMERGE wrong merge operation by @mkaruza in #4796
- chore(bptree): introduce ability comparing keys to non-key types by @romange in #4805
- chore(cluster_mgr): introduce SlotRange class by @romange in #4814
- fix: python tests were excluded for epoll case. by @vyavdoshenko in #4813
- feat(server): Add support for aliasing commands by @abhijat in #4782
- chore: remove pointer tagging for ScoreSdsPolicy by @romange in #4815
- chore: refactor debug populate by @romange in #4823
- fix: python test was excluded for epoll case. by @vyavdoshenko in #4824
- feat(dfly_bench): allow generation of keys without hashslots for set/get by @romange in #4818
- feat(dfly_bench): Handle moved slots in cluster by @mkaruza in #4761
- feat(cluster_mgr): add populate command by @romange in #4816
- feat(docker): push dragonfly image to gcp artifact registry by @Abhra303 in #4716
- fix(dfly_bench): Get MOVED error from parsed response by @mkaruza in #4827
- fix(pytest): Save into S3 temp directory by @mkaruza in #4806
- feat(server): flush slots traverse better yield by @adiholden in #4821
- fix: Backward compatibility for fields without the "@" sign in the FT.AGGREGATE command by @vyavdoshenko in #4810
- feat(command docs): Enable fallback tab completion in cli by @abhijat in #4842
- chore(zset_family/score_map): Replace sds arguments with string_view by @abhijat in #4738
- fix: Added query to log on error by @vyavdoshenko in #4843
- fix(replication_test): Temporary skip test_bug_in_json_memory_tracking test by @BagritsevichStepan in #4845
- refactor: rename cntx variable to exec_st by @BorysTheDev in #4847
- feat(metrics): Update metrics for aliased commands by @abhijat in #4819
- chore: turn on more logs for test_replication_timeout_on_full_sync by @BorysTheDev in #4848
- fix(rdb_load): Handle JSON loading failure when parsing fails by @BagritsevichStepan in #4801
- fix(snapshot): Append trailing slash for GCP by @mkaruza in #4846
- fix(lua) : Prevent Lua stack buffer overflow crash (#4853) by @KIMDONGYEON00 in #4854
- fix: increase timeout for test_replication_timeout_on_full_sync by @BorysTheDev in #4851
- fix(test): test_cluster_slot_ownership_changes by @adiholden in #4852
- fix(server_family): Remove redundant logging in the CLIENT command by @BagritsevichStepan in #4859
- fix test: test_cluster_slot_ownership_changes by @adiholden in #4865
- chore: Remove version attribute from compose file by @ajnart in #4869
- fix: FT.SEARCH commas support for ranges by @vyavdoshenko in #4844
- chore: turn on more logs for test_migration_timeout_on_sync by @BorysTheDev in #4870
- chore(search_family): Add logging for monostate queries by @BagritsevichStepan in #4872
- feat(server): SCAN command add ATTR options by @lichuang in #4766
- feat: Support synonyms in queries. Add FT.SYNUPDATE, FT.SYNDUMP by @vyavdoshenko in #4837
- feat(server): add connections send timeout by @adiholden in #4874
- fix: add version id for dev container builds by @romange in #4878
- fix: local dashboard show rapid changes in QPS by @romange in #4886
- fix: '@text:prefix*' matching for fields. by @vyavdoshenko in #4868
- fix: test_migration_rebalance_node by @BorysTheDev in #4891
- feat: debug compression by @romange in #4879
- fix: docker release should be updated latest version using semantic version of latest tag by @vyavdoshenko in #4887
- fix: lsn check failure by @kostasrim in #4881
- fix: skip heartbeat if shard is under global lock by @kostasrim in #4882
- fix: update timeout for connection test by @vyavdoshenko in #4895
- fix: make pause all for migration finalization by @BorysTheDev in #4897
- chore: test snapshot in replica while seeding master by @kostasrim in #4867
- feat(server): Move bumpup logic out of FindInternal by @mkaruza in #4877
- pytest: temporarily skip test while its failures are investigated by @abhijat in #4900
- test: tune test_cluster_migration_while_seeding to reduce false/posit⦠by @BorysTheDev in #4901
- fix: take_over_counters by @kostasrim in #4890
- fix(hset_family): Ensure empty hash sets are removed by @abhijat in #4873
- fix: test_replica_snapshot_with_big_values_while_seeding by @kostasrim in #4902
- fix(rdb): Print tag as int in error by @abhijat in #4908
- feat(server): Exit process if error is report during load snapshot by @mkaruza in #4907
- fix: invalid master_last_io_seconds_ago metric during stable sync by @vyavdoshenko in #4892
- fix(pytest): Remove invalid argument from pytest by @mkaruza in #4912
- fix(hset): Fix size account discrepancy when setting TTL by @abhijat in #4913
- perf: Added benchmarks for different operations in String Set. by @H4R5H1T-007 in #4866
- refactor: add ability to reinit incoming migration object by @BorysTheDev in #4756
- fix: cancel blocking command during migration finalization by @BorysTheDev in #4904
- fix(pytest): Wait exception on instance start and stop by @mkaruza in #4916
- chore: Cleanup DbSlice::CallChangeCallbacks by @mkaruza in #4917
- fix: Skip test_take_over_counters for epoll by @abhijat in #4919
- test: add logs for cluster_mgr_test.py by @BorysTheDev in #4920
- chore: improve SlotRanges::Merge algorithm by @BorysTheDev in #4921
- fix(stream_family): Fix memory tracking for the STREAMs. SECOND PR by @BagritsevichStepan in #4781
- fix(set_family): Update object time during SET FIELDEXPIRE by @mkaruza in #4903
- fix: Dropping stale connections updated by @vyavdoshenko in #4909
- fix: prefix search with added synonyms fixed by @vyavdoshenko in #4930
- fix: test_migration_timeout_on_sync by @BorysTheDev in #4933
- fix(connection): Close MONITOR connection if pipeline...
v1.28.2
This is a patch release.
What's Changed
- server(bug): fix json mget crash on invalid path (#4940)
- fix: ZRANGE with LIMIT parameters crash fixed (#4944)
- fix(set_family): Transfer TTL flag from DenseLink object in delete (#4947)
- chore: add metrics for heartbeat evictions (#4952)
Full Changelog: v1.28.1...v1.28.2
v1.28.1
This is a patch release.
Update urgency low, unless you use TLS sockets.
What's Changed
- fix: TLS short write bug (romange/helio@bfb655c)
- fix(hset_family): Fix crash on scan after expiry set (#4802)
- feat(server): flush slots traverse better yield (#4821)
- feat(cluster): add sleep between migration connecting attempts (#4798)
v1.27.4
This is a patch release.
Update urgency low, unless you use TLS sockets or streams.
What's Changed
- fix: TLS short write (romange/helio@bfb655c)
- fix(stream_family): Fix replication for the XADD and XTRIM commands (#4591)
- Fix auto journaling in transaction (#4737)
- fix(hset_family): Fix crash on scan after expiry set (#4802)
- fix(cluster): flush slots traverse better yield (#4821)
- fix(cluster): control cluster migration speed with flag (#4734)
Full Changelog: v1.27.3...v1.27.4
v1.28.0
Dragonfly v1.28.0 - Spring Edition π΅
This marks our second release for the year, with lots of bugs closed and probably some new bugs introduced.
Important fixes and changes:
- Deadlocked transaction bugs #4590 #4647 #4685
- Sharded pubsub (API-7) : #4702 #4518 #4529
- Fix Streams replication #4591 #4737
- Numerous cluster improvements #4727 #4786 #4767
What's Changed
- fix(search_family): Add options test for the FT.AGGREGATE command by @BagritsevichStepan in #4479
- fix(stream_family): Fix replication for the XADD and XTRIM commands by @BagritsevichStepan in #4591
- chore(search_family): Simplify FT.SEARCH reply code by @BagritsevichStepan in #4553
- feat(zset family): Implement ZDIFFSTORE by @mkaruza in #4582
- fix(seeder): Support stream types in the Seeder by @BagritsevichStepan in #4574
- fix: debian path in dragonfly.service by @romange in #4594
- fix: tls replication without ca verification by @kostasrim in #4539
- fix(server): list move on single shard wake blocking transaction by @adiholden in #4590
- fix: race when bumping items while loading a snapshot by @kostasrim in #4564
- fix: multi/exec CROSSSLOT error processing by @BorysTheDev in #4598
- test: added test_keys_expiration_during_migration by @BorysTheDev in #4558
- chore: fix test_snapshot by @kostasrim in #4607
- chore: fix glob translation with \ at the end by @romange in #4608
- feat: support lz4 compression method by @romange in #4610
- fix: test_keys_expiration_during_migration by @BorysTheDev in #4613
- chore: add zstd_test by @romange in #4614
- chore: simplify transaction code by @romange in #4602
- fix: epoll reg tests running on iouring by @kostasrim in #4612
- chore: use macos-14 for the daily macos build by @kostasrim in #4609
- chore: introduce docker release pipeline by @romange in #4618
- chore: connection pipeline cache does not shrink by @kostasrim in #4491
- chore: implement sharded pub/sub by @kostasrim in #4518
- chore: introduce background deletions of DenseSet objects by @romange in #4496
- fix: revert reflex based matching due to performance problems by @romange in #4626
- chore: allow yielding in Scan command by @kostasrim in #4624
- refactor: simplify journal and restore streamer cancellation by @BorysTheDev in #4549
- server: rdb loader big string loading in chunks by @adiholden in #4623
- chore: remove redundant calls to GetSlice by @romange in #4635
- server: redis parser reject big bulk read by @adiholden in #4627
- chore: Improve loading of sorted sets by @romange in #4631
- fix: invalid BUSYKEY response by @romange in #4637
- chore: propagate reserve data upon restore by @romange in #4641
- chore: get rid of sds in SortedMap::AddElem by @romange in #4638
- fix: improve test_send_delay_metric test by @romange in #4642
- fix: do not flush replicaof if failed to connect by @kostasrim in #4636
- fix: performance degradation with Reflex matching by @romange in #4634
- chore: get rid of lispack stats by @romange in #4644
- chore: add listpack statistics to objhist by @romange in #4650
- chore: allow sampling of topk hottest keys. by @romange in #4649
- feat: implement unique keys counting using hll by @romange in #4652
- fix: pull latest helio by @romange in #4651
- chore: unsubscribe pub/sub connections after cluster migration by @kostasrim in #4529
- fix: bring back the helm step to docker release action by @romange in #4657
- fix: do not crash upon inconsistent expire iterator by @romange in #4658
- chore: replace try assert false with pytest.raises by @kostasrim in #4662
- server: disable single shard tx optimization on scheduling by @adiholden in #4647
- fix: race condition in ReplicaOfInternal by @kostasrim in #4653
- Support Cluster configuration for dfly_bench by @romange in #4664
- CI: add slow regression tests by @adiholden in #4646
- fix: replication error message and scan command yield by @kostasrim in #4665
- feat: add migration error statistic by @BorysTheDev in #4643
- chore: refactor ServerFamily::Info by @romange in #4671
- fix(search_family): Add option tests for the FT.CREATE command by @BagritsevichStepan in #4678
- chore: introduce DEBUG COMPRESSION by @romange in #4620
- chore: cluster related clean ups by @romange in #4683
- fix: SendInvalidationTrackingMessage should not block. by @romange in #4680
- fix: reduce stack usage on Fedora by @romange in #4690
- fix(server): deadlock with replicaof inside multi by @adiholden in #4685
- fix(metrics): add corresponding comments to command metrics by @Yomanz in #4674
- feat: Added a flag to ignore key expiry. by @H4R5H1T-007 in #4667
- feat(cluster_mgr): Add argument to set path to dragonfly binary by @mkaruza in #4695
- fix: possible preemption under FiberAtomicGuard by @romange in #4692
- chore: add debug printings to SetExisting by @romange in #4694
- chore: Add debug logs to help tracking transactional deadlocks by @romange in #4669
- chore: snapshot/tiering improvements by @romange in #4661
- chore: disable failing epoll tests by @kostasrim in #4699
- feat: client unpause and client help by @kostasrim in #4630
- fix: ZMSCORE return value if key does not exist by @vyavdoshenko in #4697
- fix: prevent tx_executor reading from sock if operation is canceled by @BorysTheDev in #4704
- feat(set_family): Update TTL for existing fields in SADDEX by @abhijat in #4700
- chore: update CONTRIBUTING.md by @kostasrim in #4703
- chore: minor clean ups before introducing ProvidedBuffers by @romange in #4709
- refactor: clean cluster code by @BorysTheDev in #4707
- fix: Remove the dfly logo print from pytest run #4682 by @vyavdoshenko in #4706
- fix(json_family): Fix JSON.SET handling for nested fields by @BagritsevichStepan in #4710
- fix(dfly_bench): support dns resolution for cluster hosts by @romange in #4715
- fix: buffer overrun in GetRandomHex by @romange in #4717
- feat(set_family): Add support for KEEPTTL to SAddEx by @abhijat in #4712
- fix: preemption in atomic section of heartbeat by @kostasrim in #4720
- Revert "chore: minor clean ups before introducing ProvidedBuffers (#4β¦ by @adiholden in #4719
- feat(server): Add PUBSUB SHARDCHANNELS/SHARDNUMSUB by @mkaruza in #4702
- fix(dfly_bench): track hit rate for mget command by @romange in https://github.com/dragonflydb/dr...
v1.27.3
This is a patch release.
What's Changed
- fix: invalid reference inside GetQueueBackpressure (#4789)
- fix(cluster) : moved error port number on migration finish (#4776)
Full Changelog: v1.27.2...v1.27.3
v1.27.2
This is a patch release.
What's Changed
- fix: add corresponding comments to command metrics (#4674)
- fix: deadlock with replicaof inside multi (#4685)
- feat: allow cluster READONLY command (#4727)
- fix: disable single shard tx optimization on scheduling (#4647)
- fix: preemption in atomic section of heartbeat (#4720)
Full Changelog: v1.27.1...v1.27.2
v1.27.1
This is a patch release.
What's Changed
- fix: wrong binary path in deb package (#4593)
Update urgency: low
Full Changelog: v1.27.0...v1.27.1
v1.27.0
Dragonfly v1.27.0 - a Valentine Edition π
This marks our first release for the year, featuring numerous stability fixes and performance enhancements.
Important features and changes:
- Fixes around JSON+SEARCH: #4232 #4314
- Support for memcached meta protocol #4362 #4398 #4366
- Fixes in tiering code #4395 #4388 #4416
- Added LMPOP #4504 and ZMPOP #4385
What's Changed
- fix: test_network_disconnect_during_migration by @BorysTheDev in #4345
- refactor(rdb_saver): Add SnapshotDataConsumer to SliceSnapshot by @BagritsevichStepan in #4287
- chore(rax_tree): Introduce raxFreeWithCallback call in RaxTreeMap destructor by @BagritsevichStepan in #4255
- refactor(search_family): Add Aggregator class by @BagritsevichStepan in #4290
- fix: avoid on stack allocation of lz4 compression context by @romange in #4322
- chore: update helio and improve our stack overflow resiliency by @romange in #4349
- fix: configure jsonconst double parser to use std::from_chars by @romange in #4360
- fix(search_family): Support boolean and nullable types in indexes by @BagritsevichStepan in #4314
- fix(search_family): Support multiple fields in SORTBY option in the FT.AGGREGATE command. SECOND PR by @BagritsevichStepan in #4232
- test: skip test_network_disconnect_during_migration by @BorysTheDev in #4359
- fix(json_family): Remove std::endl during logging in ParseJsonPath method by @BagritsevichStepan in #4363
- feat: add support for meta memcache commands by @romange in #4362
- chore(test): disable failing test untill fixed by @adiholden in #4367
- chore(deps): bump the actions group across 1 directory with 2 updates by @dependabot in #4361
- feat: support memcache meta responses by @romange in #4366
- fix(pytest): fix failing test test_replication_timeout_on_full_sync by @adiholden in #4370
- chore(json_family): Remove redundant JSON value copying by @BagritsevichStepan in #4375
- feat(rdb_saver): Support big value serialization for stream by @BagritsevichStepan in #4376
- chore(snapshot): Small cleanup in Snapshot code by @BagritsevichStepan in #4377
- fix: stream memory counting durin snapshot loading by @BorysTheDev in #4346
- fix: return value for DflyMigrateAck by @BorysTheDev in #4379
- chore(server): cleanup replication shard sync execution by @adiholden in #4374
- test: fix test_network_disconnect_during_migration by @BorysTheDev in #4378
- fix(snapshot_test): Fix test_big_value_serialization_memory_limit after adding streams support by @BagritsevichStepan in #4383
- fix: ExternalAllocator::Free with large sizes by @romange in #4388
- fix(server): debug populate consume less memory by @adiholden in #4384
- refactor: slot_set don't use stack memory anymore by @BorysTheDev in #4386
- feat:Adding support for ZMPOP command by @guyzilla in #4385
- fix(replication): do not log to journal on callback fail by @adiholden in #4392
- chore: minor refactorings around dense_set deletions by @romange in #4390
- feat(server): refactor allow preempt on journal record by @adiholden in #4393
- fix: allow cluster node load snapshot bigger than maxmemory by @BorysTheDev in #4394
- fix: properly clear tiered stashes upon expirations by @romange in #4395
- feat: support deletions with meta protocol by @romange in #4398
- fix(tests): check cluster big snapshot in unit test by @adiholden in #4403
- chore(pytest): add timeout per test by @adiholden in #4404
- fix: provide resp3 option to CapturingReplyBuilder by @BorysTheDev in #4400
- chore: deprecate unneeded runtime flags by @romange in #4405
- feat: Yield inside huge values migration serialization by @chakaz in #4197
- chore(pytest): add check for rss grow in replicaiton big values by @adiholden in #4406
- feat: allow querying of json objects stored as strings by @romange in #4399
- test: move ReplicaofRejectOnLoad test from pytest into unit tests by @BorysTheDev in #4410
- chore: Increase migration wait time in
test_cluster_migration_huge_container
by @chakaz in #4409 - chore: Introduce small buffer in redis parser by @romange in #4076
- fix: invalid iterator case in Qlist::Erase by @romange in #4414
- test: add test migration in cache mode by @BorysTheDev in #4413
- fix: ExtentTree use of invalidated iterator by @kostasrim in #4416
- chore: fix build on FreeBSD by @chakaz in #4412
- chore: reduce number of logs in cluster tests by @BorysTheDev in #4419
- fix: geosearch and georadius response format by @kostasrim in #4420
- chore: split geo and zset families by @kostasrim in #4421
- fix: switch to SHUTTING_DOWN state unconditionally by @romange in #4408
- chore: split zset and geo family tests by @kostasrim in #4425
- refactor: remove transaction lib on cluster code dependency by @BorysTheDev in #4417
- chore: Increase migration wait time in
test_cluster_migration_huge_container
by @chakaz in #4427 - chore: update jsoncons version to 0.178 by @romange in #4368
- fix: improve error propagation with RESTORE commands by @romange in #4428
- fix: show managed stuff on privileged port by @romange in #4433
- chore: dragonfly connection refactorings by @romange in #4434
- fix: reply_builder should properly serialize bulk strings endings. by @romange in #4441
- chore: pull latest helio by @romange in #4446
- chore: Remove template Callbacks by @BagritsevichStepan in #4431
- fix: resp inline parsing correctly resets itself by @romange in #4458
- fix(ci): sanitizers build by @kostasrim in #4457
- chore: Add stats print for slot migrations by @chakaz in #4456
- fix: slot calculation during transaction squashing by @BorysTheDev in #4460
- fix(sanitizers): Set stack size to 64 KB during tests for Sanitizers by @BagritsevichStepan in #4454
- Fix test hypothesis by @cunla in #4380
- feat(dev): allow monitoring a valkey server on localhost by @romange in #4467
- chore: add Dash::Prefetch function by @romange in #4476
- chore: dfly_bench now accepts data and score template names by @romange in #4477
- chore: replace deprecated HELIO_STACK_CHECK by @kostasrim in #4465
- chore: Fix all clang build warnings by @chakaz in #4475
- fix: hiredis requires df to report version >7.4 by @kostasrim in #4474
- chore: make per-thread QueueBackpressure objects global by @romange in #4482
- chore: OpManagerTest fixes by @romange in #4480
- chore: run replication reg tests with epoll by @kostasrim in #4426
- chore: remove pubsub semantics from Connection::WeakRef by @romange in https://github.com/dragonflydb/dragonfl...
v1.26.4
This is a patch release.
What's Changed
- fix: huge TTL in RESTORE cmd is rounded down to kMaxExpireDeadlineMs (#4589)
- fix: fix: incorrect passing of db_index in EVAL transactions (#4586)
Update urgency: low
Full Changelog: v1.26.3...v1.26.4