centraldogma icon indicating copy to clipboard operation
centraldogma copied to clipboard

Failed to acquire a lock for /_sessions

Open minwoox opened this issue 3 years ago • 0 comments

2021-03-26 19:20:51.954 [ERROR](c.l.c.s.i.r.ZooKeeperCommandExecutor) [zookeeper-command-executor-18-1] Failed to acquire a lock for /_sessions; entering read-only mode
java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED]
    at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823)
    at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:432)
    at org.apache.curator.framework.imps.CuratorFrameworkImpl.create(CuratorFrameworkImpl.java:445)
    at org.apache.curator.framework.recipes.locks.StandardLockInternalsDriver.createsTheLock(StandardLockInternalsDriver.java:54)
    at org.apache.curator.framework.recipes.locks.LockInternals.attemptLock(LockInternals.java:225)
    at org.apache.curator.framework.recipes.locks.InterProcessMutex.internalLock(InterProcessMutex.java:237)
    at org.apache.curator.framework.recipes.locks.InterProcessMutex.acquire(InterProcessMutex.java:89)
    at com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutor.safeLock(ZooKeeperCommandExecutor.java:781)
    at com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutor.blockingExecute(ZooKeeperCommandExecutor.java:1058)
    at com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutor.lambda$doExecute$17(ZooKeeperCommandExecutor.java:1047)
    at io.micrometer.core.instrument.internal.TimedRunnable.run(TimedRunnable.java:44)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.base/java.lang.Thread.run(Thread.java:834)

minwoox avatar Mar 26 '21 10:03 minwoox