swamirishi commented on code in PR #8887:
URL: https://github.com/apache/ozone/pull/8887#discussion_r2289785640
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/ContainerReader.java:
##########
@@ -235,6 +238,10 @@ public void verifyAndFixupContainerData(ContainerData
containerData)
return;
}
+ if (!isMatchedLastLoadedECContainer(kvContainer,
containerSet.getContainerMetadataStore())) {
+ return;
Review Comment:
What I was suggesting is in the absence of a replica index matching we want
to still support loading one of the containers with non matching replica index.
IMO we should atleast load that container in memory by not updating replica
index on disk. From what I understand we can still do that without the
refactoring. I am not really sure about what refactoring you are talking about.
--
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]