Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlite autocommit error #4

Closed
SlimeDog opened this issue Jan 30, 2017 · 4 comments
Closed

Sqlite autocommit error #4

SlimeDog opened this issue Jan 30, 2017 · 4 comments
Assignees
Labels
Bug Issues that contain unintended behavior

Comments

@SlimeDog
Copy link

Environment: Spigot 1.11.2 latest, Plan 2.3.0, and a plethora of plugins supporting multiverse. Every five minutes, the log shows:

[10:25:22 WARN]: java.sql.SQLException: database in auto-commit mode
[10:25:22 WARN]: at org.sqlite.jdbc3.JDBC3Connection.commit(JDBC3Connection.java:164)
[10:25:22 WARN]: at com.djrapitops.plan.database.databases.SQLDB.saveMultipleUserData(SQLDB.java:647)
[10:25:22 WARN]: at com.djrapitops.plan.data.cache.DataCacheHandler.saveCachedUserData(DataCacheHandler.java:159)
[10:25:22 WARN]: at com.djrapitops.plan.data.cache.DataCacheHandler$1.run(DataCacheHandler.java:88)
[10:25:22 WARN]: at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
[10:25:22 WARN]: at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[10:25:22 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[10:25:22 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[10:25:22 WARN]: at java.lang.Thread.run(Thread.java:745)

@AuroraLS3 AuroraLS3 self-assigned this Jan 30, 2017
@AuroraLS3
Copy link
Collaborator

Ah, dang this is caused because there are two async tasks, one saving playerdata and one saving serverdata.
I'll try to figure something out. I'll get back to you.

@SlimeDog
Copy link
Author

thanks.

AuroraLS3 added a commit that referenced this issue Jan 30, 2017
@AuroraLS3
Copy link
Collaborator

Should be fixed

@SlimeDog
Copy link
Author

Seems to be fixed in 2.3.1

@AuroraLS3 AuroraLS3 added the Bug Issues that contain unintended behavior label Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that contain unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants