Hi,all:
Gerrit High Availability Active/Passive Setup
The data from LFS is mounted to the primary and backup nodes via a separate disk.
The primary node performs LFS uploads and downloads without any issues.
When I hardcode the domain name to clone the repository from the backup node or stop the primary node (Gerrit) and switch traffic to the backup node, I get an LFS authentication problem. Do you know why? If this isn't supported, what if the primary node crashes and I need to clone the LFS repository from the backup node?
error log:
Downloading about.html (7.8 KB)
Error downloading object: about.html (6e8a82e): Smudge error: Error downloading about.html (6e8a82e4f3e478b8607336df1505277548cac01aebeb028c176d1ccb70642cb9): [6e8a82e4f3e478b8607336df1505277548cac01aebeb028c176d1ccb70642cb9] Object '6e8a82e4f3e478b8607336df1505277548cac01aebeb028c176d1ccb70642cb9' not found: [404] Object '6e8a82e4f3e478b8607336df1505277548cac01aebeb028c176d1ccb70642cb9' not found
Errors logged to /opt/admin/lfs_all_project/test_lfs/.git/lfs/logs/20260209T200118.06079765.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: about.html: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'