Users accessing and editing the same record at the same time, race conditions may occur when writing to the database.

Hi All,

     Pls answer the below question

Users accessing and editing the same record at the same time, race conditions may occur when writing to the database. what is the resolution for that 


For example:

Users A and User B access a customer record of Customer Corp. at the same time.

They both then start a related action to edit the company’s address and they will both see the current address that is saved.

If user B submits their edits after user A, user B’s input will overwrite user A’s input (last save wins). 

how to resolve that 

Thanks in Advance! 

 

  Discussion posts and replies are publicly visible