marcopaggioro commented on issue #174:
URL: 
https://github.com/apache/pekko-persistence-jdbc/issues/174#issuecomment-3523732880

   @pjfanning Of course, once I determined that the problem was 
`SequenceNextValUpdater`, I did some analysis to understand the issues in 
detail. Digging around, I started wondering why the `global_offset` is manually 
extracted and then used in the `UPDATE` and `INSERT` queries.
   So I came to the following question:
   - Isn't it possible to rely on the DBMS' auto-increment feature and 
eliminate that query?
   - If it's really necessary, could a MySQL fix be the `REPLACE` query and not 
the `UPDATE/INSERT` query?
   
   I was wondering what you thought.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to