What happens when two developers at different sites try to commit changes to the same line of code at the same time?
Ans. Let’s assume two developers at two different sites checkout the same file and make changes to the same line. The first developer commits their changes and a revision number is assigned. The changes just committed by this developer are already in the source code repository replica at the second developer’s site because WANdisco immediately replicated them. The second developer was unaware of this latest revision and failed to do an update. The second developer then attempts to do their commit and receives an out of date error message, just as they would if both developers were working against the same Subversion or CVS repository at the same site. Users will even see the same Subversion or CVS messages. The second developer whose commit failed can then do an update from their local repository and they will pick up the latest revision. As soon as this developer resolves the conflicts their changes are committed with a new revision number, and propagated to all of the other repositor
Related Questions
- What happens if the admitting diagnosis code at the time of admission certification has a different extension than the code on the claim submitted to HFS?
- Can two developers at different sites make changes to the same source code file at the same time?
- What happens if someone changes the current time to try to get more time?