lotus/chain
Steven Allen 7245ac2b69 fix a race in the sync manager
1. SyncerState contains a mutex and should never be copied. Honestly, this case
was probably fine but it's just as easy to create a separate snapshot type and
easier to reason about.

2. We need to initialize the syncStates array once at start, before accessing
it. By each syncer state inside each worker, we were racing with calls to
`State()`. Again, this was probably benign, but I don't trust optimizing
compilers.
2020-10-10 08:31:04 -07:00
..
actors fix: spec actors 2 reward shim uses correct field for CumsumRealized 2020-10-09 17:48:20 +01:00
beacon Fix drand non-test 2020-09-10 17:41:55 -04:00
events fix a race in tipset cache usage 2020-10-09 17:32:45 -07:00
exchange add a command to view block space utilization 2020-10-05 14:06:03 -07:00
gen Merge pull request #3583 from filecoin-project/feat/signing-backends 2020-10-10 02:58:02 +02:00
market Revert cached "available" amount if the AddFunds message send fails 2020-10-09 13:18:43 -07:00
messagepool Merge pull request #3583 from filecoin-project/feat/signing-backends 2020-10-10 02:58:02 +02:00
messagesigner Merge remote-tracking branch 'origin/master' into feat/signing-backends 2020-10-09 20:36:51 +02:00
metrics Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
state introduce separate state-tree versions 2020-10-07 12:04:32 -07:00
stmgr remove upgrade invariant checks 2020-10-09 21:51:58 -07:00
store unshare the journal 2020-10-09 13:23:07 -07:00
sub simplify message syncing logic 2020-10-09 11:06:49 -07:00
types Merge remote-tracking branch 'origin/master' into feat/signing-backends 2020-10-09 20:36:51 +02:00
vectors Merge remote-tracking branch 'origin/master' into feat/signing-backends 2020-10-09 00:50:41 +02:00
vm return an illegal actor error when we see an unsupported actor version 2020-10-07 15:46:56 -07:00
wallet Fix panic in wallet export when key is not found 2020-10-10 15:44:22 +02:00
badtscache.go Add a SyncUnmarkBad API 2020-09-09 14:34:05 -04:00
block_receipt_tracker.go Lint everything 2020-08-20 20:46:36 -07:00
checkpoint.go Allow marking a certain tipset as checkpointed 2020-09-09 14:34:00 -04:00
sync_manager_test.go syncer: make SyncManager an interface. 2020-09-14 21:58:59 +01:00
sync_manager.go fix a race in the sync manager 2020-10-10 08:31:04 -07:00
sync_test.go Fix docsgen, lotus-soup build 2020-10-09 18:43:22 +02:00
sync.go fix a race in the sync manager 2020-10-10 08:31:04 -07:00
syncstate.go fix a race in the sync manager 2020-10-10 08:31:04 -07:00
types_test.go Add an envvar to set address network version 2020-09-25 15:45:27 -04:00