[GitHub] [tomcat] aooohan commented on pull request #596: Use SELECT...FOR UPDATE to update session data in the database instead of DELETE, INSERT.

2023-03-12 Thread via GitHub
aooohan commented on PR #596: URL: https://github.com/apache/tomcat/pull/596#issuecomment-1465410872 > One way to fix this would be to add an optional PK column (columns?) to the configuration. +1 -- This is an automated message from the Apache Git Service. To respond t

[GitHub] [tomcat] aooohan commented on pull request #596: Use SELECT...FOR UPDATE to update session data in the database instead of DELETE, INSERT.

2023-03-09 Thread via GitHub
aooohan commented on PR #596: URL: https://github.com/apache/tomcat/pull/596#issuecomment-1463201626 I have a question that why we don't add a real **primary key**(auto-increment) to solve the problem that primary key constraint violation when insert data to database simultaneously? And we