Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Dead lock issue runing Wikipedia workload #319

Open
xunzhang opened this issue Feb 26, 2020 · 3 comments
Open

Dead lock issue runing Wikipedia workload #319

xunzhang opened this issue Feb 26, 2020 · 3 comments

Comments

@xunzhang
Copy link
Contributor

xunzhang commented Feb 26, 2020

When I run the Wikipedia workload with more than 1 terminals under MySQL, I got the dead lock error. Any suggestions? Thanks.

(WikipediaWorker.java:111) ERROR - 
Caught SQL Exception in WikipediaWorker for procedurecom.oltpbenchmark.benchmarks.wikipedia.procedures.GetPageAuthenticated:com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: 
Deadlock found when trying to get lock; try restarting transaction com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; 
try restarting transaction
@apavlo
Copy link
Member

apavlo commented Mar 12, 2020

This is not bad thing. This is just how 2PL works. Are you always getting this error?

@xunzhang
Copy link
Contributor Author

Yes, every time in my environment.

@apavlo
Copy link
Member

apavlo commented Mar 19, 2020

What happens if you only run the benchmark with the GetPageAuthenticated txn?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants