bentocorp / houston

Java / Scala back-end for Onfleet replacement
0 stars 0 forks source link

Race conditions in Atlas between Dispatcher & Driver actions #10

Open marcdoan opened 8 years ago

marcdoan commented 8 years ago

Data is corrupted when a dispatcher unassigns an order and the push notification does not reach the Driver in time before he/she accepts/rejects/completes the order.

To mitigate this issue, simply check (on Houston) if the order is assigned to the acting driver before accepting, rejecting, or completing an order.

vcardillo commented 8 years ago

Is this done? Let's close out stuff that's done.