Details
-
Improvement
-
Status: Resolved
-
Resolution: Won't Do
-
None
-
None
-
None
-
Operating System: All
Platform: All
Description
With binding aware APIs, it is a common mistake to write an object into a particular point in the list (e.g. identifier with a target key), but fail to attach that key into the DTO being stored there.
Given that the datastore has both data points, it can trivially correct for this mistake, allowing it to continue instead of producing a hard error.
Implement this recovery strategy, along with a very stern LOG.warn(), which will detail the entry which was being written and the call stack where the transaction was allocated.