About using transaction isolation level for my app?

I'm using Galera Cluster in multi-master mode, however it can only use the REPEATABLE-READ level. So can i use REPEATABLE-READ level for JIRA and Confluence application???

1 answer

0 vote

You cannot cluster JIRA unless you are using JIRA Data Centre (which is a whole different discussion), so this probably isn't going to work the way you think it might.

For MySQL, the applications require a row-level lock (see https://confluence.atlassian.com/adminjiraserver071/connecting-jira-applications-to-mysql-802592179.html ) which generally means you need READ-COMMITTED not repeatable-read.  I don't know enough about repeatable-read to know if it can be used as a row-level lock.

Thanks for your reply & sorry for my bad English, but i mean when i configure Galera Cluster in multi-master mode(MySQL DB) to use for my applications(Jira, Confluence) i must use transaction isolation level is REPEATABLE-READ, cannot use other level. (see http://galeracluster.com/documentation-webpages/isolationlevels.html )

Are there any problems with this configuration? and Can i use other transaction isolation level as REPEATABLE-READ instead of READ-COMMITTED for my applications? 

Your English is good, but it's a complex language sometimes.  Even as it is my first language, I find it is very easy to misunderstand what people have written.  I think you were very clear.

So, yes, there are problems with your configuration.  The Atlassian applications need to be run with READ-COMMITTED (unless you are using a Data Centre version).  From the documentation you've provided, it's quite clear that Galera does not support that when it is running in multi-master node and hence you cannot use it for your Atlassian databases.  That does make sense to me - JIRA cannot be clustered, and can only really be used with master-slave database clusters, where the slaves are for backups or (ugh) reporting.  (Again, unless you are using JDC)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 7 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

32 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you