Does stopping the Stash service wait for current transactions to finish?

Does stopping the Stash service wait for current transactions to finish?  If not, is there a way to manually put Stash into maintenance mode (such as when the backup client is run)?

3 answers

1 accepted

This widget could not be displayed.

Hi Mike,

No you don't need to worry about operations being executed prior to stopping start service. The maintenance mode only intends to wait for eventual connections to the database from plugins, for example, exactly to keep this consistency. This is only applicable to the backup scenario where you want to have minimum downtime before backing up your data.

When you're stopping Stash, all this is taken care for you and you don't need any additional step but stopping start service.

Best regards,
Thiago Bomfim

This widget could not be displayed.

Hi Mike,

What exactly do you intend to do? We've published how to put Stash on maintenance mode on the article below:

Best regards,
Thiago Bomfim

 

 

This widget could not be displayed.

I exactly intend not to screw up my Stash production instance and to reduce the chance of interferrence for my users.

My concern is if there is any risk to stopping the Stash service (Windows).  What if a user is in the middle of pushing a large branch to Stash and the service is stopped right in the middle of it.  Will the service stop in a friendly manner and allow the push to fully complete before stopping?

The reason that I asked about maintenance mode is that the documentation says that it will wait for operations to complete.  If stopping the service does not do the same, then I could potentially want to put Stash into maintenance mode before stopping the service just to be safe.

Thanks,

Mike

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

255 views 14 2
Join discussion

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