10 Commits

Author SHA1 Message Date
kishorenc
5d424b5d38 Implement PUT + fix JSON response for forwarded requests. 2020-04-02 13:41:59 +05:30
kishorenc
8bfeeeb2ee Fix forwarding of delete operations. 2020-03-25 21:31:56 +05:30
kishorenc
3cb4c3a3b6 Reject writes to a follower when there is no leader. 2020-03-23 19:21:25 +05:30
kishorenc
b16614eb20 Follower should forward write requests to leader. 2020-03-23 08:53:58 +05:30
kishorenc
e057b64d9d Migrate to butil logger. 2020-03-20 16:49:26 +05:30
kishorenc
a52ec80999 Handle presence/absence of snapshot.
Still need to handle import of raw db data into snapshot.
2020-03-15 16:11:29 +05:30
kishorenc
0a6f8947f3 Refactor replication init and improve logging. 2019-10-13 12:53:21 +05:30
Kishore Nallan
3a9743aa90 Parameterize API key used by replication. 2017-12-16 22:12:03 +05:30
Kishore Nallan
42d0c31140 HTTPS is now supported! 2017-11-25 18:24:33 +05:30
Kishore Nallan
58a10877ee Basics of background replication.
Supports inserts. Deletion will be tackled next.
2017-09-14 09:58:44 +05:30