Ring syncing isn't started, so it shouldn't try to wait for ring sync.
Fixes:
Panic: file doveadm-connection.c: line 859 (doveadm_connection_cmd_run): assertion failed: (conn->dir->right == NULL && conn->dir->left == NULL)
host = port != 0 ?
director_host_lookup(conn->dir, &ip, port) :
director_host_lookup_ip(conn->dir, &ip);
- if (host == NULL)
+ if (host == NULL) {
o_stream_nsend_str(conn->output, "NOTFOUND\n");
- else
+ return DOVEADM_DIRECTOR_CMD_RET_OK;
+ } else {
director_ring_remove(host, conn->dir->self_host);
- return DOVEADM_DIRECTOR_CMD_RET_RING_SYNC_OK;
+ return DOVEADM_DIRECTOR_CMD_RET_RING_SYNC_OK;
+ }
}
static enum doveadm_director_cmd_ret