How I use distributed lock on Apache Ignite?

Viewed 26

case1:According to the official documentation I tried to use the “Distributed Locks” with transactional mode. but it will occur the below when I restart or scale the cluster.so than the new node cannot start ^-- Transactions in deadlock. ^-- Long running transactions (ignore if this is the case). ^-- Unreleased explicit locks,

case2:the ignite.reentrantLock API found in the code ,I try to use it simply,and not error issue found.but this API can not found in official documentation. Is it officially recommended to use it in a production environment?

1 Answers
Related