check_rep_lag modified
Merge remote branch 'duckish/master'