change continue to break Author: zhangbo <zhangbo01@dafy.com> Reviewers: hanm, nkalmar, maoling Closes #573 from a470577391/master
@@ -257,7 +257,7 @@ public class FileTxnLog implements TxnLog {
for (File f : files) {
long fzxid = Util.getZxidFromName(f.getName(), LOG_FILE_PREFIX);
if (fzxid > snapshotZxid) {
- continue;
+ break;
}
// the files
// are sorted with zxid's