FrankChen021 commented on issue #11418: URL: https://github.com/apache/druid/issues/11418#issuecomment-878728105
A simplest but not the graceful way to fix it is to override `compareAndSwap` in SQLServer extension. A better method is to add an abstract `selectForUpdate` function in `SQLMetadataConnector` to allow different database implementations to implement in their own ways. I'm also thinking about if it's possible to use optimistic lock mechanism to address the problem globally. -- 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]
