Jennifer Wang
ca444bb71d
revert #7646 from v1.14.0 - this is not concensus breaking change and needs more testing before landing
2022-01-14 19:00:33 -05:00
Aayush Rajasekaran
99d0d5019b
Add missing locks to Get()
2022-01-14 18:57:57 -05:00
Steven Allen
9872ca7f12
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-14 17:17:51 -05:00
Aayush Rajasekaran
107f80274c
Don't lock in Get
2022-01-14 17:15:44 -05:00
Aayush Rajasekaran
4ec8fbf1ff
Address review part 2
2022-01-14 17:15:44 -05:00
Aayush Rajasekaran
5b38419c5f
Address review
2022-01-14 17:15:44 -05:00
Aayush Rajasekaran
dafd1f77fa
Support faster Get, retry flushes on error
2022-01-14 17:15:44 -05:00
Aayush Rajasekaran
ce6e328d52
Use channels to trigger flushes in a dedicated goroutine
2022-01-14 17:15:44 -05:00
Aayush Rajasekaran
2bc4b35f51
implement stubs
2022-01-14 17:15:44 -05:00
Aayush Rajasekaran
031b06be77
cache added cids
2022-01-14 17:15:43 -05:00
Aayush Rajasekaran
b9474cf0a2
Implement an autobatcher
2022-01-14 17:15:20 -05:00