Skip to content
Snippets Groups Projects
  1. Nov 25, 2019
  2. Nov 22, 2019
  3. Nov 21, 2019
  4. Nov 20, 2019
  5. Nov 19, 2019
  6. Nov 08, 2019
  7. Nov 07, 2019
  8. Nov 06, 2019
  9. Nov 05, 2019
  10. Oct 29, 2019
  11. Oct 25, 2019
  12. Oct 24, 2019
    • Ramakrishnan Muthukrishnan's avatar
      do the read/write operations from the db should be in a transaction · 495b5492
      Ramakrishnan Muthukrishnan authored
      `redeemVoucher' reads stuff from the db, makes decisions and then
      writes to the db. However if there is another client doing a
      simultaneous `redeemVoucher' for the same `voucher', then both of them
      would redeem the voucher, which is incorrect. The operations should
      have exclusive access to the db and this is achieved with
      `withExclusiveTransaction`.
      495b5492
Loading