antirez
26b6c697d3
RESP3: Lua debugger support for printing sets and maps.
2019-09-13 19:19:10 +02:00
antirez
33e35c3562
RESP3: implement lua.setresp().
2019-09-13 19:01:39 +02:00
antirez
93c52ff5ff
RESP3: implement lua.setresp().
2019-09-13 19:01:39 +02:00
John Sully
bd4ed482c4
KEYS now only blocks one database
...
Former-commit-id: 18d42a5c353f76533a0ccc4ded24ed089cedacc8
2019-09-12 18:51:10 -04:00
John Sully
2912b22403
KEYS now only blocks one database
...
Former-commit-id: 18d42a5c353f76533a0ccc4ded24ed089cedacc8
2019-09-12 18:51:10 -04:00
antirez
fa2ed64ba1
ACL: store hashed passwords in memory.
...
Note that this breaks API compatibility with Redis < 6:
CONFIG GET requirepass
Will no longer return a cleartext password as well, but the SHA256 hash
of the password set.
2019-09-12 12:54:57 +02:00
antirez
b170a01fa7
ACL: store hashed passwords in memory.
...
Note that this breaks API compatibility with Redis < 6:
CONFIG GET requirepass
Will no longer return a cleartext password as well, but the SHA256 hash
of the password set.
2019-09-12 12:54:57 +02:00
antirez
036c83d8ec
ACL: SHA256 based password hashing function implemented.
2019-09-12 12:33:22 +02:00
antirez
ae5054b476
ACL: SHA256 based password hashing function implemented.
2019-09-12 12:33:22 +02:00
antirez
ecf8dc6ff6
ACL: add slightly modified version of sha256.c for password hashing.
...
memory.h include removed, types substituted with stdint types.
2019-09-12 12:21:37 +02:00
antirez
9d2ecf6be3
ACL: add slightly modified version of sha256.c for password hashing.
...
memory.h include removed, types substituted with stdint types.
2019-09-12 12:21:37 +02:00
antirez
e645c794cf
ACL: protect MULTI/EXEC transactions after rules change.
2019-09-11 19:42:10 +02:00
antirez
f4d37173fe
ACL: protect MULTI/EXEC transactions after rules change.
2019-09-11 19:42:10 +02:00
John Sully
26c02f47fb
bump version
...
Former-commit-id: 71d5a10621b762fccec10d38a72b0535f8f16502
2019-09-06 13:31:40 -04:00
John Sully
c23c307a0d
bump version
...
Former-commit-id: 71d5a10621b762fccec10d38a72b0535f8f16502
2019-09-06 13:31:40 -04:00
John Sully
e45268930a
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
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
216636c134
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
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
antirez
a468b0cfb0
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-09-06 12:24:40 +02:00
antirez
ae8cab3296
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-09-06 12:24:40 +02:00
antirez
c98af3a550
handleClientsBlockedOnKeys() refactoring.
2019-09-06 12:24:26 +02:00
antirez
a092f20d87
handleClientsBlockedOnKeys() refactoring.
2019-09-06 12:24:26 +02:00
suntiawnen
62e7477745
fix rdb function rdbLoadIntegerObject comment
2019-09-06 12:01:44 +08:00
suntiawnen
781f3fd8be
fix rdb function rdbLoadIntegerObject comment
2019-09-06 12:01:44 +08:00
Doug Nelson
f701f7c007
Typo fixes in API documentation
2019-09-05 16:25:06 +01:00
Doug Nelson
cc8f06ece9
Typo fixes in API documentation
2019-09-05 16:25:06 +01:00
Salvatore Sanfilippo
884b430457
Merge pull request #6364 from oranagra/fix_module_aux_when
...
Fix to module aux data rdb format for backwards compatibility with old check-rdb
2019-09-05 13:30:26 +02:00
Salvatore Sanfilippo
86aade9a02
Merge pull request #6364 from oranagra/fix_module_aux_when
...
Fix to module aux data rdb format for backwards compatibility with old check-rdb
2019-09-05 13:30:26 +02:00
Oran Agra
68e1809589
Fix to module aux data rdb format for backwards compatibility with old check-rdb
...
When implementing the code that saves and loads these aux fields we used rdb
format that was added for that in redis 5.0, but then we added the 'when' field
which meant that the old redis-check-rdb won't be able to skip these.
this fix adds an opcode as if that 'when' is part of the module data.
2019-09-05 14:11:37 +03:00
Oran Agra
3bfcae247a
Fix to module aux data rdb format for backwards compatibility with old check-rdb
...
When implementing the code that saves and loads these aux fields we used rdb
format that was added for that in redis 5.0, but then we added the 'when' field
which meant that the old redis-check-rdb won't be able to skip these.
this fix adds an opcode as if that 'when' is part of the module data.
2019-09-05 14:11:37 +03:00
antirez
3984b4fdd9
Fix handleClientsBlockedOnKeys() names in comments.
2019-09-05 13:05:57 +02:00
antirez
89ad0ca566
Fix handleClientsBlockedOnKeys() names in comments.
2019-09-05 13:05:57 +02:00
antirez
1f813b3723
redis-cli: always report server errors on read errors.
...
Before this commit we may have not consumer buffers when a read error is
encountered. Such buffers may contain errors that are important clues
for the user: for instance a protocol error in the payload we send in
pipe mode will cause the server to abort the connection. If the user
does not get the protocol error, debugging what is happening can be a
nightmare.
This commit fixes issue #3756 .
2019-09-04 17:55:46 +02:00
antirez
12c56a8e75
redis-cli: always report server errors on read errors.
...
Before this commit we may have not consumer buffers when a read error is
encountered. Such buffers may contain errors that are important clues
for the user: for instance a protocol error in the payload we send in
pipe mode will cause the server to abort the connection. If the user
does not get the protocol error, debugging what is happening can be a
nightmare.
This commit fixes issue #3756 .
2019-09-04 17:55:46 +02:00
antirez
4383958317
AOF: be future-proof and close the file pointer.
...
Currently useless but we release the fake client, so better to do a full
cleanup. Thanks to @TomMD reporting this in #6353 .
2019-09-04 17:20:37 +02:00
antirez
f7090f43ad
AOF: be future-proof and close the file pointer.
...
Currently useless but we release the fake client, so better to do a full
cleanup. Thanks to @TomMD reporting this in #6353 .
2019-09-04 17:20:37 +02:00
zhudacai 00228490
40c8f23fe7
The aarch64 architecture is support normal memory unaligned accesses,
...
so add the UNALIGNED_LE_CPU to the aarch64 .
2019-09-04 12:14:25 +00:00
zhudacai 00228490
66a5c1cd7e
The aarch64 architecture is support normal memory unaligned accesses,
...
so add the UNALIGNED_LE_CPU to the aarch64 .
2019-09-04 12:14:25 +00:00
antirez
9658ff71bf
Rio: fix flag name, function is never used btw.
...
Thanks to @tnclong for reporting the problem.
2019-09-04 13:01:07 +02:00
antirez
b2e10131c0
Rio: fix flag name, function is never used btw.
...
Thanks to @tnclong for reporting the problem.
2019-09-04 13:01:07 +02:00
antirez
2e1e170aad
RESP3: fix cases of NULL reported instead of empty aggregate.
2019-09-02 12:50:47 +02:00
antirez
06d490342f
RESP3: fix cases of NULL reported instead of empty aggregate.
2019-09-02 12:50:47 +02:00
antirez
4ff08c8657
Cluster: abort loading nodes data if vars arguments are unbalanced.
...
See for reference PR #6337 . Thanks to @git-hulk for spotting this.
2019-09-02 11:41:20 +02:00
antirez
b12ccc840e
Cluster: abort loading nodes data if vars arguments are unbalanced.
...
See for reference PR #6337 . Thanks to @git-hulk for spotting this.
2019-09-02 11:41:20 +02:00
antirez
3b40a88587
More strict checks and better comments in flushSlaveOutputBuffers().
...
Related to #6296 .
2019-08-31 14:46:24 +02:00
antirez
e57067b677
More strict checks and better comments in flushSlaveOutputBuffers().
...
Related to #6296 .
2019-08-31 14:46:24 +02:00
antirez
d5e2fe1532
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-08-31 14:41:28 +02:00
antirez
2303ba1441
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-08-31 14:41:28 +02:00
antirez
11228bd0fb
Improve comment in flushSlavesOutputBuffers().
2019-08-31 14:40:09 +02:00