ActiveObjectsUpgradeTask without transaction?

MartinS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2015

It seems to me (I am not 100% sure), that ActiveObjectsUpgradeTask does its work within a transaction.

a) is that true?

b) is there a way for me to execute stuff outside of a transaction? Upgrade tasks might run for some time, and all those objects in the session might slow down the upgrade, see here or here.

If my upgrade task is idempotent, I don't care if all of it is successfull at once. I can just run it over and over again...

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Mikhail_Kopylov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2015

a) this is true

b) doesn't seem so. Transaction is hardcoded in ActiveObjectUpgradeManagerImpl:75

TAGS
AUG Leaders

Atlassian Community Events