BUG-5280: move transactions keeping to history