recategorized by
94 views
2 votes
2 votes

Dr. Unnikrishnan did a UPI transaction to book a bus ticket on his mobile phone and as soon as he received a success confirmation his phone battery died and the phone tuned off. If that was the last ticket available and many others were simultaneously trying for that ticket, which of the following is/are a possible outcome? (Mark all the appropriate options)

  1. The transaction is cancelled and Doctor gets his refund
  2. Doctor loses his money and ticket gets assigned to someone else
  3. Doctor gets his ticket when he restarts his mobile phone
  4. Both doctor and someone else gets assigned the ticket and after contacting the customer care one of their ticket gets cancelled and he gets a refund
recategorized by

1 Answer

Best answer
3 votes
3 votes
The durability property of a transaction means that once the transaction is committed (confirmed by the success message) its effects are preserved even when system crashes. In this question only the client device is turned off. But even if the server had a crash, Doctor will still get his ticket due to the durability property of transaction.
selected by
Answer:

Related questions

1 votes
1 votes
1 answer
2
gatecse asked Oct 15, 2020
95 views
If there are $n$ transactions each having $m_{1},m_{2},\dots,m_{n}$ operations respectively, the number of concurrent schedules possible is ______ (Mark all the appropria...