issue #2828 Reset samples commit index.