--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/e619d1a4-c19e-4fc7-9b6f-f54f1ae5c704%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 7 Dec 2017, at 10:27, Konstantyn Smirnov <inje...@gmail.com> wrote:
Any idea on how this can still be implemented?
Btw, can I check if the address already registered on EB without checking __vertx.subs?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/1861f33d-730c-4dde-8b61-245d0bdefcd2%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/6b0cbefb-1589-4c3d-9e3c-fc6473d4834e%40googlegroups.com.
Locks are not per thread. We call them locks but their behavior is more of a semaphore with a single permit. You can only acquire it once cluster wide, and any thread (from the node which acquired the lock) can release it.
2017-12-14 16:05 GMT+01:00 Konstantyn Smirnov <inje...@gmail.com>:
Is the cluster-wide lock is locked against a thread?--
I acquired a lock in send-worker-2, and in vert.x-eventloop-thread-3 it's not cannot be acquired anymore...
On Thursday, December 7, 2017 at 10:33:22 AM UTC+1, clement escoffier wrote:Hi,you can try with a distributed lock with a very long timeout. If you acquire the lock, you are the master. If you crashes, the lock is released and another one if going to acquire it. Notice that, in the case of split-brain, things can be go south ;-).ClementOn 7 Dec 2017, at 10:27, Konstantyn Smirnov <inje...@gmail.com> wrote:Any idea on how this can still be implemented?
Btw, can I check if the address already registered on EB without checking __vertx.subs?--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/1861f33d-730c-4dde-8b61-245d0bdefcd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/3dd7d51e-146a-4ec2-817f-24845c7f0e2f%40googlegroups.com.