Locking bugs temporarily?

Marc Schumann wurblzap at gmail.com
Mon Feb 27 13:39:42 UTC 2012


2012/2/27 Gervase Markham <gerv at mozilla.org>

> My question is more about my Sync extension. The reason the changes made
> by this extension need to have priority is that they are automatic
> syncings from another system, not in real time. I can't go back to that
> other system and say "you know the guy who committed a change 5 minutes
> ago? Get him back from his tea break, put him in front of a computer and
> get him to resolve this conflict". However, I can get the guy who is
> making a change in the 1 or 2 seconds between me requesting a copy of
> the bug data and me writing it - because he's still sitting at his
> computer, in front of a system I control (Bugzilla).
>
> So Sync changes need to always succeed, which means the real-life user
> has to get the mid-air.
>

In order to avoid a mid-air, you need to lock as soon as changes start
happening on your syncing system. Otherwise, changes might conflict. And if
you say that change might have happened 5 minutes ago, then that's way too
long a time for a lock imho.

On a related note, what do you want to happen if two sync users conflict?

   Marc
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list