devabhishekpal commented on code in PR #5154:
URL: https://github.com/apache/ozone/pull/5154#discussion_r1301557777
##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/insights/om/om.tsx:
##########
@@ -448,14 +454,34 @@ export class Om extends React.Component<Record<string,
object>, IOmdbInsightsSta
this.fetchMismatchContainers(this.state.DEFAULT_LIMIT,
this.state.prevKeyMismatch, this.state.mismatchMissingState);
};
+ componentWillUnmount(): void {
+ cancelMismatchedEndpointSignal && cancelMismatchedEndpointSignal.abort();
Review Comment:
So for abort() it doesn't directly pass the message, in the axios wrapper
where I cancelling the requests, in that only I added the common message that
request changed.
Check
[common.tsx:38](https://github.com/apache/ozone/blob/293fd76b63a663269633818eba771f3cc6c77911/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/utils/common.tsx#L38)
--
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]