Christian Legge
0f26a14276
Save and restore master info in rdb to allow active replica partial sync ( #371 )
...
* save replid for all masters in rdb
* expanded rdbSaveInfo to hold multiple master structs
* parse repl-masters from rdb
* recover replid info from rdb in active replica mode, attempt partial sync
* save offset from rdb into correct variable
* don't change replid based on master in active rep
* save and load psync info from correct fields
2022-04-26 01:55:22 +00:00
Christian Legge
0ed0745d90
Save and restore master info in rdb to allow active replica partial sync ( #371 )
...
* save replid for all masters in rdb
* expanded rdbSaveInfo to hold multiple master structs
* parse repl-masters from rdb
* recover replid info from rdb in active replica mode, attempt partial sync
* save offset from rdb into correct variable
* don't change replid based on master in active rep
* save and load psync info from correct fields
2022-04-26 01:55:22 +00:00
Christian Legge
c81cc4ee2b
Save and restore master info in rdb to allow active replica partial sync ( #371 )
...
* save replid for all masters in rdb
* expanded rdbSaveInfo to hold multiple master structs
* parse repl-masters from rdb
* recover replid info from rdb in active replica mode, attempt partial sync
* save offset from rdb into correct variable
* don't change replid based on master in active rep
* save and load psync info from correct fields
2022-04-14 20:17:18 +00:00
Christian Legge
264429c997
Save and restore master info in rdb to allow active replica partial sync ( #371 )
...
* save replid for all masters in rdb
* expanded rdbSaveInfo to hold multiple master structs
* parse repl-masters from rdb
* recover replid info from rdb in active replica mode, attempt partial sync
* save offset from rdb into correct variable
* don't change replid based on master in active rep
* save and load psync info from correct fields
2022-04-14 20:17:18 +00:00
christianEQ
df51a33413
Merge remote-tracking branch 'opensource/RELEASE_6' into keydbpro
...
Former-commit-id: 439c655a543f4d3224d90bcdeb21ba43c2ab8ab7
2022-01-14 22:19:42 +00:00
christianEQ
b785b03068
Merge remote-tracking branch 'opensource/RELEASE_6' into keydbpro
...
Former-commit-id: 439c655a543f4d3224d90bcdeb21ba43c2ab8ab7
2022-01-14 22:19:42 +00:00
christianEQ
ec255fea11
bump version
...
Former-commit-id: 35dc4df1df
2022-01-13 00:07:03 +00:00
christianEQ
b10b414ed5
bump version
...
Former-commit-id: 35dc4df1df
2022-01-13 00:07:03 +00:00
christianEQ
6122cce93b
Merge branch 'unstable' into RELEASE_6
...
Former-commit-id: e69f1023a9
2022-01-10 23:54:30 +00:00
christianEQ
2e2eae7931
Merge branch 'unstable' into RELEASE_6
...
Former-commit-id: e69f1023a9
2022-01-10 23:54:30 +00:00
christianEQ
e5b5099eef
don't save master if host is null
...
Former-commit-id: 8238d8da82c483c093f5248b9dac983bc542e20f
2021-11-26 20:36:46 +00:00
christianEQ
47f453a5a1
don't save master if host is null
...
Former-commit-id: 8238d8da82c483c093f5248b9dac983bc542e20f
2021-11-26 20:36:46 +00:00
christian
09f32f19c7
Merge branch 'fastsync_collab2' into 'fastsync_collab'
...
fix dataloss on aof load with storage provider
See merge request external-collab/keydb-pro-6!7
Former-commit-id: a3aecc171b45308b68eb922947f8dd31be7e3566
2021-11-26 18:28:08 +00:00
christian
af96f8deb2
Merge branch 'fastsync_collab2' into 'fastsync_collab'
...
fix dataloss on aof load with storage provider
See merge request external-collab/keydb-pro-6!7
Former-commit-id: a3aecc171b45308b68eb922947f8dd31be7e3566
2021-11-26 18:28:08 +00:00
christianEQ
3819331e2e
removed unused vars
...
Former-commit-id: e2bb6242e8be53cdad6def6acdd7e90e0f7d9852
2021-11-11 13:43:20 +00:00
christianEQ
5e8fc5256b
removed unused vars
...
Former-commit-id: e2bb6242e8be53cdad6def6acdd7e90e0f7d9852
2021-11-11 13:43:20 +00:00
christianEQ
9c75fc3e8f
removed unnecessary code to check for metadata
...
Former-commit-id: 69ffc89d7c27a4eef04aa5cb59ffd1c2b9b8eb20
2021-11-11 13:43:00 +00:00
christianEQ
642b1b9941
removed unnecessary code to check for metadata
...
Former-commit-id: 69ffc89d7c27a4eef04aa5cb59ffd1c2b9b8eb20
2021-11-11 13:43:00 +00:00
christianEQ
0dacd68163
added tests for flash psync
...
Former-commit-id: 79f7376a4fea2de9bd06c06d96f3f98ee7308874
2021-11-11 13:43:00 +00:00
christianEQ
bde5ec5b45
added tests for flash psync
...
Former-commit-id: 79f7376a4fea2de9bd06c06d96f3f98ee7308874
2021-11-11 13:43:00 +00:00
christianEQ
a59b192174
save replid from storage on load
...
Former-commit-id: 8e5d0cb7035db30f35ead36aab52df07ab3c9bee
2021-11-11 13:43:00 +00:00
christianEQ
4c3d5c83e5
save replid from storage on load
...
Former-commit-id: 8e5d0cb7035db30f35ead36aab52df07ab3c9bee
2021-11-11 13:43:00 +00:00
christianEQ
7f9ab83d24
retrieve replid from IStorage rather than at load time
...
Former-commit-id: c25323439ce400ca91b2193aa2f464e7b09978fd
2021-11-11 13:43:00 +00:00
christianEQ
6ef6c917ec
retrieve replid from IStorage rather than at load time
...
Former-commit-id: c25323439ce400ca91b2193aa2f464e7b09978fd
2021-11-11 13:43:00 +00:00
christianEQ
ebb0e08d94
save master status to storage when masters change
...
Former-commit-id: 4989926a0028aed7d7700fd1d1f4ed27c20277cc
2021-11-11 13:42:39 +00:00
christianEQ
5f7fdb7c9e
save master status to storage when masters change
...
Former-commit-id: 4989926a0028aed7d7700fd1d1f4ed27c20277cc
2021-11-11 13:42:39 +00:00
christianEQ
5219a90483
save and recognize metadata table identifier
...
Former-commit-id: f06ef757c24ecc50df0e7abf5201a5499ff28c53
2021-11-11 13:41:48 +00:00
christianEQ
0d87e54d10
save and recognize metadata table identifier
...
Former-commit-id: f06ef757c24ecc50df0e7abf5201a5499ff28c53
2021-11-11 13:41:48 +00:00
christianEQ
39db170c4e
add KEYDB_METADATA_ID to metadata tables when created
...
Former-commit-id: 7fe8a184db62eab171935c20498bdb4f30ee6b1d
2021-11-11 13:41:00 +00:00
christianEQ
b24e18601c
add KEYDB_METADATA_ID to metadata tables when created
...
Former-commit-id: 7fe8a184db62eab171935c20498bdb4f30ee6b1d
2021-11-11 13:41:00 +00:00
christianEQ
aa048e2b2f
added createMetadataDb to IStorageFactory + implementations
...
Former-commit-id: a2acf75484d2af93aad9d03a20bd402893044860
2021-11-11 13:41:00 +00:00
christianEQ
c195ee4453
added createMetadataDb to IStorageFactory + implementations
...
Former-commit-id: a2acf75484d2af93aad9d03a20bd402893044860
2021-11-11 13:41:00 +00:00
christianEQ
c89e0f711a
install 32bit libraries in github action
...
Former-commit-id: b08aa26a76
2021-08-13 11:05:12 -04:00
christianEQ
fe50d680e1
install 32bit libraries in github action
...
Former-commit-id: b08aa26a76
2021-08-13 11:05:12 -04:00
christianEQ
ef2c490b52
github runner for 32bit build
...
Former-commit-id: 8dacbed556
2021-08-13 11:05:12 -04:00
christianEQ
0b1212aaa1
github runner for 32bit build
...
Former-commit-id: 8dacbed556
2021-08-13 11:05:12 -04:00
christianEQ
166faa8988
changed keys counter variable to unsigned to fix signedness comparison warning
...
Former-commit-id: b44df43fcb
2021-08-13 11:05:12 -04:00
christianEQ
314cc7d6de
changed keys counter variable to unsigned to fix signedness comparison warning
...
Former-commit-id: b44df43fcb
2021-08-13 11:05:12 -04:00
christianEQ
9b24998e1b
%zu for printing type size_t
...
Former-commit-id: 84af829053
2021-08-13 11:05:12 -04:00
christianEQ
e0ff0ee45c
%zu for printing type size_t
...
Former-commit-id: 84af829053
2021-08-13 11:05:12 -04:00
christianEQ
8d01244594
fixed 32bit compatibility in Makefile
...
Former-commit-id: f5ee64f9aa
2021-08-13 11:05:12 -04:00
christianEQ
c48ae9ace7
fixed 32bit compatibility in Makefile
...
Former-commit-id: f5ee64f9aa
2021-08-13 11:05:12 -04:00
christianEQ
cbf83d5eff
fixed overly strict assert for 32bit
...
Former-commit-id: ce4891b33d
2021-08-13 11:05:12 -04:00
christianEQ
8bccf9bf12
fixed overly strict assert for 32bit
...
Former-commit-id: ce4891b33d
2021-08-13 11:05:12 -04:00
Christian Legge
7015a2abd2
Add REPLPING command for use during replication ( #329 )
...
* added replping command for initiating replication
* backwards compatibility for replping (retry if not recognized)
* don't allow ping during loading (load balancer fix)
* changed replping warning to notice
Former-commit-id: d7f6bc1614
2021-07-29 15:50:30 -04:00
Christian Legge
9e562f1fe5
Add REPLPING command for use during replication ( #329 )
...
* added replping command for initiating replication
* backwards compatibility for replping (retry if not recognized)
* don't allow ping during loading (load balancer fix)
* changed replping warning to notice
Former-commit-id: d7f6bc1614
2021-07-29 15:50:30 -04:00
Christian Legge
d05333bf53
Merge pull request #321 from EQ-Alpha/ci-flags-fix
...
Requested changes from 6.2.2 merge
Former-commit-id: 7c1ab8b8e2
2021-07-15 16:42:02 -04:00
Christian Legge
8fdd54ceec
Merge pull request #321 from EQ-Alpha/ci-flags-fix
...
Requested changes from 6.2.2 merge
Former-commit-id: 7c1ab8b8e2
2021-07-15 16:42:02 -04:00
christianEQ
43f31da324
fix warnings for mac build
...
Former-commit-id: 570fbd0149
2021-07-15 20:14:14 +00:00
christianEQ
e400c205ce
fix warnings for mac build
...
Former-commit-id: 570fbd0149
2021-07-15 20:14:14 +00:00
christianEQ
a833c9b2a7
Merge remote-tracking branch 'origin/unstable' into ci-flags-fix
...
Former-commit-id: da1f09e9b5
2021-07-14 22:56:15 +00:00
christianEQ
c502e6f2a1
Merge remote-tracking branch 'origin/unstable' into ci-flags-fix
...
Former-commit-id: da1f09e9b5
2021-07-14 22:56:15 +00:00
christianEQ
f11601bcfc
added REDIS_CFLAGS to makefile for backwards compatibility
...
Former-commit-id: b2fb4f4b9b
2021-07-14 21:51:44 +00:00
christianEQ
502b9ec2ce
added REDIS_CFLAGS to makefile for backwards compatibility
...
Former-commit-id: b2fb4f4b9b
2021-07-14 21:51:44 +00:00
Christian Legge
5019f9c537
Merge pull request #322 from EQ-Alpha/diagnostic-tool
...
Basic first iteration of Diagnostic Tool
Former-commit-id: 32f5ef864e
2021-07-14 14:19:44 -04:00
Christian Legge
e6a621c873
Merge pull request #322 from EQ-Alpha/diagnostic-tool
...
Basic first iteration of Diagnostic Tool
Former-commit-id: 32f5ef864e
2021-07-14 14:19:44 -04:00
Christian Legge
25d992777c
Merge pull request #327 from EQ-Alpha/issue323_fix
...
fix for #323 : seg fault on expiremember
Former-commit-id: a8f28297ec
2021-07-12 16:54:31 -04:00
Christian Legge
31584fd848
Merge pull request #327 from EQ-Alpha/issue323_fix
...
fix for #323 : seg fault on expiremember
Former-commit-id: a8f28297ec
2021-07-12 16:54:31 -04:00
christianEQ
229bb85dec
tabs -> spaces
...
Former-commit-id: 0ae13c9731
2021-07-12 18:55:44 +00:00
christianEQ
14011b06ce
tabs -> spaces
...
Former-commit-id: 0ae13c9731
2021-07-12 18:55:44 +00:00
christianEQ
cf23416296
added eq alpha copyright
...
Former-commit-id: a6cbbd0f31
2021-07-08 02:58:18 +00:00
christianEQ
db98e1e05b
added eq alpha copyright
...
Former-commit-id: a6cbbd0f31
2021-07-08 02:58:18 +00:00
christianEQ
145015dc51
fix for #323 : seg fault on expiremember
...
Former-commit-id: f1f52af9cf
2021-07-08 02:50:05 +00:00
christianEQ
da6de72dec
fix for #323 : seg fault on expiremember
...
Former-commit-id: f1f52af9cf
2021-07-08 02:50:05 +00:00
christianEQ
ea95e6c406
various branding and cleanup fixes
...
Former-commit-id: e3c619eca4
2021-07-08 02:46:42 +00:00
christianEQ
d10336b007
various branding and cleanup fixes
...
Former-commit-id: e3c619eca4
2021-07-08 02:46:42 +00:00
christianEQ
e5939c5de9
removed unused command line options
...
Former-commit-id: 57e59d97db
2021-06-22 17:13:35 +00:00
christianEQ
0a42a4475e
removed unused command line options
...
Former-commit-id: 57e59d97db
2021-06-22 17:13:35 +00:00
christianEQ
6c5246fb09
changed --ms to --time
...
Former-commit-id: d7cada0f38
2021-06-21 19:57:14 +00:00
christianEQ
1b0a1f8fc7
changed --ms to --time
...
Former-commit-id: d7cada0f38
2021-06-21 19:57:14 +00:00
christianEQ
59102658a3
added more verbose options
...
Former-commit-id: fd2ac1fcfc
2021-06-21 18:40:37 +00:00
christianEQ
45c4220b7f
added more verbose options
...
Former-commit-id: fd2ac1fcfc
2021-06-21 18:40:37 +00:00
christianEQ
2bbb8a54fc
-t threads option
...
Former-commit-id: 0181b0e7a1
2021-06-21 18:36:21 +00:00
christianEQ
6b66b56c17
-t threads option
...
Former-commit-id: 0181b0e7a1
2021-06-21 18:36:21 +00:00
christianEQ
0d9e0a9039
added starting line so diagnostic tool doesnt look frozen at first
...
Former-commit-id: 2b5e5cfa4c
2021-06-18 20:21:47 +00:00
christianEQ
1db672e81a
added starting line so diagnostic tool doesnt look frozen at first
...
Former-commit-id: 2b5e5cfa4c
2021-06-18 20:21:47 +00:00
christianEQ
4028d35560
Merge remote-tracking branch 'origin/unstable' into diagnostic-tool
...
Former-commit-id: bfb0d02622
2021-06-18 20:19:31 +00:00
christianEQ
3b61b689a4
Merge remote-tracking branch 'origin/unstable' into diagnostic-tool
...
Former-commit-id: bfb0d02622
2021-06-18 20:19:31 +00:00
christianEQ
248059e50c
detect stagnating server load before 100% (diagnostic tool)
...
Former-commit-id: 534b70643b
2021-06-18 19:01:51 +00:00
christianEQ
7d11673ba9
detect stagnating server load before 100% (diagnostic tool)
...
Former-commit-id: 534b70643b
2021-06-18 19:01:51 +00:00
christianEQ
b21b868de2
added config option for time to spin up new client threads (diagnostic tool)
...
Former-commit-id: 3d0f729572
2021-06-18 16:58:16 +00:00
christianEQ
6ca00c68f4
added config option for time to spin up new client threads (diagnostic tool)
...
Former-commit-id: 3d0f729572
2021-06-18 16:58:16 +00:00
christianEQ
29e3f7da84
detect full load + server threads (diagnostic tool)
...
Former-commit-id: fd4ed1e425
2021-06-18 16:49:25 +00:00
christianEQ
e6900c37c1
detect full load + server threads (diagnostic tool)
...
Former-commit-id: fd4ed1e425
2021-06-18 16:49:25 +00:00
christianEQ
4237c9d5ff
detect client cpu usage in diagnostic tool
...
Former-commit-id: 693450393c
2021-06-17 20:40:10 +00:00
christianEQ
ef3ba1699d
detect client cpu usage in diagnostic tool
...
Former-commit-id: 693450393c
2021-06-17 20:40:10 +00:00
christianEQ
fd72894fbf
accurate cpu usage in diagnostic tool
...
Former-commit-id: 8ee7584cff
2021-06-17 18:32:11 +00:00
christianEQ
88149ed9e7
accurate cpu usage in diagnostic tool
...
Former-commit-id: 8ee7584cff
2021-06-17 18:32:11 +00:00
christianEQ
9dd97c9c0d
changed redis_flags names to keydb in makefile
...
Former-commit-id: 0727393627
2021-06-14 16:09:42 +00:00
christianEQ
b35847e709
changed redis_flags names to keydb in makefile
...
Former-commit-id: 0727393627
2021-06-14 16:09:42 +00:00
christianEQ
2417c7a593
several redis->keydb changes in sentinel.conf
...
Former-commit-id: d2ef059471
2021-06-11 19:16:33 +00:00
christianEQ
2c78e8c046
several redis->keydb changes in sentinel.conf
...
Former-commit-id: d2ef059471
2021-06-11 19:16:33 +00:00
christianEQ
3ea398ad5e
renamed redis mentions in runtest files
...
Former-commit-id: 2e894a512b
2021-06-11 19:11:12 +00:00
christianEQ
974dc4918a
renamed redis mentions in runtest files
...
Former-commit-id: 2e894a512b
2021-06-11 19:11:12 +00:00
christianEQ
e0aafaee37
renamed redis mention in readme
...
Former-commit-id: 34b0209f05
2021-06-11 19:10:35 +00:00
christianEQ
53be1b7fba
renamed redis mention in readme
...
Former-commit-id: 34b0209f05
2021-06-11 19:10:35 +00:00
christianEQ
d0a3554de7
renamed workspace gitignore
...
Former-commit-id: 046f575632
2021-06-11 19:10:12 +00:00
christianEQ
ac9fadc3dd
renamed workspace gitignore
...
Former-commit-id: 046f575632
2021-06-11 19:10:12 +00:00
christianEQ
c23c7f0ca4
renamed redis test files
...
Former-commit-id: 1c77104b5e
2021-06-11 19:09:40 +00:00
christianEQ
cb3f3d1b7e
renamed redis test files
...
Former-commit-id: 1c77104b5e
2021-06-11 19:09:40 +00:00