~bac/juju-charmstore/v4

Viewing all changes in revision 692.

  • Committer: GitHub
  • Author(s): jujugui
  • Date: 2017-07-20 08:51:00 UTC
  • mfrom: (691.1.1)
  • Revision ID: git-v1:a7a9f6966fe10ac472ba904191aacceed094c1af
Tags: 4.6.3
Merge pull request #764 from rogpeppe/257-fix-migration-race

internal/charmstore: fix race in blobstore migration

We were reading from the entity and writing to it concurrently.
The race detector did in fact pick up the mistake, but we
hadn't run with the race detector enabled...

Also, adjust the logs a little so it's clear which entities are
being migrated, and log any errors when an invalid
hash is used with the GC.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: