- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.4k
HBASE-26385 Clear CellScanner when replay #3773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 🎊 +1 overall 
 
 This message was automatically generated. | 
| final ReplicateWALEntryRequest request) throws ServiceException { | ||
| long before = EnvironmentEdgeManager.currentTime(); | ||
| CellScanner cells = ((HBaseRpcController) controller).cellScanner(); | ||
| ((HBaseRpcController) controller).setCellScanner(null); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add null check for controller.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no null check for the controller in Line 2091, so i not add it either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine, checked the code around. null check is not required.
| 🎊 +1 overall 
 
 This message was automatically generated. | 
| 🎊 +1 overall 
 
 This message was automatically generated. | 
| final ReplicateWALEntryRequest request) throws ServiceException { | ||
| long before = EnvironmentEdgeManager.currentTime(); | ||
| CellScanner cells = ((HBaseRpcController) controller).cellScanner(); | ||
| ((HBaseRpcController) controller).setCellScanner(null); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine, checked the code around. null check is not required.
Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Pankaj Kumar <[email protected]>
Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Pankaj Kumar <[email protected]>
Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Pankaj Kumar <[email protected]>
No description provided.