rafsun42 opened a new pull request, #1416:
URL: https://github.com/apache/age/pull/1416

   In the DELETE executor, tuples were being locked\deleted using the command ID
   returned by GetCurrentCommandId(). However, the original tuples were 
retrieved
   using a command ID stored in the estate.
   
   To fix it- before the retrieval of a tuple, estate command IDs are set using
   GetCurrentCommandId() so it matches if the tuple is to be deleted later.
   
   Additional changes:
   -------------------
   Fixed an incorrect cypher_delete test. The query
   `MATCH (n1)-[e]->() DELETE n1, e RETURN n1` should be able to delete n1 and e
   without requiring DETACH DELETE.
   
   TODO:
   -----
   It may be a good idea to audit the executors for any inconsistent use of
   command IDs.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to