benschermel
5042b550d3
add deb/rpm/docker support
...
Former-commit-id: b0e7be7ce2c502127a55af4a331601dbac4bafb7
2020-06-08 15:34:22 -04:00
benschermel
1f331f05ef
update github CI for deb
...
Former-commit-id: 026ab4c922972ab9155ff9fcb7ce8b1b2e3a6714
2020-06-08 15:34:22 -04:00
benschermel
0dff417e9a
update github CI for deb
...
Former-commit-id: 026ab4c922972ab9155ff9fcb7ce8b1b2e3a6714
2020-06-08 15:34:22 -04:00
Ben Schermel
628a9d5cd1
update rpm versioning
...
Former-commit-id: 07ba64c200176370acad1b4c8be4193e98afa204
2020-06-08 15:34:22 -04:00
Ben Schermel
1241e36b17
update rpm versioning
...
Former-commit-id: 07ba64c200176370acad1b4c8be4193e98afa204
2020-06-08 15:34:22 -04:00
benschermel
5ebad6291f
add package utilities
...
Former-commit-id: b4b35cf904cd690cace4fe3cd1fe8accf118c9a4
2020-06-08 15:34:22 -04:00
benschermel
dbde8a3398
add package utilities
...
Former-commit-id: b4b35cf904cd690cace4fe3cd1fe8accf118c9a4
2020-06-08 15:34:22 -04:00
Salvatore Sanfilippo
37b318c7e0
Merge pull request #7363 from xhebox/unstable
...
return the correct proto version
2020-06-08 12:54:15 +02:00
Salvatore Sanfilippo
48b2915c18
Merge pull request #7363 from xhebox/unstable
...
return the correct proto version
2020-06-08 12:54:15 +02:00
Salvatore Sanfilippo
5f1defa179
Merge pull request #7370 from oranagra/no_queue_in_aborted_multi
...
Don't queue commands in an already aborted MULTI state
2020-06-08 11:08:08 +02:00
Salvatore Sanfilippo
254f06c131
Merge pull request #7370 from oranagra/no_queue_in_aborted_multi
...
Don't queue commands in an already aborted MULTI state
2020-06-08 11:08:08 +02:00
Salvatore Sanfilippo
783735c915
Merge pull request #7369 from oranagra/no_reject_watch
...
Avoid rejecting WATCH / UNWATCH, like MULTI/EXEC/DISCARD
2020-06-08 11:04:26 +02:00
Salvatore Sanfilippo
8183a4ca7f
Merge pull request #7369 from oranagra/no_reject_watch
...
Avoid rejecting WATCH / UNWATCH, like MULTI/EXEC/DISCARD
2020-06-08 11:04:26 +02:00
Salvatore Sanfilippo
0c539f6497
Merge pull request #7357 from soloestoy/bugfix-aof-keepttl
...
AOF: append origin SET if no expire option
2020-06-08 11:02:00 +02:00
Salvatore Sanfilippo
265a7e7ec7
Merge pull request #7357 from soloestoy/bugfix-aof-keepttl
...
AOF: append origin SET if no expire option
2020-06-08 11:02:00 +02:00
Salvatore Sanfilippo
6fed3d8708
Merge pull request #7371 from oranagra/fix_disconnectSlaves
...
fix disconnectSlaves, to try to free each slave.
2020-06-08 10:43:51 +02:00
Salvatore Sanfilippo
cfffda83fb
Merge pull request #7371 from oranagra/fix_disconnectSlaves
...
fix disconnectSlaves, to try to free each slave.
2020-06-08 10:43:51 +02:00
Salvatore Sanfilippo
4ea93c04ff
Merge pull request #7352 from soloestoy/donot-free-protected-client-when-blocking
...
donot free protected client in freeClientsInAsyncFreeQueue()
2020-06-08 10:43:17 +02:00
Salvatore Sanfilippo
74a203a050
Merge pull request #7352 from soloestoy/donot-free-protected-client-when-blocking
...
donot free protected client in freeClientsInAsyncFreeQueue()
2020-06-08 10:43:17 +02:00
Oran Agra
25ae9c15ce
fix disconnectSlaves, to try to free each slave.
...
the recent change in that loop (iteration rather than waiting for it to
be empty) was intended to avoid an endless loop in case some slave would
refuse to be freed.
but the lookup of the first client remained, which would have caused it
to try the first one again and again instead of moving on.
2020-06-08 09:50:06 +03:00
Oran Agra
12504105c4
fix disconnectSlaves, to try to free each slave.
...
the recent change in that loop (iteration rather than waiting for it to
be empty) was intended to avoid an endless loop in case some slave would
refuse to be freed.
but the lookup of the first client remained, which would have caused it
to try the first one again and again instead of moving on.
2020-06-08 09:50:06 +03:00
Oran Agra
0bf6face8a
Don't queue commands in an already aborted MULTI state
2020-06-08 09:43:10 +03:00
Oran Agra
2bb297b102
Don't queue commands in an already aborted MULTI state
2020-06-08 09:43:10 +03:00
Oran Agra
b64641f995
Avoid rejecting WATCH / UNWATCH, like MULTI/EXEC/DISCARD
...
Much like MULTI/EXEC/DISCARD, the WATCH and UNWATCH are not actually
operating on the database or server state, but instead operate on the
client state. the client may send them all in one long pipeline and check
all the responses only at the end, so failing them may lead to a
mismatch between the client state on the server and the one on the
client end, and execute the wrong commands (ones that were meant to be
discarded)
the watched keys are not actually stored in the client struct, but they
are in fact part of the client state. for instance, they're not cleared
or moved in SWAPDB or FLUSHDB.
2020-06-08 09:16:32 +03:00
Oran Agra
2fa077b0e9
Avoid rejecting WATCH / UNWATCH, like MULTI/EXEC/DISCARD
...
Much like MULTI/EXEC/DISCARD, the WATCH and UNWATCH are not actually
operating on the database or server state, but instead operate on the
client state. the client may send them all in one long pipeline and check
all the responses only at the end, so failing them may lead to a
mismatch between the client state on the server and the one on the
client end, and execute the wrong commands (ones that were meant to be
discarded)
the watched keys are not actually stored in the client struct, but they
are in fact part of the client state. for instance, they're not cleared
or moved in SWAPDB or FLUSHDB.
2020-06-08 09:16:32 +03:00
John Sully
ad4d76422c
Some valgrind fixes
...
Former-commit-id: ba974c9810dc30b6b5bd21c4bcc6cc5b219f7ea4
2020-06-07 23:20:10 -04:00
John Sully
66e9afe49c
Some valgrind fixes
...
Former-commit-id: ba974c9810dc30b6b5bd21c4bcc6cc5b219f7ea4
2020-06-07 23:20:10 -04:00
John Sully
f252cc9e41
fix valgrind false error
...
Former-commit-id: 9817db7eddf06becd151e5fef7cc6808777c49cb
2020-06-07 20:17:47 -04:00
John Sully
a41672672b
fix valgrind false error
...
Former-commit-id: 9817db7eddf06becd151e5fef7cc6808777c49cb
2020-06-07 20:17:47 -04:00
John Sully
27f454bafc
fix valgrind false error
...
Former-commit-id: 887d8bdd110e04b30ffb215726e8aade39f0387a
2020-06-07 20:17:32 -04:00
John Sully
cc16e74f8b
fix valgrind false error
...
Former-commit-id: 887d8bdd110e04b30ffb215726e8aade39f0387a
2020-06-07 20:17:32 -04:00
John Sully
46f14ffc54
Merge branch 'keydbpro' into PRO_RELEASE_6
...
Former-commit-id: 3106f60e0ebdba5db944e704d4b148ea81c806f6
2020-06-07 17:05:00 -04:00
John Sully
2faa1f5771
Merge branch 'keydbpro' into PRO_RELEASE_6
...
Former-commit-id: 3106f60e0ebdba5db944e704d4b148ea81c806f6
2020-06-07 17:05:00 -04:00
John Sully
3004ca80a4
Fix merge bug
...
Former-commit-id: cc03c32271997d26ce7f07f96588f126c5939e69
2020-06-07 17:04:46 -04:00
John Sully
a6195bbd43
Fix merge bug
...
Former-commit-id: cc03c32271997d26ce7f07f96588f126c5939e69
2020-06-07 17:04:46 -04:00
John Sully
08842f8d6e
Endurance mode for tests ignore flaky ones
...
Former-commit-id: 515bb0e6bda8abcab4f8b4cd693084594c734007
2020-06-07 16:59:59 -04:00
John Sully
052a707097
Endurance mode for tests ignore flaky ones
...
Former-commit-id: 515bb0e6bda8abcab4f8b4cd693084594c734007
2020-06-07 16:59:59 -04:00
John Sully
00ae6d58a9
Bump version
...
Former-commit-id: 4a3e1f3b9b164ec0f19ca2a67c8003792a5ccc5c
2020-06-07 16:43:07 -04:00
John Sully
eda1bd2082
Bump version
...
Former-commit-id: 4a3e1f3b9b164ec0f19ca2a67c8003792a5ccc5c
2020-06-07 16:43:07 -04:00
John Sully
f26d5048cd
Solo tests should work with loopn
...
Former-commit-id: 575fc9801094985e24671101e68549787b536782
2020-06-07 16:43:07 -04:00
John Sully
1392ba433b
Solo tests should work with loopn
...
Former-commit-id: 575fc9801094985e24671101e68549787b536782
2020-06-07 16:43:07 -04:00
John Sully
3c63be7159
Stream tests rely on deferring clients, mitigate races caused by them
...
Former-commit-id: eb18345a6113296b98fc59599aa670d58166081a
2020-06-07 16:43:07 -04:00
John Sully
244d5d2243
Stream tests rely on deferring clients, mitigate races caused by them
...
Former-commit-id: eb18345a6113296b98fc59599aa670d58166081a
2020-06-07 16:43:07 -04:00
John Sully
cb7b03aeea
replication test race
...
Former-commit-id: d528c5c2c2ff8497563b5dc012f9ad458e93ecd4
2020-06-07 16:43:07 -04:00
John Sully
b04c4f40bd
replication test race
...
Former-commit-id: d528c5c2c2ff8497563b5dc012f9ad458e93ecd4
2020-06-07 16:43:07 -04:00
John Sully
3b083f4ed9
fix race in test
...
Former-commit-id: fa03a539f391e53bcd8237625dc0b52f3f25c9bd
2020-06-07 16:43:07 -04:00
John Sully
c83f094d3a
fix race in test
...
Former-commit-id: fa03a539f391e53bcd8237625dc0b52f3f25c9bd
2020-06-07 16:43:07 -04:00
John Sully
668d482f08
Make lazyfree more reliable
...
Former-commit-id: 9646b1d94475e39066887062f96f493c7529e440
2020-06-07 16:43:07 -04:00
John Sully
2a77cff00f
Make lazyfree more reliable
...
Former-commit-id: 9646b1d94475e39066887062f96f493c7529e440
2020-06-07 16:43:07 -04:00
John Sully
55633ab401
Detect issues like #189
...
Former-commit-id: cc5e906ebd3b09367f0a0daf861923e55182f1fd
2020-06-07 16:43:07 -04:00