Skip to content

When someone else got there first: how Backa handles rollback conflicts

Rollback sounds simple until someone else has touched the same thing. The agent changed a deal on Monday. On Tuesday a colleague updated the amount. On Wednesday you press Roll back. Which version should win? Here is what Backa does, and why.

How it worksBacka··4 min read
LinkedIn X Email Markdown
DealstagewonamountownerSam52,00061,000Anna, Tueagentnowroll backchanged since the agent. you decide.

The short answer

Before every rollback, Backa looks at the record again. If it is still the way the agent left it, rollback restores it. If anyone has changed it since, rollback stops, changes nothing, and shows you what is different. Then you decide.

Why it stops instead of guessing

A blind rollback writes the old values back no matter what. That is fine when nobody else works in the system. In a real team it throws away whatever happened in between, and nobody notices until a customer asks why their order went back to pending.

A rollback tool that quietly loses a colleague's work is worse than no rollback at all. So Backa takes the cautious side every time: when it isn't sure, it leaves things as they are and asks.

How Backa notices

When the agent makes a change, Backa writes down what the record looked like before and after. At rollback time it reads the record once more and compares. Where the system keeps a version stamp, like a last-modified time or an ETag, Backa checks that. Where it doesn't, Backa compares the fields the agent wrote with what is there now.

Where Backa compares fields, only the agent's own fields count. If a colleague changed the phone number and the agent changed the deal stage, rollback can still put the stage back without touching the phone number.

What you see

The change is marked as stopped in the audit log, and its details show Changed since the agent, with what the agent wrote and what is there now, field by field. Nothing has been written. You have three ways forward:

  • Keep as it is. The usual answer. The newer change stays, and the audit log notes that you looked.
  • Fix it by hand. Open the record and sort it out with the person who made the change.
  • Rollback anyway. Type rollback to confirm, and Backa puts the old values back, newer changes included. The audit log keeps both versions, so even this can be traced.

When you roll back a whole run

An agent often makes many changes in one go, and you can roll them back all at once, newest first. If one of them has been touched since, Backa stops there. The changes it already rolled back stay rolled back, and the rest wait, so you can look at the one that was in the way before going on.

Things that were deleted or created

The same rule applies when rollback would delete something. If the agent created a page and someone has since written in it, rollback doesn't delete it. If the agent deleted something and it has come back in the meantime, rollback doesn't make a second copy.

What the agent is told

An agent can ask Backa to roll back its own changes too. It gets the same answer you do: stopped, and why. It can't roll back anyway. Only a person can choose that.