Signed-off-by: Ivan Valdes <ivan@vald.es>
Signed-off-by: chenyahui <cyhone@qq.com>
Usually the consistent_index should be greater than the index of the latest snapshot with suffix .snap. But for the snapshot coming from the leader, the consistent_index should be equal to the snapshot index.