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

Lite member near cache clear issue in 3.7.2 #9879

Closed
sertugkaya opened this issue Feb 13, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@sertugkaya
Copy link

commented Feb 13, 2017

In the case of using multiple lite members with near cache, when a clear is called it tries to use the same operation and results in:

Caused by: java.lang.IllegalStateException: An operation[com.hazelcast.map.impl.operation.ClearOperation{serviceName='hz:impl:mapService', identityHash=1083600, partitionId=-1, replicaIndex=0, callId=30, invocationTime=1486921301910 (2017-02-12 19:41:41.910), waitTimeout=-1, callTimeout=60000, name=SecurityDefinition}] can not be used for multiple invocations!

at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke0(Invocation.java:220)

at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke(Invocation.java:207)

at com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.invokeOnTarget(OperationServiceImpl.java:310)

at com.hazelcast.map.impl.proxy.MapProxySupport.runOnLiteMembers(MapProxySupport.java:923)

at com.hazelcast.map.impl.proxy.MapProxySupport.clearInternal(MapProxySupport.java:913)

at com.hazelcast.map.impl.proxy.MapProxyImpl.clearInternal(MapProxyImpl.java:82)

at com.hazelcast.map.impl.proxy.NearCachedMapProxyImpl.clearInternal(NearCachedMapProxyImpl.java:224)

at com.hazelcast.map.impl.proxy.MapProxyImpl.clear(MapProxyImpl.java:584)

This can be added to the test cases as well.

@ahmetmircik

This comment has been minimized.

Copy link
Member

commented Feb 14, 2017

closed via #9885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.