10352 Commits

Author SHA1 Message Date
John Sully
e69b51a6d4 Fix module locking issues
Former-commit-id: bf26959b722285f9b8caedb853e712d5b4ce6b3f
2019-05-09 19:00:27 -04:00
John Sully
7b87123505 refactor server global into a pointer (so that threadsafe commands can set this to NULL to prove they don't rely on it
Former-commit-id: 37b2d046bef12c7ee7cac4883f0b64ddde236d74
2019-04-21 14:01:10 -04:00
John Sully
e2e3acf04c Factor out some normally const globals
Former-commit-id: fa2e407873fce7f936943ae1fe162d54d7bedd70
2019-04-21 13:20:45 -04:00
John Sully
9a4dbf33e7 additional fix to rreplay forward compat
Former-commit-id: c61cf57db5d9d274d5fb8806a9716056e06eb47d
2019-04-20 01:36:23 -04:00
John Sully
fae54d1533 Make rreplay forward compatible with extra future args
Former-commit-id: ef3690f2db48b80e3ffb5dbfc7d538c3bec23ee2
2019-04-20 01:15:01 -04:00
John Sully
0a9aa64210 Tweak mvcc time format so rollovers are not an issue
Former-commit-id: 14d01ec7bd6f20aea1ed51a1056d02d99583c6d2
2019-04-20 01:03:08 -04:00
John Sully
a28120cb9e Timestamp writes to objects so we can be smarter about merging databases
Former-commit-id: 5dc9f70386617b02fab7eee1194f321f6b4b25c5
2019-04-20 00:52:07 -04:00
John Sully
53253d993f Fix use uninitialized
Former-commit-id: 88e593bf967487835eaadf700abb3761e34306cb
2019-04-19 23:41:40 -04:00
John Sully
d22f1d9481 Additional MVCC work and fix memory leak loading objects from rdb
Former-commit-id: efde2e6be6dc2fc3425a17e2dc146c5b8823730a
2019-04-19 22:54:42 -04:00
John Sully
c32ae00cb8 Add version override command for users that need compatibility with Redis
Former-commit-id: 5a78a3bc46335a844490fe00e657d68313680cbe
2019-04-19 19:57:11 -04:00
John Sully
359e871737 RREPLAY PERF: The UUID stack is unnecessary, RREPLAY itself can detect the cycle and call cancel()
Former-commit-id: b276d803d49339eb30879a3d170ebc480d9430bd
2019-04-19 19:36:47 -04:00
John Sully
9ac793aabb Detect cycles in mesh networks with multi master
Former-commit-id: da51ac430b43628f5cb5c1f0f005d937ed32660b
2019-04-19 19:31:11 -04:00
John Sully
ff55a913c5 Fix crash near boot when adding replicas and dumping database
Former-commit-id: 01eb0a3c7f01d381ffb66c3fec0214d07e8594de
2019-04-19 17:08:54 -04:00
John Sully
064abb0e80 Replication fake connection should inhereit the user and permission of the real connection
Former-commit-id: dc2b3cf4f8965c329ea23d78c33592c99f16b109
2019-04-18 22:07:35 -04:00
John Sully
b5e25f876f Start of MVCC support (and more C++)
Former-commit-id: c4621a5ed2a7d8ca5034f2fbe8b71550f290ea64
2019-04-16 23:16:03 -04:00
John Sully
9275a54485 Fix module linking and crashing issues
Former-commit-id: 1c953a4d5b332a0758d77d378c0caffa4d9bcfe4
2019-04-16 13:34:22 -04:00
John Sully
0798be97eb Fix replica authentication failure when masterauth is below replicaof in the config file
Former-commit-id: c64ce7aa9c7783425430e08831f1c41346e315a9
2019-04-15 22:31:02 -04:00
John Sully
fe552e3e39 Fix memory leak unsetting master
Former-commit-id: acdc4fdfec93c9121bdc12e52a9cd57f494f8dcd
2019-04-11 19:55:44 -04:00
John Sully
27152ac55e Fix compile errors when MALLOC=memkind
Former-commit-id: 7ef9c18b72f892e0404167426bcfed260999e269
2019-04-11 19:40:45 -04:00
John Sully
3af27e0d24 Fix failure to respect masterauth issue #26
Former-commit-id: a69b4e79db46f629da94c4a1172ea9b1c68dff35
2019-04-11 19:08:12 -04:00
John Sully
9e714b477f Fix addition RESP3 regressions (return empty set)
Former-commit-id: 740fc6c2b865f3846fc7c2b53e5b8303020964f2
2019-04-08 16:52:57 -04:00
John Sully
d238548cec Fix protocol break with hgetall and family
Former-commit-id: 42202c868dc24bf5d4a65cd42da2ef38be450a56
2019-04-08 13:52:02 -04:00
John Sully
7859e0562f Move remaning files dependent on server.h over to C++
Former-commit-id: 8c133b605c65212b023d35b3cb71e63b6a4c443a
2019-04-08 01:00:48 -04:00
John Sully
e766f66b11 Move dict to C++
Former-commit-id: b50acd7238db7dc0935cd304070476f63ffff3f0
2019-04-07 17:23:59 -04:00
John Sully
ad361c2aa8 Port db to C++
Former-commit-id: 54db278695a2df1ae08501b1518c1f7361610184
2019-04-07 17:13:14 -04:00
John Sully
83a7f2f2bd Move a bunch of files to C++
Former-commit-id: 011948bcef748df33cb18e76dc5ba48d3c5706dc
2019-04-07 16:54:56 -04:00
John Sully
ccd70014a7 Make t_string C++
Former-commit-id: 9f95d8b38f837097f5041086e4af6fc8dcb9bd78
2019-04-07 15:24:23 -04:00
John Sully
0e35240a83 Fix clang compile error
Former-commit-id: 3d394a6fa2e379f9722351c7c3f9a84a4424f597
2019-04-06 00:20:17 -04:00
John Sully
d36db18e7c Add RREPLAY command and put the issue of packet storms to rest. Fixes issue #24
Former-commit-id: 68d2b648e0cfeac1ec6f7b68255631ba27d83739
2019-04-06 00:14:27 -04:00
John Sully
fdbc361e58 Fix regression in active replication caused by multimaster PR
Former-commit-id: 283998404fb69c8b3f6263b8ef7813bf3e99e608
2019-04-04 16:50:40 -04:00
John Sully
bd6b3f17e5 Merge pull request #23 from JohnSully/wip-multimaster
Wip multimaster

Former-commit-id: a7b4d0fea657f6c4b91c607171b000cc02355574
2019-04-04 11:40:58 -07:00
John Sully
4431f3f9d1 All tests runs pass! YAYgit add src/cluster.c src/config.c !
Former-commit-id: 59051dd59d90714a13d6e3676f9691b2220b39c3
2019-04-04 01:02:19 -04:00
John Sully
2fef83aa60 Fix some more failing tests
Former-commit-id: cd836a37e74e4fdf3bbe49f1697c68e6db4eb20a
2019-04-04 00:25:30 -04:00
John Sully
a7ed7e06a8 Merge branch 'unstable' into wip-multimaster
Former-commit-id: 4326d22380e4e4d9491c4b7cd050b26ec49663b3
2019-04-03 00:12:13 -04:00
John Sully
5656a917c7 Fix cluster test failure (not real issue)
Former-commit-id: 161d3a35ff2be2aa761f6fb0167dfc4aac4251c6
2019-04-03 00:11:34 -04:00
John Sully
ea516dad36 Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable
Former-commit-id: 20a9d21dfb2169ba4dd6e8bddaaa01b59d7539af
2019-04-03 00:09:51 -04:00
John Sully
96beb2db3f Fix failing tests due to build issue inhereted from Redis
Former-commit-id: e902789aa7bf6237099c9dfdcb8efaaf68518f68
2019-04-03 00:09:26 -04:00
John Sully
c40779752e Merge branch 'unstable' of https://github.com/antirez/redis into unstable
Former-commit-id: 3745bbd95b16d7134c86143f458d7f31168c7d33
2019-04-03 00:00:38 -04:00
John Sully
5edc61dfd5 Cluster tests shouldn't crash (note: still not passing either)
Former-commit-id: e63b2880b050d64849daf17d81cd0d4cabf2277a
2019-04-02 22:32:10 -04:00
John Sully
c53b8125df Multiple masters is no good if we keep dropping the database
Former-commit-id: a9b70e1ef72201bcae0f08779d442a451b248798
2019-04-02 21:47:21 -04:00
John Sully
55696f4436 Tests are passing! YAY!
Former-commit-id: e300f753c58fc542267536cd90c1a6b970d83539
2019-04-02 21:36:04 -04:00
John Sully
9b87144950 It compiles and doesn't crash immediately!
Former-commit-id: efaeca588717ca7cd44aa3502672d158acd94a6d
2019-04-02 16:47:05 -04:00
John Sully
e7b6e2bfd4 Link to GUI
Former-commit-id: 4d673056614c1ea85c58c71833041ee002ab96c4
2019-03-31 14:37:54 -04:00
John Sully
cf42a75397 Commit missing file
Former-commit-id: 853bb6ca3ecbbb199d19833c5d72cb61e8318104
2019-03-28 17:56:14 -04:00
John Sully
2cf7ae1ac1 Travis needs to install uuid-dev
Former-commit-id: b16f23ae8ee6096d9278036f03ed5d8f1451f792
2019-03-28 16:18:26 -04:00
John Sully
7e62ed49af Implement database merging for Active Replicas
Former-commit-id: 91e6368de0f0ecb7e4db497ce286a15336d4ec34
2019-03-28 15:12:43 -04:00
John Sully
bbc073c07c Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable
Former-commit-id: e4451b962862cdefd78aaa57d4db23252746a5cb
2019-03-27 22:59:38 -04:00
John Sully
597bdbd21c If no rdb file is specified and no s3 file is specified use the default RDB filename. If only S3 is specified use diskless sync
Former-commit-id: 770bb8ef5f52e804a00730ac2aa95a0107c52bab
2019-03-27 22:59:12 -04:00
John Sully
6c3ab604f0 Update README.md
Former-commit-id: 87b958a210159878c4027b16eb4f743fb7ddaa59
2019-03-27 21:52:08 -04:00
John Sully
55d6c95af4 Update README.md
Former-commit-id: 314ac90ba9fc40a98eb3af717209699697baa06a
2019-03-27 15:39:25 -04:00