JacksonYao287 removed a comment on pull request #2182:
URL: https://github.com/apache/ozone/pull/2182#issuecomment-845030961
@bshashikant
> The code here suggests, it still tries to send the entire report if it
less than the configured max limit otherwise will send the incremental report.
This will be sent in each HearBeatEndPointTask. Is my understanding correct?
```
public List<GeneratedMessage> getAllAvailableReports(
InetSocketAddress endpoint) {
return getReports(endpoint, Integer.MAX_VALUE);
}
```
for now , the code above is the only place where `StateContext#getReports`
is called, and `maxLimit` here will always be `Integer.MAX_VALUE`. So actually
`maxLimit` here does not take any effect , and FullReport will always be sent
in every HearBeatEndPointTask .
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]