Commit graph

17 commits

Author SHA1 Message Date
Alex ea75564851 More aggressive sync timings & improve other stuff 2020-04-19 17:59:59 +00:00
Alex a6129d8626 Begin implement bucket management & admin commands 2020-04-19 17:15:48 +02:00
Alex 302502f4c1 Add support for fully replicated tables with epidemic dissemination of updates 2020-04-19 15:14:23 +02:00
Alex 7131553c53 Refactor sharding logic; coming next: full replication with epidemic dissemination 2020-04-19 13:22:28 +02:00
Alex f41583e1b7 Massive RPC refactoring 2020-04-18 19:21:34 +02:00
Alex 3f40ef149f Fix sync: use max root checksum level 2020-04-17 21:59:07 +02:00
Alex db1c4222ce Don't send items...
...if syncer doesn't need them because he's going to delete the partition anyway.
Also, fix block resync queue
2020-04-17 18:51:29 +02:00
Alex b780f6485d Make sync send data both ways 2020-04-17 18:27:29 +02:00
Alex 69f1d8fef2 WIP
TODOs:
- ensure sync goes both way
- finish sending blocks to other nodes when they need them before deleting
2020-04-17 17:09:57 +02:00
Alex e41ce4d815 Implement getting missing blocks when RC increases
Issue: RC increases also when the block ref entry is first put by the actual client.
At that point the client is probably already sending us the block content,
so we don't need to do a get...
We should add a delay before the task is added or find something to do.
2020-04-17 15:40:13 +02:00
Alex 867646093b Table range deletion 2020-04-17 14:49:10 +02:00
Alex 768d22ccdb Better prints again, and a great question 2020-04-16 19:57:13 +02:00
Alex 2a05fd135a Change debug prints a bit 2020-04-16 19:37:08 +02:00
Alex 2f3b1a072f WIP 2020-04-16 19:28:02 +02:00
Alex 2832be4396 WIP 2020-04-16 18:41:10 +02:00
Alex e8d750175d Implement ring comparison algorithm 2020-04-16 17:04:28 +02:00
Alex f01c1e71b5 Begin work on sync... 2020-04-16 14:50:49 +02:00