John Sully
d25883411b
Bump version
...
Former-commit-id: 0a0c2146c88417baf8f905aaab7f1b45f4d7e46d
2019-10-01 17:53:48 -04:00
Edgard Lorraine Messias
d5236c1c76
Fixed "Provides" name in chkconfig info
...
Former-commit-id: cedea7e4005ecf540c5383a7a9da04f8fabfe648
2019-10-01 13:44:58 -04:00
John Sully
015420c445
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 66cef6646cb8745c9c219e127a98c7564248c79b
2019-09-30 00:28:12 -04:00
John Sully
5ca2fe61e1
Expire DEL command place holder
...
Former-commit-id: 64aa4b80e62fac75d5b5598515585c425472c537
2019-09-30 00:01:23 -04:00
John Sully
61cc53d604
Fuzz mode is now an argument not based on the exe name
...
Former-commit-id: 551a3cb1aa1c5799ec351dd2bef97adf0517b954
2019-09-30 00:00:29 -04:00
John Sully
d9a244c34c
finish up the RDB fuzz
...
Former-commit-id: 0942188b0a263d4b7de013458e5a65dc2d3b206a
2019-09-28 17:38:46 -04:00
John Sully
08b353cd55
Fix double free in RDB load
...
Former-commit-id: 070c4818715b56645855abb72af47c846fc63027
2019-09-28 17:38:26 -04:00
John Sully
4bf3388f4e
RDB fuzz test cases
...
Former-commit-id: 6df4d294220ed914c592f3bd195ae921d6a84cde
2019-09-28 17:04:08 -04:00
John Sully
2c6fdf0f4e
RREPLAY command now takes a DB argument
...
Former-commit-id: 6e1e5bd08b59f8ad4653621a6c01fcf3a76f0692
2019-09-28 14:59:44 -04:00
John Sully
b6b6bb0488
Implement left and right shift BITOP operators
...
Former-commit-id: ba365298ed37a76f0a8630e0ec6c86393293aebe
2019-09-28 00:10:46 -04:00
John Sully
98197d7d99
Fix leaking stale RDBs during multimaster sync
...
Former-commit-id: e1c96209510b374e644e5d7e7b6a009ed0f27c32
2019-09-27 13:17:29 -04:00
John Sully
9f3cbd580e
Fix multi master bugs: 1. we fail to create the temp file. 2. We use a master RDB as our backup even though we merged databases (and therefore it is not representitive)
...
Former-commit-id: e776474f68a2824bb7d4082c41991a9a9f3a9c9d
2019-09-26 20:35:51 -04:00
John Sully
2852a81a13
Fix issue where AOF events are posted to the wrong event loop and not properly cleaned up
...
Former-commit-id: 4589e861ab79992802cfa26ba06693996d75835c
2019-09-19 15:40:09 -04:00
John Sully
4669d4d0d0
Fix issue where AOF events are posted to the wrong event loop and not properly cleaned up
...
Former-commit-id: 55324aa56a249ccbc73ffe92cac1740bfcc82ebd
2019-09-19 15:39:52 -04:00
John Sully
2912b22403
KEYS now only blocks one database
...
Former-commit-id: 18d42a5c353f76533a0ccc4ded24ed089cedacc8
2019-09-12 18:51:10 -04:00
John Sully
c23c307a0d
bump version
...
Former-commit-id: 71d5a10621b762fccec10d38a72b0535f8f16502
2019-09-06 13:31:40 -04:00
John Sully
ab48b2bfed
Fix issue where Active Replicas were commiting data to the wrong database under load
...
Former-commit-id: ac595ebe371480a924d542aa62733854eb7c527a
2019-09-06 13:30:28 -04:00
John Sully
8fa118873c
Fix issue where Active Replicas were commiting data to the wrong database under load
...
Former-commit-id: 50a6a3ca389aef3d8f970faef5336f7053cf4cc5
2019-09-06 13:30:15 -04:00
John Sully
2491f2a23d
Acquire the lock for modules that don't acquire it before calling like they are supposed to
...
Former-commit-id: f83a89f82a30d4edbd8068172bc54e0f1fe0cc25
2019-08-29 15:41:03 -04:00
John Sully
bffee1aa3f
Bump version
...
Former-commit-id: bf905a78f0982cf4e13a4d9bbd9fa0166233b245
2019-08-27 15:32:24 -04:00
John Sully
e7747b9181
Fix race condition in PUB/SUB and other async reply commands where the client can be freed before our handler is executed on the client thread. When this occurs the client pointer is dangling
...
Former-commit-id: fad9483fc920e5b1fa67e56d4b8483138b565bd3
2019-08-27 15:31:47 -04:00
John Sully
b98eed9945
Fix race condition in PUB/SUB and other async reply commands where the client can be freed before our handler is executed on the client thread. When this occurs the client pointer is dangling
...
Former-commit-id: 46a78c69e718f0aeb5e62f33c59458b15b8d9bc6
2019-08-26 20:18:52 -04:00
John Sully
7b937c830b
Fix warnings on newer compilers
...
Former-commit-id: 33e0b3e1c0ddc0e56a00100e202b89eeff9cff61
2019-08-14 01:03:24 -04:00
benschermel
91283ee5d7
update readme ( #71 )
...
* update readme
* KeyDB must acknowledge its Redis origin and that while we have different opinions we are greatful to Antirez and Redis for the work they've done in this space.
* Update README.md
Former-commit-id: 4e9bfcf84bb6a7ed47d2eaf478fc933abfb48a2d
2019-08-06 19:25:13 -04:00
John Sully
eb6152c3cf
Optimize the new expire code
...
Former-commit-id: 75c6b4c64a9c9f39654c16b1f5ff5a003d24afbc
2019-08-02 21:31:05 -04:00
John Sully
02151b9110
Fix test failures: Non active replicas are allowed to use shared int values
...
Former-commit-id: 8536854266d5795c5c2bc11b8b344f20759b55af
2019-07-30 17:11:15 -04:00
John Sully
863ae63e2c
Acquire the lock for modules that don't acquire it before calling like they are supposed to
...
Former-commit-id: 6016dd0f8b68ceeeb161a39a0d531a3cc52d78d8
2019-07-30 16:54:25 -04:00
John Sully
0df22ef9f6
Fix HLL corruption
...
Former-commit-id: 47ef9e5cbd11dad107a68a94dfb51d192e86c84e
2019-07-29 18:08:45 -04:00
John Sully
2181eca5de
Fix crash setting expire on a key with an existing subkey expiration
...
Former-commit-id: 4858fd893c8e638b0efdcd3ab2c6dc188a6dc6bd
2019-07-29 17:09:51 -04:00
John Sully
caaf5d9141
Fix crash in RediSearch
...
Former-commit-id: 6b6e6f6c1ef49f87f794de512489e5fbbfb67ca0
2019-07-29 15:08:57 -04:00
John Sully
363fbbb54c
Fix crash in RediSearch
...
Former-commit-id: cbe5c04a0f3b0b1886f6c88c0a2401e0e6501b3b
2019-07-29 15:08:41 -04:00
John Sully
e7ef6c23c8
RREPLAY failures should be logged
...
Former-commit-id: b0a0f03b96b44005e905f5d46985d76d52a712ec
2019-07-24 22:49:55 -04:00
John Sully
f3aa422a3f
RREPLAY failures should be logged
...
Former-commit-id: 08b6a04055e950e53f043391ec9f9a09f654b1ee
2019-07-24 22:49:30 -04:00
John Sully
5b2ea98292
Issue #64 RREPLAY isn't binary safe. Add fix and test.
...
Former-commit-id: f1982ca63dc8dd85b62c1338d7be324595b6ad8e
2019-07-24 22:31:44 -04:00
John Sully
f31b1fd06b
Issue #64 RREPLAY isn't binary safe. Add fix and test.
...
Former-commit-id: afe66288fe9df6d8247d459e57858430f1ec7a25
2019-07-24 22:31:02 -04:00
John Sully
2df14dc997
We can't set FExpire() on shared objects, issue #66
...
Former-commit-id: 2794cfced4fdb18c0860e966dde0b46b9584c4dc
2019-07-23 23:39:47 -04:00
John Sully
11364a1147
Merge pull request #65 from JohnSully/subexpire
...
EXPIREMEMBER Command Implementation
Former-commit-id: d6b45a56e782238fc3467a7fb43ff167f0891e07
2019-07-23 19:06:57 -04:00
John Sully
9711895721
Subexpire entries should load/save
...
Former-commit-id: a55d98043655473ecdd53db2927381635eefc0b8
2019-07-23 18:53:59 -04:00
John Sully
010450e68f
Fix buggy rebase
...
Former-commit-id: 6037d1f326116e5aae56be9a73a8f9ca68a45bbe
2019-07-23 18:53:59 -04:00
John Sully
589628823f
Fix merge conflict
...
Former-commit-id: 0b43b51a2e3a6af11532146fbb7929f3ecf3b036
2019-07-23 18:53:59 -04:00
John Sully
f88592451d
Plumb support for sub expires to all expire related code
...
Former-commit-id: 184abac6942a9a6aa8783741b50b23210afddcc5
2019-07-23 18:53:59 -04:00
John Sully
d7a1231238
Fix crash with traditional expiration
...
Former-commit-id: 0ba5b2c3d66d3a1a520f223ad2c288c22601bd5a
2019-07-23 18:53:58 -04:00
John Sully
2a2225d150
Initial prototype of EXPIREMEMBER command
...
Former-commit-id: 0b3d74ea67d616a6869cbd66198c8dd7ffa72eb7
2019-07-23 18:53:58 -04:00
John Sully
4568ecf9cd
New expire datastructure and algorithm. Allows us to expire in sublinear time
...
Former-commit-id: ea3bd614b8b88b8de0b114f917fbd0de93557c72
2019-07-23 18:49:31 -04:00
John Sully
be123c44b9
Merge pull request #50 from JohnSully/expire
...
New Expire Datastructure which is faster and more memory efficient. This allows us to process expiries in sublinear time.
Former-commit-id: d45edc493d111d4be81f2ce24e3022c8fffb3e2f
2019-07-23 18:40:48 -04:00
John Sully
d58b2575e5
Support TTL stats with the new expire datastructure
...
Former-commit-id: 271df3dad4f55f20177a8a9a065778f4943835f1
2019-07-23 18:30:10 -04:00
John Sully
d050d20a9f
Implement hash table stats and fixup the hash function based on the results
...
Former-commit-id: 5a193872f8e002c97b7dc2c4bc3bab8e0478765f
2019-07-23 18:30:10 -04:00
John Sully
9420b9c1c2
Add back missing file lost in rebase
...
Former-commit-id: b5512d77a1299cf6ff960229cd47776b82eaba4b
2019-07-23 18:30:10 -04:00
John Sully
741029118e
Add back file erroniously deleted in rebase
...
Former-commit-id: 42bda8eaba71c99c776100b225606c9aced1d2ba
2019-07-23 18:30:10 -04:00
John Sully
db206557e9
never make last minute changes before commiting
...
Former-commit-id: 7e5d3f4f160c1c6f91c42b19f95ad17fcb7f1590
2019-07-23 18:30:10 -04:00