John Sully
|
b7e13da70d
|
A bunch of bug fixes
Former-commit-id: 228339586a19874f869cf45dc3834a270f99768a
|
2019-12-10 01:01:45 -05:00 |
|
John Sully
|
c55904d9f4
|
Add support for multiple databases with rocksdb
Former-commit-id: cfa3b760b00776876134692d42e25a60fcd8dea9
|
2019-12-09 20:45:58 -05:00 |
|
John Sully
|
8f8f9b7a46
|
Flash running well
Former-commit-id: 9cf393eb9fb69bcc7550cd8b83e1568b3f360310
|
2019-12-08 20:06:22 -05:00 |
|
John Sully
|
8851ddfd4a
|
modify how the database array is stored so swaps are easier
Former-commit-id: 48fd6ec5ca69dd505d0e757862c09a898c19cf22
|
2019-12-08 16:49:59 -05:00 |
|
John Sully
|
3aade2d1e6
|
Prevent extra copy of key
Former-commit-id: 9c3ef97039e59c6b820f71a90f8a9fb4eae8a7b1
|
2019-12-08 16:02:24 -05:00 |
|
John Sully
|
dcebb3ab11
|
Optimize remote storage by bulk saving keys after processing operations but before sending responses to clients
Former-commit-id: 63a6dc2a29680d5d3f3f245168ca7de5d6bee1eb
|
2019-12-08 10:56:05 -05:00 |
|
John Sully
|
5f481a206d
|
Initial RocksDB integration
Former-commit-id: 0de9e5b692c02e779e538ddd0a56d10215e501bb
|
2019-12-06 20:39:32 -05:00 |
|
John Sully
|
ebf90e8a53
|
Fixup IStorage uses
Former-commit-id: 5ea0ce143a79365fb3903c6fc7caeb1c9760b0cc
|
2019-12-06 17:43:28 -05:00 |
|
John Sully
|
5012176262
|
Nested snapshot garbage collection. Works but huge fragmentation
Former-commit-id: 82b2a3f3dbf8f864d9157655b5422c69845c4019
|
2019-11-28 19:00:51 -05:00 |
|
John Sully
|
27f7c2af00
|
Ensure size() count is accurate, and fix find_threadsafe which didn't check children
Former-commit-id: ffa44b636afd4fe907c79fe7deebac3d1e091ee9
|
2019-11-25 17:50:40 -05:00 |
|
John Sully
|
1efd066a96
|
Move snapshot code into its own file
Former-commit-id: 4afd0a6ce650cc93a73ea3e4bb632226087dde37
|
2019-11-24 17:59:02 -05:00 |
|
John Sully
|
4346bcd7dc
|
Restrict the snapshot API
Former-commit-id: cbafb88f267a9480cdbde6a88e9e1992e8a85971
|
2019-11-24 17:53:06 -05:00 |
|
John Sully
|
a1f29681aa
|
Get rid of key only iterate, the threadsafe is just as fast and key only users can ignore the robj
Former-commit-id: 29689a5ed6141c5b2019d41ccd4036e6ddd1a121
|
2019-11-24 15:45:17 -05:00 |
|
John Sully
|
1badb64289
|
Fix crash on shutdown
Former-commit-id: 6dc55cc0f838b3c82afb233985429b4e7fc5dfb1
|
2019-11-24 14:24:41 -05:00 |
|
John Sully
|
dc47a20da3
|
Fix multithreading data races
Former-commit-id: 80f6e5818fd575cb08a5f620c35eed1cd862eb57
|
2019-11-24 13:44:43 -05:00 |
|
John Sully
|
a7d378659f
|
Fix warning
Former-commit-id: 1318b87013c61f7149127eae8e30caf887a6db7b
|
2019-11-23 19:19:54 -05:00 |
|
John Sully
|
b0278f5609
|
Add support for nesting snapshots
Former-commit-id: 5e6c37f388233cc3f2d204ad17ac2897d3333a21
|
2019-11-23 19:02:50 -05:00 |
|
John Sully
|
252db8939b
|
Add support for nested snapshots
Former-commit-id: 43456c7807152062d59b2a90597b6204f637f5cd
|
2019-11-22 20:53:36 -05:00 |
|
John Sully
|
5e692ff15a
|
Merge branch 'unstable' into advanced_db
Former-commit-id: 00ad497fb3f409dbfcaa62fa9ea5d793263eb13d
|
2019-11-21 20:21:48 -05:00 |
|
John Sully
|
633b7398e1
|
Fix issue #107, active replicas do their own expires
Former-commit-id: 8e4f323439df29a5e8c0de9db7a848291721fd07
|
2019-11-20 19:44:31 -05:00 |
|
John Sully
|
036fc9614d
|
Run KEYS async
Former-commit-id: 214a54a815ff66ef4a1526da90296787240ecdf9
|
2019-11-19 22:12:52 -05:00 |
|
John Sully
|
e25a4e80e7
|
Multiple threads should be able to get the same snapshot provided its not too old
Former-commit-id: 054331098ee18dfb1887fd2b0a67688ef894823e
|
2019-11-19 17:40:35 -05:00 |
|
John Sully
|
4084c04112
|
Ensure iterating the keyspace still works during background save
Former-commit-id: 23d7a8a293f253262801bc6ce88ad85e4e38f59a
|
2019-11-19 15:47:06 -05:00 |
|
John Sully
|
b51ece810f
|
Final design of forkless background save. expires NYI
Former-commit-id: e2dc24b441bf52b181c820c853e0bc7524254f3f
|
2019-11-18 19:47:12 -05:00 |
|
John Sully
|
331f38b94e
|
Merge branch 'unstable' into advanced_db
Former-commit-id: 7530d93cd5c4a9fc4e6466abcf96edbdd8daea9e
|
2019-11-18 15:22:17 -05:00 |
|
John Sully
|
7a50cebac4
|
Remove unlocked KEYS command support, we will do this with snapshotting
Former-commit-id: 4396682c07d4df3fdca01d1299ad171e310a9fc7
|
2019-10-24 20:18:11 -04:00 |
|
John Sully
|
9df7197221
|
Forkless background save. NOT OPTIMIZED
Former-commit-id: bd9d8e05b0430efd226be773c0530828f1f6b428
|
2019-10-20 23:54:05 -04:00 |
|
John Sully
|
764a05fedd
|
Factor out dependencies on rdb_child_pid which will be going away
Former-commit-id: 2ab4c6b99e3f3cb9f216bd81e78914a6fcd394f6
|
2019-10-17 23:10:45 -04:00 |
|
John Sully
|
5fb7d4a325
|
Dependencies for forkless RDB saving
Former-commit-id: c12be594754ac8079f467e0fa9f8580bd65e3a55
|
2019-10-17 22:53:50 -04:00 |
|
John Sully
|
7de19770cb
|
Ensure RDB saving only uses data from the persistent data struct, and cleanup inheritance
Former-commit-id: fcdda67d87b3076023f459532c75392b72768a51
|
2019-10-17 17:20:47 -04:00 |
|
John Sully
|
60c8887aae
|
Cleanup inheritance
Former-commit-id: e8debc83e8271cf8d76c5084923cf6e1ea7af3b4
|
2019-10-16 13:45:36 -04:00 |
|
John Sully
|
4f47f6818f
|
Add the IStorage interface and wire it up
Former-commit-id: 898efbfc0c7038818083ea29fdd63cafa47721fb
|
2019-10-13 15:24:08 -04:00 |
|
John Sully
|
63f2b3a987
|
Isolate the persistent parts of the database from the runtime parts
Former-commit-id: 8d63f5b560d067a634f2ef671962be8815c9e23c
|
2019-10-13 15:24:08 -04:00 |
|
John Sully
|
e4482cb695
|
Hide the database dict
Former-commit-id: 024365521c2b74275839562ba9326b6ea26d3836
|
2019-10-13 15:13:01 -04:00 |
|
John Sully
|
c61b6cc8fd
|
Update more slave instances to use replica (Issue #75)
Former-commit-id: 252725d50fc9d4ff2b6e9246a36c38176d61beae
|
2019-10-13 12:29:20 -04:00 |
|
John Sully
|
2d0cd2c1b2
|
Implement TTL and PERSIST commands for subkeys. Also ensure expiremember replaces any old subkey expiries
Former-commit-id: 16f96efbe7c6c27f2a79f5b472447407f905df15
|
2019-10-13 12:03:25 -04:00 |
|
John Sully
|
2912b22403
|
KEYS now only blocks one database
Former-commit-id: 18d42a5c353f76533a0ccc4ded24ed089cedacc8
|
2019-09-12 18:51:10 -04:00 |
|
John Sully
|
02151b9110
|
Fix test failures: Non active replicas are allowed to use shared int values
Former-commit-id: 8536854266d5795c5c2bc11b8b344f20759b55af
|
2019-07-30 17:11:15 -04:00 |
|
John Sully
|
2df14dc997
|
We can't set FExpire() on shared objects, issue #66
Former-commit-id: 2794cfced4fdb18c0860e966dde0b46b9584c4dc
|
2019-07-23 23:39:47 -04:00 |
|
John Sully
|
589628823f
|
Fix merge conflict
Former-commit-id: 0b43b51a2e3a6af11532146fbb7929f3ecf3b036
|
2019-07-23 18:53:59 -04:00 |
|
John Sully
|
f88592451d
|
Plumb support for sub expires to all expire related code
Former-commit-id: 184abac6942a9a6aa8783741b50b23210afddcc5
|
2019-07-23 18:53:59 -04:00 |
|
John Sully
|
d7a1231238
|
Fix crash with traditional expiration
Former-commit-id: 0ba5b2c3d66d3a1a520f223ad2c288c22601bd5a
|
2019-07-23 18:53:58 -04:00 |
|
John Sully
|
2a2225d150
|
Initial prototype of EXPIREMEMBER command
Former-commit-id: 0b3d74ea67d616a6869cbd66198c8dd7ffa72eb7
|
2019-07-23 18:53:58 -04:00 |
|
John Sully
|
d58b2575e5
|
Support TTL stats with the new expire datastructure
Former-commit-id: 271df3dad4f55f20177a8a9a065778f4943835f1
|
2019-07-23 18:30:10 -04:00 |
|
John Sully
|
db206557e9
|
never make last minute changes before commiting
Former-commit-id: 7e5d3f4f160c1c6f91c42b19f95ad17fcb7f1590
|
2019-07-23 18:30:10 -04:00 |
|
John Sully
|
82bd5f0ecc
|
Fix a few potential assert crashes
Former-commit-id: 5f3920e491a9632d3b84d9af7800c154f2be0809
|
2019-07-23 18:30:10 -04:00 |
|
John Sully
|
27cb5dba75
|
New expire datastructure and algorithm. Allows us to expire in sublinear time
Former-commit-id: 3880d2616c882e19169180dc10268564347b0279
|
2019-07-23 18:30:10 -04:00 |
|
John Sully
|
bb9b8ee164
|
Fix bad merge in SCAN KEYS command
Former-commit-id: c21af6b351328ffbdb1d1e2a7eed44f8f929f8b2
|
2019-07-19 00:43:23 -04:00 |
|
John Sully
|
15f5c7ccf7
|
Merge commit '722446510faf0debf0d309708b2ed4fe4d939319' into unstable
Former-commit-id: 821c12c482d20b15dfb5a6eeab52e167997627d8
|
2019-07-19 00:32:43 -04:00 |
|
John Sully
|
4088de0ed2
|
Merge commit '677e95e2f5ee903682ce44a7bfd9558a22577926' into unstable
Former-commit-id: 4602f8c391409e9dd59f1fbee6a5ef011b219ca1
|
2019-07-19 00:01:56 -04:00 |
|