Browse Source

Note race condition

David Cramer 10 years ago
parent
commit
617c4dca5f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/sentry/event_manager.py

+ 2 - 0
src/sentry/event_manager.py

@@ -339,6 +339,8 @@ class EventManager(object):
         return matches
 
     def _ensure_hashes_merged(self, group, hash_list):
+        # TODO(dcramer): there is a race condition with selecting/updating
+        # in that another group could take ownership of the hash
         bad_hashes = GroupHash.objects.filter(
             project=group.project,
             hash__in=hash_list,