I have a multi-site gerrit 3.12.2 system with three back-end nodes. Each node has its own disks. I use pull-replication plugin to sync repository. However I run into problem when I clone lfs repository with ssh method. It initializes a http request to one of the three back-end node to generate a token for authorization, The token only exists in that specific back-end node. Then the next request is routed to another back-end node. it is not able to find the token and give the 401 error. In one word, ssh and http request are not routed to the same back-end node. Although I can use configuration on haproxy to stick them together. I only have the load balance on Cloud platform which doesn't have the functionality.
My question is that if we can use kafka to store the token for all back-end node to consume?
I have a multi-site gerrit 3.12.2 system with three back-end nodes. Each node has its own disks. I use pull-replication plugin to sync repository. However I run into problem when I clone lfs repository with ssh method. It initializes a http request to one of the three back-end node to generate a token for authorization, The token only exists in that specific back-end node. Then the next request is routed to another back-end node. it is not able to find the token and give the 401 error. In one word, ssh and http request are not routed to the same back-end node. Although I can use configuration on haproxy to stick them together. I only have the load balance on Cloud platform which doesn't have the functionality.
My question is that if we can use kafka to store the token for all back-end node to consume?