| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
now that replica can read rdb directly from the socket, it should avoid exiting
on short read and instead try to re-sync.
this commit tries to have minimal effects on non-diskless rdb reading.
and includes a test that tries to trigger this scenario on various read cases.
|
|\ |
|
| |\
| | |
| | | |
fix readme.md,Redis data types should add `t_stream.c`.
|
| | | |
|
| |\ \
| | | |
| | | | |
Fixed a rounding bug in geo.tcl
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
[RESP3, Minor] in networking.c double representation for -infiinity leaves out comma
|
| | | |/
| | |/| |
|
| |\ \ \
| | | | |
| | | | | |
Make dbSwapDatabases take args as long
|
| | | | |
| | | | |
| | | | |
| | | | | |
This prevents an integer overflow bug. Closes #5737.
|
|/ / / / |
|
|\ \ \ \ |
|
| |\ \ \ \
| | | | | |
| | | | | | |
missing per-skiplist overheads in MEMORY USAGE
|
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | | |
these had severe impact for small zsets, for instance ones with just one
element that is longer than 64 (causing it not to be ziplist encoded)
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This subcommand may simplify the writing of Redis client libraries
using the tracking feature and/or improve observability and debugging
capabilities.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
diskless replication on slave side (don't store rdb to file), plus some other related fixes
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
other related fixes
The implementation of the diskless replication was currently diskless only on the master side.
The slave side was still storing the received rdb file to the disk before loading it back in and parsing it.
This commit adds two modes to load rdb directly from socket:
1) when-empty
2) using "swapdb"
the third mode of using diskless slave by flushdb is risky and currently not included.
other changes:
--------------
distinguish between aof configuration and state so that we can re-enable aof only when sync eventually
succeeds (and not when exiting from readSyncBulkPayload after a failed attempt)
also a CONFIG GET and INFO during rdb loading would have lied
When loading rdb from the network, don't kill the server on short read (that can be a network error)
Fix rdb check when performed on preamble AOF
tests:
run replication tests for diskless slave too
make replication test a bit more aggressive
Add test for diskless load swapdb
|
|\ \ \ \
| | | | |
| | | | | |
SCAN: New Feature `SCAN cursor [TYPE type]` modifier suggested in issue #6107
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and TYPE commands,
and to keep OBJ_* enum to string canonicalization in one place.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add tests to check basic functionality of this optional keyword, and also tested with
a module (redisgraph). Checked quickly with valgrind, no issues.
Copies name the type name canonicalisation code from `typeCommand`, perhaps this would
be better factored out to prevent the two diverging and both needing to be edited to
add new `OBJ_*` types, but this is a little fiddly with C strings.
The [redis-doc](https://github.com/antirez/redis-doc/blob/master/commands.json) repo
will need to be updated with this new arg if accepted.
A quirk to be aware of here is that the GEO commands are backed by zsets not their own
type, so they're not distinguishable from other zsets.
Additionally, for sparse types this has the same behaviour as `MATCH` in that it may
return many empty results before giving something, even for large `COUNT`s.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fix build tracking.c should be tracking.o
|
|/ / / / /
| | | | |
| | | | | |
thanks to @rafie
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Refactored yesno configs so there is less duplication
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Extend REDISMODULE_CTX_FLAGS to indicate if redis is loading
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | | |
either RDB or AOF
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Adds RedisModule_ReplyWithCString
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Itamar Haber <itamar@redislabs.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Itamar Haber <itamar@redislabs.com>
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fixed some spelling issues in ACL codepath including a user facing error
|
| | | |/ / / /
| | |/| | | | |
|
| |\ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | | |
Redis Benchmark: prevent CONFIG failure from exiting program
|
| |/ / / / / |
|
| | | | | | |
|
| | | | | | |
|