4e86951163
at the end of tally iteration, in order to set the new live accounting totals, we were iterating over all live accounting projects. We found a bug with this when running storj-sim. If we restarted the satellite live accounting would be cleared because storj-sim was running the live accounting redis instance. Since live accounting was cleared, at the end of tally, even if it found data in projects, we would not update the live accounting totals because we were iterating over the projects from live accounting to do so. We now iterate over projects found from tally in order to update live accounting We also found that if a user deleted everything from their project, tally would not find it and the live accounting would not be updated. For this reason, we merge live accounting projects into tally projects Change-Id: If0726ba0c7b692d69f42c5806e6c0f47eecccb73 |
||
---|---|---|
.. | ||
live | ||
reportedrollup | ||
rollup | ||
tally | ||
bucketstats.go | ||
bucketusage.go | ||
common.go | ||
db_test.go | ||
db.go | ||
projectusage_test.go | ||
projectusage.go |