mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
eb10ac346f
Without the fix we can have a race, example: ``` Write at 0x00c000432039 by goroutine 187: github.com/rclone/rclone/fs/accounting.(*StatsInfo).Error() fs/accounting/stats.go:495 +0x3f1 github.com/rclone/rclone/fs/accounting.(*StatsInfo).Error-fm() fs/accounting/stats.go:477 +0x55 github.com/rclone/rclone/fs/walk.listRwalk.func1() fs/walk/walk.go:162 +0xd2 github.com/rclone/rclone/fs/walk.walk.func2() fs/walk/walk.go:402 +0x30f Previous read at 0x00c000432039 by goroutine 184: github.com/rclone/rclone/fs/accounting.(*statsGroups).sum() fs/accounting/stats_groups.go:351 +0xcae github.com/rclone/rclone/fs/accounting.rcTransferredStats() fs/accounting/stats_groups.go:132 +0x1f4 ``` Fixes #3844 |
||
---|---|---|
.. | ||
accounting_other.go | ||
accounting_test.go | ||
accounting_unix.go | ||
accounting.go | ||
inprogress.go | ||
stats_groups_test.go | ||
stats_groups.go | ||
stats_test.go | ||
stats.go | ||
stringset.go | ||
token_bucket_test.go | ||
token_bucket.go | ||
transfer.go |