252c437b0e
Orders from storage nodes are received by SettlementWithWindowFinal method. There is a stream which receives all orders and after getting all orders we are inserting into DB storagenode and bucket bandwidth. Problem is with bucket bandwidth which is stored through cache which is often using context from SettlementWithWindowFinal stream to perform DB inserts and its doing this in separate goroutine. Because of that is possible that SettlementWithWindowFinal is finished before flushing was finished and context is canceled while doing insert into DB Change-Id: I3a72c86390e9aedc060f6b082bb059f1406231ee |
||
---|---|---|
.. | ||
encryptionkey_test.go | ||
encryptionkey.go | ||
endpoint_test.go | ||
endpoint.go | ||
orders_test.go | ||
rollups_chore.go | ||
rollups_write_cache_test.go | ||
rollups_write_cache.go | ||
service_test.go | ||
service.go | ||
signer_test.go | ||
signer.go | ||
window_endpoint_phase.go |