Skip to content

Increased outdated secondaries in 16.11

This bug is specically for 16.11 and reported at !6573 (comment 2038259101)

Symptom

In 16.11 (Gitaly at 16.11 only and Rails is at 16.x), secondaries are reported as outdated most of the time.

Cause

In 16.11, a gRPC ApplyGitattributes is changed to noop. Part of the process to make it noop is to remove its voting logic. And it seems remove its voting logic causes praefect "doesn't receive votes and considers all secondaries in need of replication". See !6573 (comment 2041745935)

Fix

Quick work around is to patched 16.11 with what has been done in 17.0, see !6573 (comment 2038259101)

A fix would be keeping "the voting logic and use the empty vote when the file doesn't exist" see !6573 (comment 2041760858)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information