Using Axon Server 2024.0.0
, if I perform the following steps:
- Console → Contexts
Create Context
- Enter context name (“test”)
- Replication group → Create new
- Add replication group name (“test”)
- Choose nodes (I picked a single node in my case)
- Roles →
messaging_only
Then the creation of the context will fail because no nodes in the replication group have the PRIMARY
role.
If, after this fails, I go to the Replication Groups
tab, I do not see the above replication group. So far so good. However, if I go to Add Replication Group
and perform the following steps:
- Enter same name for the replication group as in step
5
above. - Choose the same node as in step
6
above (I only have the one node, so I cannot say if this occurs with multiple/other nodes). - Role →
PRIMARY
Then I see the following error message:
{
"message": "[AXONIQ-2107] The creation of the replication group is already in progress.",
"error": "REPLICATION_GROUP_UPDATE_IN_PROGRESS",
"status": "AXONIQ-2107"
}
It seems that this causes the replication group creation process to get “stuck”. I also don’t see a way to fix state this via the Console.