Skip to content
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

DBZ-7208 - implemented check for NPE #5059

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

sherpa003
Copy link
Contributor

trivial fix

@Naros
Copy link
Member

Naros commented Nov 30, 2023

@sherpa003, what exactly is this static method called from? It seems unused from Debezium's code base.

@sherpa003
Copy link
Contributor Author

@sherpa003, what exactly is this static method called from? It seems unused from Debezium's code base.

In our embedded debezium use case, we call it from outside periodically:
AbstractInfinispanLogMinerEventProcessor.logCacheStats();

Otherwise, the problem is that the displayCacheStatistics method is used only in constructor of event processor and nowhere else. This gives some visibility into cache state (e.g. active transactions are in the metrics but recent transactions are nowhere).

@Naros Naros merged commit 8192620 into debezium:main Dec 1, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants