szetszwo commented on PR #5532:
URL: https://github.com/apache/hadoop/pull/5532#issuecomment-1516773369
> ... then there should be separate JIRA for it? ...
In the past few days, I was testing whether we need the change below. It
turned that the change lead to a problem that snapshot diffs from rename src
and dst paths can mix together. So the change is incorrect. The current code
seems correct.
```java
- snapshotId = lastSnapshot;
+ if (lastSnapshot > snapshotId) {
+ snapshotId = lastSnapshot;
+ }
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]