Comments (4)
I think this would be a great feature, please +1 it.
from hazelcast.
As the ILock
implementation has been replaced with a raft implementation in 4.0, the difficulty for this enhancement has increased. Still, it is possible.
from hazelcast.
CP Subsystem already allows you to destroy locks, or actually any CP data structure. The only limitation is, once you destroy a CP data structure, you cannot reuse it before also destroying and restarting the underlying CP group.
https://docs.hazelcast.org/docs/3.12.6/manual/html-single/index.html#cp-subsystem
If you call the
DistributedObject.destroy()
method on a CP data structure proxy, that data structure is terminated on the underlying CP group and cannot be reinitialized until the CP group is force-destroyed. For this reason, please make sure that you are completely done with a CP data structure before destroying its proxy.
from hazelcast.
This is indeed be a very helpful feature. We have a scenario where we create locks on the fly but could not destroy them after the usage as we may have to reuse the lock again. As they are not getting destroyed, we are getting OOM after a period of time. This is forcing us to do a periodic restart of Hazelcast servers.
from hazelcast.
Related Issues (20)
- Vulnerability in nimbus-jose-jwt-9.31 HOT 2
- Multiple test failures com.hazelcast.jet.cdc.DebeziumCdcIntegrationTest.postgres , schemaChangesArePassed [HZ-4651] HOT 10
- Multiple test failures com.hazelcast.jet.sql.impl.connector.kafka.SqlAvroSchemaEvolutionTest.(?) and kafka/SqlAvroTest/___/ HOT 1
- Supported that some nodes do not participate in the election.
- Compilation error for Sources HOT 2
- Compact Serializer: class com.hazelcast.internal.serialization.impl.compact.DeserializedGenericRecord cannot be cast to XXX HOT 1
- VM crash or System.exit called on modulepath-tests [HZ-4652] HOT 4
- Several jobs failed with Build timed out (after 300 or 640 minutes). Marking the build as failed. [HZ-4653] HOT 2
- distribution-it module got stuck [HZ-4672] HOT 3
- com.hazelcast.jet.sql.impl.connector.kafka.SqlAvroTest and com.hazelcast.jet.kafka.impl.WriteKafkaPTest failed on Redpanda HOT 3
- ClassCastException in SystemPropertiesConfigParser when using Flway 10.11.0 HOT 3
- com.hazelcast.query.impl.JsonIndexIntegrationTest crashed JVM [HZ-4675] HOT 1
- hazelcast fails to start with java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class java.lang.String HOT 2
- The branch `5.4.0` was created by mistake instead of a tag. HOT 3
- com.hazelcast.jet.pipeline.test.AssertionsTest.test_assertOrdered_not_terminal_should_fail[0: mode=member] [HZ-4682] HOT 1
- `Name of the hazelcast schema location[http://www.hazelcast.com/schema/client-config/hazelcast-client-config-5.3.xsd] is incorrect, using default` HOT 1
- com.hazelcast.jet.python.PythonInitCleanupTest HOT 2
- Map (IMap) Corrupting/Losing data when there is competition at task startup HOT 1
- classloading.JavaXCacheDependencyClientTest.createHazelcastInstance_getCache [HZ-4698] HOT 1
- After intentional shutdown of a node of the cluster, the other nodes are still attempting to reconnect to the shutdown node
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hazelcast.