Maxime de Roucy
3078d08c04
use LL_… log level instead of syslog LOG_… log level
...
Else there is an out of bound access in syslogLevelMap.
For example if we use `serverLog(LOG_INFO,…`, later in the code
it tries to access `syslogLevelMap[LOG_INFO]`.
LOG_INFO == 6 but syslogLevelMap only have 4 elements.
Former-commit-id: a1680fa612bdf5f521ea2c06b83994bf0797015a
2021-09-16 17:29:07 -04:00
malavan
765885bd7b
if statement was actually correct
...
Former-commit-id: d44b99afdf1ec92f8a36f0c091c37328008d867b
2021-09-14 17:17:08 +00:00
malavan
34396255a2
the if statement was actually correct
...
Former-commit-id: 8e4d1ceb859b3440bdec525ff7b8ed4aef86f4b8
2021-09-14 17:15:44 +00:00
malavan
86784fe9ba
improve overwrite key performance
...
Former-commit-id: 56f9d5528385ea78074a308c6d3987b920d6cc35
2021-09-14 17:06:04 +00:00
malavan
3c7c11539c
missing brackets in databasesCron rehash check
...
Former-commit-id: f2f0d5287edda676a514cbc02172bb874569016b
2021-09-14 02:03:18 +00:00
John Sully
8210d67c24
Don't zero out potentially long buffers
...
Former-commit-id: 91e76ab4a00546278100baf6dfe61c13e802b40e
2021-09-10 00:40:08 +00:00
John Sully
f695e2e26c
In single thread mode don't batch
...
Former-commit-id: 7daadae789cdca6f0eb0c3f553737d4f8efc0566
2021-09-10 00:39:47 +00:00
John Sully
9483ff082c
Don't zero out potentially long buffers
...
Former-commit-id: 99eb47e129a3cd555914d4816febb02f0058253a
2021-09-10 00:38:49 +00:00
John Sully
1b02987b0c
In single thread mode don't batch
...
Former-commit-id: b1cb230690a584b8bfe7f433fc0ca0320877ebd3
2021-09-10 00:38:08 +00:00
John Sully
6a3294ab7b
Merge branch 'keydbpro' of https://gitlab.eqalpha.com/keydb-dev/KeyDB-Pro into keydbpro
...
Former-commit-id: 026e939db2897701d936487ca30dd1c30feb299b
2021-09-09 19:35:08 +00:00
malavan
a8a550a911
Merge branch 'keydbpro' of https://gitlab.eqalpha.com/keydb-dev/KeyDB-Pro into keydbpro
...
Former-commit-id: f0025394aed6f72a8c678be0da7c42d5e4fad1d9
2021-09-08 21:16:41 +00:00
malavan
a15352fc8a
add command arg to clientArgs helper
...
Former-commit-id: b6f388ee3bd269bd8373ea16adb379ec6922ee0a
2021-09-08 21:16:04 +00:00
jsully
d1e0684393
Merge branch 'async_mget' into 'keydbpro'
...
add async mget
See merge request keydb-dev/KeyDB-Pro!38
Former-commit-id: e315b39f4779d530f5ab93e1f15915211e6706e2
2021-09-08 19:08:23 +00:00
benschermel
77ecd63dc2
update deb packaging to build with systemd flag
...
Former-commit-id: d7bd4f7a1c8d6195b60ccf6417ebb77fba097398
2021-09-08 02:28:17 +00:00
John Sully
44d1b90757
Merge branch 'keydbpro' of https://gitlab.eqalpha.com/external-collab/keydb-pro-6 into keydbpro_collab
...
Former-commit-id: 067acbbfd5eb0c2b4515a5d2cc87970870a88acb
2021-09-03 17:20:54 +00:00
malavan
35e5e85d95
don't use flags that aren't supported by certain versions of OPENSSL
...
Former-commit-id: ca7342948fb12804905219ae106b4722368e9a2f
2021-09-02 19:06:35 +00:00
malavan
570224a2c4
Remove duplicate code
...
Former-commit-id: a4c3182afb71a0d7d6d25111c0e0cfe5dcfc6130
2021-09-02 19:06:12 +00:00
malavan
286e9cccdc
updates from comments
...
Former-commit-id: 852885f09e7df1d9570408546baffa8545707335
2021-09-01 21:00:27 +00:00
malavan
b300551862
refactor asyncCommand
...
Former-commit-id: 6af5775e01872f130bc18791fdb4c0b22507b37f
2021-09-01 20:18:41 +00:00
jsully
7d453dd980
Merge branch 'add_storage_provider_data_to_INFO' into 'keydbpro'
...
add stats for storage provider reads
See merge request keydb-dev/KeyDB-Pro!39
Former-commit-id: 07bb08a8bc89350f4addb9dfd77435217c6b46d5
2021-09-01 19:21:05 +00:00
John Sully
6e7c4cbf17
We need to send keepalives to masters while waiting to prevent disconnects
...
Former-commit-id: 7cbd6758b1042198c14ca9e8da0f1f7bc05df93d
2021-09-01 04:15:59 +00:00
John Sully
f3fb4e3209
Don't be in tracking mode during load as processChangesAsync works outside the normal system
...
Former-commit-id: 8d31ce6eafea1cea2f9f4ea25e44306efef28fa3
2021-09-01 04:15:28 +00:00
malavan
3bd777bf55
remove unused variable names
...
Former-commit-id: 18d688c2f04a8ce67409bd4442c7635d426fc0ac
2021-08-31 20:03:55 +00:00
malavan
7ee39396c0
add method to get client args as list
...
Former-commit-id: 576b8cd2153c48c0ca4dfc9ed7d12f77d6f76f7e
2021-08-30 21:09:22 +00:00
malavan
89e6442c09
add stats for storage provider reads
...
Former-commit-id: 612393ffba43cda31443605de924dc8dcf77ef52
2021-08-26 19:45:33 +00:00
malavan
0baa543819
add correct thread assert to client::asyncCommand
...
Former-commit-id: a892fb4d551fb58d619bc80c333a6b3a9ed34215
2021-08-26 14:23:13 +00:00
malavan
b92c0e8d5c
add correct thread assert to client::asyncCommand
...
Former-commit-id: 8970f832348a80db6c183d25c4a5342a258a6ba9
2021-08-26 13:58:12 +00:00
malavan
1b074c3983
refactor scan to use client::asyncCommand
...
Former-commit-id: 4de596631f48626b770d0217c7ff21001ea46bcf
2021-08-26 13:55:32 +00:00
malavan
6175535d54
refactor of asyncCommand to include snapshot creation
...
Former-commit-id: c0908362162b5f2834b90cd9ce84fd1ee6768834
2021-08-26 13:10:59 +00:00
malavan
7451f1738a
change indentation and increase async mget threshold
...
Former-commit-id: ffaa176d5eafabfae372224c790e99dd9e520fef
2021-08-25 22:15:28 +00:00
malavan
dcd3d47f7f
refactor async to offload common code to client
...
Former-commit-id: 9a7547bfaa0ceff76e604262913fb11a64c627d8
2021-08-25 20:06:06 +00:00
malavan
cb8f55c057
Merge branch 'keydbpro' into async_mget
...
Former-commit-id: ae34d0b6324ebd9d2d52342c06b3fd49f110210c
2021-08-25 19:37:33 +00:00
jsully
dd9e0ab9c3
Merge branch 'upgrade_rocksdb' into 'keydbpro'
...
upgrade to latest version of rocksdb
See merge request keydb-dev/KeyDB-Pro!34
Former-commit-id: 74c39b237ee0f9ff98a6cc8e3e4fbf70a3ee00ac
2021-08-25 19:08:19 +00:00
malavan
6494142866
update gitlab ci to work with facebook repo instead of ours
...
Former-commit-id: 2745277e7591076373e2dfd4eef8c1412cffffbc
2021-08-24 22:07:21 +00:00
malavan
7d693c3665
use latest stable version
...
Former-commit-id: 792f72cb513fc6db58d824649478ee36d47631eb
2021-08-24 22:00:52 +00:00
malavan
aaadb0ce38
Merge branch 'keydbpro' into upgrade_rocksdb
...
Former-commit-id: 1bf9d7e749e7007f1309f3e57e366122fdbacbac
2021-08-24 21:54:01 +00:00
malavan
6f7283c065
add async mget
...
Former-commit-id: c7bd2327f8e4330e2bcd857fc87ce7e86e075d20
2021-08-24 21:44:17 +00:00
malavan
9bedb29fb6
add a few more flash tests
...
Former-commit-id: b19fdc23a9a39ae718580feae5049f6906caec28
2021-08-23 21:30:16 +00:00
benschermel
d634b09864
fix service install
...
Former-commit-id: c43cec74178d8bf35143f3f4148dbe3c37a75f90
2021-08-23 18:41:43 +00:00
malavan
a1bbb17a5d
newest version of rocksdb
...
Former-commit-id: e384baa62e50a5caa0cdc779f2b8554ce8d8b375
2021-08-23 17:04:01 +00:00
benschermel
50394ce5f9
fix service install
...
Former-commit-id: 41bf39f6e92beb8ab55ec0e7652154bc43d48774
2021-08-23 03:39:16 +00:00
benschermel
37cd24866a
update pkg conf file
...
Former-commit-id: f87945cbbd2a475394f584b09b15c2c19db5e9bd
2021-08-22 22:29:42 +00:00
benschermel
ebbf84fb15
update pkg conf file
...
Former-commit-id: 2a2ae61f07ecea8a178f4bc478bb7786d5be27d9
2021-08-22 22:28:18 +00:00
benschermel
eb9b09c311
update pkg conf file
...
Former-commit-id: 0be40b9fd43ec4e7802e09fa627ad91b2e387707
2021-08-22 22:21:34 +00:00
benschermel
b8bb658e47
update pkg conf file
...
Former-commit-id: 03a52dade1fe8cf5a10bbab113e14f73fade0373
2021-08-22 22:18:22 +00:00
Malavan Sotheeswaran
31f9ab610c
Merge branch 'keydbpro' into 'PRO_RELEASE_6'
...
Keydbpro
See merge request keydb-dev/KeyDB-Pro!37
Former-commit-id: e6a130e4a02b3d0cc2fcaeb0ab24e23cb60a7181
2021-08-19 19:11:04 +00:00
malavan
ab3eec4d59
Merge branch 'keydbpro' of https://gitlab.eqalpha.com/keydb-dev/KeyDB-Pro into keydbpro
...
Former-commit-id: 4059f9c2396f0fa517ac2946ad5f0e45039c00e6
2021-08-19 18:24:29 +00:00
malavan
0abda4443a
switch to new patch of rocksdb that fixes archlinux build
...
Former-commit-id: e2e5b5320e5c1b89ec2a3f946826097b819f6593
2021-08-19 18:24:01 +00:00
Malavan Sotheeswaran
df6aeee332
Merge branch 'patch_rocks_db' into 'keydbpro'
...
public copy of rocksdb
See merge request keydb-dev/KeyDB-Pro!36
Former-commit-id: 4421396764688f7df2c967974f6a3b5dca28e3f5
2021-08-19 18:08:16 +00:00
Malavan Sotheeswaran
0a37b2b933
Merge branch 'keydbpro' into 'patch_rocks_db'
...
# Conflicts:
# .gitmodules
Former-commit-id: aec26e46d3b3617a57edd42d996f7598de5bfe4e
2021-08-19 17:57:52 +00:00