i was asked this question in an interview
In a microservice architecture if a request has to pass through multiple services and fails in midway, how would you revert all the previous transactions.
lets say a req goes through the services A -> B -> C -> D, and the requested failed in service C, how would you revert the transactions in A and B?
Can anyone help me out