light: always use replay_tolerance

This commit is contained in:
Thomas Schoebel-Theuer 2014-03-18 10:18:45 +01:00 committed by Thomas Schoebel-Theuer
parent 80294e613e
commit b606644e6d

View File

@ -3074,9 +3074,7 @@ int _start_trans(struct mars_rotate *rot)
/* Supply all relevant parameters
*/
trans_brick->replay_mode = rot->replay_mode;
trans_brick->replay_tolerance = 0;
if (rot->todo_primary)
trans_brick->replay_tolerance = REPLAY_TOLERANCE;
trans_brick->replay_tolerance = REPLAY_TOLERANCE;
_init_trans_input(trans_input, rot->relevant_log, rot);
/* Connect to new transaction log