You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.
which could sometimes yield a negative number, given how the JVM calculates these.
java.lang.RuntimeException: java.sql.SQLException: Incorrect arguments to sleep.
at net.bramp.db_patterns.locks.MySQLSleepBasedCondition.awaitNanosInternal(MySQLSleepBasedCondition.java:113)
at net.bramp.db_patterns.locks.MySQLSleepBasedCondition.awaitUntil(MySQLSleepBasedCondition.java:149)
at net.bramp.db_patterns.queues.MySQLBasedQueue.poll(MySQLBasedQueue.java:243)
Caused by: java.sql.SQLException: Incorrect arguments to sleep.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)
at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2090)
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1964)
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3306)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:463)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3040)
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2288)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2681)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2551)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1192)
at net.bramp.db_patterns.locks.MySQLSleepBasedCondition.awaitNanosInternal(MySQLSleepBasedCondition.java:96)
... 7 common frames omitted
The text was updated successfully, but these errors were encountered:
I get the following exception intermittently when using the MySQLBasedQueue. I'm running MySQL 5.7.12 Community Server on Ubuntu.
I'm guessing this has something to do with the lines
and
which could sometimes yield a negative number, given how the JVM calculates these.
The text was updated successfully, but these errors were encountered: