get_distributed_objects: skip unsupported cacheService#747
Conversation
|
Hi @space88man, Thanks for your issue report, and PR. |
|
Thanks for signing the CLA. I think it would be good to prevent It is possible to get the names of the known proxy names using: from hazelcast.proxy import _proxy_initThen, in dds_names = set(_proxy_init.keys())
...
for dist_obj_info in response:
if dist_obj_info.service_name not in dds_names:
continue
...Would that make sense? |
007f19a to
5e29ee0
Compare
|
Thanks! |
5e29ee0 to
10e0a1a
Compare
- currently hz:impl:cacheService is not supported
10e0a1a to
37ef1c7
Compare
Done - PTAL |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #747 +/- ##
==========================================
+ Coverage 95.33% 95.35% +0.01%
==========================================
Files 378 378
Lines 21989 21992 +3
==========================================
+ Hits 20964 20970 +6
+ Misses 1025 1022 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yuce
left a comment
There was a problem hiding this comment.
Looks good, thanks for the PR!
This client does not support cacheService so the iteration in
get_distributed_objectswill throw an exception if the cluster is also used by Java+JCache clients (e.g. Spring Boot with Hazelcast as cache provider).This fix just skips
hz:impl:cacheServiceobjects.Addresses #746