1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
Commit graph

537 commits

Author SHA1 Message Date
Vladislav
a6964b3538
fix(server): Fix db_slice insertion bug with callbacks (#499)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-11-17 06:53:09 +02:00
Boaz Sade
6f45e80137
fix(test): skip pytest test_simple_full_sync_mutli_crash due to crash (#497)
Signed-off-by: Boaz Sade <boaz@dragonflydb.io>

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-11-16 14:05:33 +02:00
zNNiz
57a313cf5a
A dedicated github actions pipeline that build dragonfly and runs pyt… (#490)
Adding a regression pipeline

A dedicated github actions pipeline that build dragonfly and runs pytests located under "tests/dragonfly" every 3 days

Fixes #291

Signed-off-by: zNNiz <96877065+zNNiz@users.noreply.github.com>
2022-11-16 13:05:43 +02:00
Roman Gershman
c2294e1298
fix: Fix bugs around rdb save and improve memory accounting (#495)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-11-16 12:19:35 +02:00
Vladislav
1236f92381
fix(server): Handle data directory errors (#494)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
Signed-off-by: Vladislav <vlad@dragonflydb.io>
2022-11-16 10:55:39 +02:00
Roman Gershman
1468226d6f
feat: Add last_save_duration_sec metric (#493)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-11-16 09:01:34 +02:00
Roman Gershman
b74c53d537
chore: Rename DoFlush to Drakaris. (#489)
chore: Rename DoFlush to Drakarys.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-11-16 00:03:32 +02:00
romange
21ced808c5 chore(helm-chart): update to v0.11.0 2022-11-14 07:40:46 +00:00
adiholden
b395834060
feat(server family): add connection set name command fixes #458 (#485)
server family: add connection set name command fixes #458

Signed-off-by: adi_holden <adi@dragonflydb.io>
2022-11-13 17:54:37 +02:00
iko1
c9c33b476b
feat(server): implement json.resp command (#104) (#482)
Signed-off-by: iko1 <me@remotecpp.dev>
2022-11-13 09:23:02 +02:00
Vladislav
688ce16d0d
fix(server): Fix path concatenation in save (#481)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-11-13 08:10:11 +02:00
Kavinli
e9380f24d0
fix: DCHECK_NOTNULL gets WARNING when return value is not used. (#483)
Signed-off-by: Super-long <0x4f4f4f4f@gmail.com>
2022-11-13 08:09:21 +02:00
Kavinli
d1bb6efcd4
feat(server): add support for KEEPTTL options with SET command #389 (#478)
Signed-off-by: Super-long <0x4f4f4f4f@gmail.com>
2022-11-12 18:47:08 +02:00
Vladislav
ad36a0928b
fix(server): Fix snapshot saving bug (#479)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-11-12 17:02:30 +02:00
Roman Gershman
0375e03cd0
fix(server): Fix bad maxmemory casting (#477)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-11-10 22:31:48 +02:00
Leonardo Mello
ac5bc59c34
fix: maxmemory flag support human-readable format (#476)
Signed-off-by: Leonardo Mello <lsvmello@gmail.com>
2022-11-10 19:59:58 +02:00
adiholden
97057cadcf
bug(dense set): fix scan function to return only home bucket data (#474)
dense set: fix scan function to return only home bucket data

Signed-off-by: adi_holden <adi@dragonflydb.io>
2022-11-10 19:24:31 +02:00
adiholden
22f8554680
SSCAN command support count and match parameters (#466)
SSCAN command support count and match parameters fixes #426

Signed-off-by: adi_holden <adi@dragonflydb.io>

Signed-off-by: adi_holden <adi@dragonflydb.io>
2022-11-09 23:33:54 +02:00
Boaz Sade
91ab423e6a
fix(server): issue with invalid command inside multi #468 (#469)
fix(server): Fix redundant locking in multi transactions

Apparently commands that scheduled themselves using "Schedule()" call
crashed under multi transactions. This has been fixed now inside Transaction code.
It has been covered by DflyEngineTest.MultiRename test.

In addition, this PR fixes #468 that opened the rabbit hole of
nasty bugs under multi transactions.

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
Signed-off-by: Roman Gershman <roman@dragonflydb.io>

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-11-09 23:31:19 +02:00
iko1
4567925440
feat(server): implement json.debug command (#104) (#463)
Signed-off-by: iko1 <me@remotecpp.dev>
2022-11-09 22:49:59 +02:00
Boaz Sade
214c10f165
fix(server): reject eval inside transaction multi blocks #457 (#471)
fix(server): block running lua script inside pipeline #457

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-11-09 19:18:28 +02:00
Vladislav
a314b1b50a
refactor(server): Refactor replica (#472)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-11-09 13:45:21 +03:00
Boaz Sade
5e64ed1fe3
feat(server): simplify handling of the pub message handling (#465)
feat(server): sending message to subscriber using shared ptr to simplify code

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-11-08 15:04:31 +02:00
b0bleet
b7964b3a16
server: implemented json.arrappend command (#460)
feat(server): implemented json.arrappend command
Signed-off-by: b0bleet@placeq.com
2022-11-07 17:36:14 +02:00
b0bleet
acafbc6f4f
feat(server) implement pexpire command (#464)
Signed-off-by: b0bleet b0bleet@placeq.com
2022-11-06 22:07:41 +02:00
Vladislav
8424f74bec
feat(server): Basic capped full sync (#440)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-11-06 17:27:43 +03:00
Boaz Sade
2ed4d3489b
feat(tests): ioredis being able to successfully run tests, make it ready to be part of CI (#459)
Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-11-06 15:21:41 +02:00
Leonardo Mello
e46e5819c9
ci: added clang pre-commit hook (#461)
Signed-off-by: Leonardo Mello <lsvmello@gmail.com>
2022-11-05 22:16:57 +02:00
Roman Gershman
2b87088121
fix(list): Fixes blpop failure. (#462)
The bug was that if two push operations where queued together in the tx queue,
and the first push awakes pending blpop, then the PollExecution function would continue with the
second push before switching to blpop, which contradicts the spec.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-11-05 14:43:11 +02:00
RedhaL
d95de3347a
feat(server): Support for LIMIT and REV in ZRANGE #422 (#456) 2022-11-03 14:57:20 +03:00
iko1
1c483f123e
feat(server): implement json.mget command (#104) (#455)
Signed-off-by: iko1 <me@remotecpp.dev>
2022-11-01 18:51:33 +02:00
Leonardo Mello
efd307dbb9
feat(server): implement TOUCH command (#444)
Signed-off-by: Leonardo Mello <lsvmello@gmail.com>

Signed-off-by: Leonardo Mello <lsvmello@gmail.com>
2022-10-31 21:07:13 +02:00
Roman Gershman
becc0f38c0
docs(build): Canonicalize build from source instructions. Add CLA terms (#454) 2022-10-31 17:45:48 +02:00
Vladislav
072cb2e8d9
refactor(tests): Refactor pytest (#449)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-10-31 16:39:20 +02:00
Leonardo Mello
fabad45d42
fix: "wrong number of arguments" must be in lower case (#439)
Signed-off-by: Leonardo Mello <lsvmello@gmail.com>
2022-10-26 16:36:50 +03:00
Boaz Sade
e0559afb51
feat(server): monitor command - cover by tests (#435)
feat(server): pytests for monitor, pipeline and pubsub, update readme

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-10-26 14:12:49 +03:00
ZhaolongLi
3e4771beb6
fix: dragonfly compilation failure due to glibc version less than 2.30 (#434)
Signed-off-by: Super-long <0x4f4f4f4f@gmail.com>
2022-10-26 10:49:59 +03:00
Vladislav
bff4b0a660
refactor(server): Separate start & stop in rdb save (#437)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-10-26 10:48:27 +03:00
Boaz Sade
f4f7e641a7
feat(server): monitor command should return OK on creation (#344) (#433)
Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-10-25 11:19:37 +03:00
Vladislav
3115679d09
refactor(server): Refactor and tidy dflycmd (#432)
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-10-25 11:19:01 +03:00
Vladislav
e4357e1f10
feat(server): Multi rdb load (#430)
* feat(server): Multi rdb load

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-10-24 21:22:43 +03:00
Boaz Sade
c9f7cbe0e9
Monitor command (#427)
feat(server): support monitor command - allowing user to debug commands
from all connections by using a connection as monitors for the this
(#344)

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-10-24 18:29:34 +03:00
Roman Gershman
f8f3eac960
feat(server): Allow sampling arena stats from a specified thread (#428)
Also update dense_set.md with a reproducable test on how to see memory differences
of DenseSet vs RedisDict.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-10-24 13:25:31 +03:00
Ran Ribenzaft
63f8e00273
ci(workflow): fixing discord notification link (#419)
Signed-off-by: Ran Ribenzaft <ranrib@users.noreply.github.com>
2022-10-23 21:44:06 +03:00
Boaz Sade
95e772e8c4
feat(server): sending and dispatching of messages using different internals (#424)
feat(server): sending and dispatching of messages using different internals

Signed-off-by: Boaz Sade <boaz@dragonflydb.io>
2022-10-23 13:39:50 +03:00
romange
805f8c51e2 chore(helm-chart): update to v0.10.0 2022-10-20 15:07:11 +00:00
Roman Gershman
10c3d9f666
fix(hset): fix hset match bug (#411)
The bug was that when the hset had listpack encoding, it returned only keys instead of returning keys and values.

In addition, in preparation to having our own denset encoding for hset, I cleaned up the code and
introduced our own encoding constants for hset encoding.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-10-20 14:16:16 +03:00
Roman Gershman
d52ab4c59a
docs(server): Update the API status, README and LICENSE date (#410)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-10-20 11:50:42 +03:00
Roman Gershman
ab72ff797c
fix(server): remove double decrement of obj_memory_usage. (#406)
Also, add timing stats to malloc-stats command.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2022-10-19 14:32:03 +03:00
Vladislav
b5cbed79d7
feat(server): Implement DFLY EXPIRE command (#404)
* feat(server): Implement DFLY EXPIRE command

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-10-19 12:51:33 +03:00