Aayush Rajasekaran
3b3a35ee47
Add missing locks to Get()
2022-01-12 21:50:09 -05:00
Steven Allen
ab3c1c507e
correctness fixes for the autobatch blockstore
...
1. Simplify shutdown and make it idempotent by using a context.
2. Make sure `Flush` actually _fully_ flushes if the previous flush failed.
3. Don't clear the flush batch if flushing fails.
2022-01-12 19:09:21 -05:00
Aayush Rajasekaran
398f0766ba
Don't lock in Get
2022-01-12 18:53:57 -05:00
Aayush Rajasekaran
13d9cda20e
Address review part 2
2022-01-12 18:53:53 -05:00
Aayush Rajasekaran
98ad7580f8
Address review
2022-01-12 18:53:47 -05:00
Aayush Rajasekaran
4f26f67b3b
Support faster Get, retry flushes on error
2022-01-12 18:53:34 -05:00
Aayush Rajasekaran
2ba131e802
Use channels to trigger flushes in a dedicated goroutine
2022-01-12 18:53:29 -05:00
Aayush Rajasekaran
b628958cf6
implement stubs
2022-01-12 18:53:21 -05:00
Aayush Rajasekaran
a6489f2dd7
cache added cids
2022-01-12 18:53:14 -05:00
Aayush Rajasekaran
da39b16c83
Implement an autobatcher
2022-01-12 18:52:17 -05:00