Commit graph

14 commits

Author SHA1 Message Date
Vladislav
de817098a7
feat(transaction): Single hop blocking, callback flags (#2393)
* feat(transaction): Single hop blocking, callback flags
2024-01-15 21:13:22 +03:00
Borys
5b905452b3
fix: unblock transactions only if requirements are correct (#2345)
fixes #2294

bug: we unblock XREADGROUP cmd even if we don't have new values

fix: added check with custom requirements for blocking comands
2024-01-02 14:55:06 +02:00
Shahar Mike
6c32c8004d
refactor(server): Make FindFirst() read-only (#2317)
* refactor(DbSlice): Replace `FindExt()` with `FindMutable()` and `FindReadOnly`

* fix

* `ExpireConstIterator`

* Don't update stats on FindMutable()

* auto&

* FindFirst

* Remove old Find() method
2023-12-20 09:53:52 +02:00
Vladislav
aaf01d4244
feat(cluster): Cancel blocking commands on cluster update (#2255)
Handle blocking commands during cluster config update

---------

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2023-12-17 15:32:35 +03:00
Vladislav
7673e027b6
fix: refactor RunCbOnFirstNonEmptyBlocking (#1608)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2023-07-31 18:34:23 +03:00
Vladislav
eda941dca6
fix: add Transaction::Conclude (#1606)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2023-07-31 15:37:29 +03:00
Roman Gershman
e5be30cc79
chore: introduce sorted_map (#1558)
Consolidate skiplist based zset functionality into a dedicated class
called SortedMap. The code is adapted from t_zset.c
The old code in t_zset.c is deleted.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-07-18 09:56:45 +03:00
Roman Gershman
2c04311cc3
chore: Remove robj reference from zset_family (#1554)
This is pure refactoring PR that does not change any functionality besides
prohibiting using AsRobj/SyncRobj functions for compact objects of type
OBJ_ZSET. This is needed in case we decide in the future to implement our own
zset type.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-07-17 09:34:12 +03:00
Roman Gershman
fdc2b460e2
chore: improve connection I/O errors reporting (#1436) 2023-06-20 00:14:03 +03:00
Andy Dunstall
1cfeff21a4
feat(streams): Add support for XREAD BLOCK (#1291)
* feat(streams): Add support for XREAD BLOCK

---------

Signed-off-by: Andrew Dunstall <andydunstall@hotmail.co.uk>
2023-05-27 22:47:31 +03:00
Roy Jacobson
6697478a28
Feat bzpopmin (#1232)
* chore: Refactor out common code from BPop ops

* feat: Implement blocking ZSET commands

* Add tests for blocking ZSET commands.

* Refactor changes into container_utils
2023-05-21 03:48:45 +03:00
Vladislav
c3dc05a571
Basic search (#1187)
Basic search (ft.create & ft.search)
2023-05-09 10:09:41 +03:00
Vladislav
ca776119f0
fix(server): Fix ContainerEntry union initialization (#323)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-09-23 19:14:48 +03:00
Vladislav
0377481e28
feat(server): SORT command prototype (#311)
feat(server): Implement SORT

Fixes #287

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
Co-authored-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-09-23 07:17:49 +03:00