Skip to content

lfs.jar does not support multi-site gerrit well #2

Description

@liujing520yedi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions