SERVER-12264 prevent from tryToGoLiveAsSecondary() from waiting on global writelock during compact