Geo secondary health check erroneous error message
Problem
The The Geo node does not appear to be replicating the database from the primary node.
error message is erroneously appearing on the secondary node for gitlab.com because Postgres streaming replication is not enabled (but is supported).
Source: https://gitlab.com/gitlab-org/gitlab-ee/blob/v11.9.0-rc3-ee/ee/lib/gitlab/geo/health_check.rb#L12
Possible solution
Whilst the logic for Gitlab::Database.pg_stat_wal_receiver_supported?
and .streaming_active?
is sound, we also need to take into consideration if streaming is enabled (which it isn't for the gitlab.com secondary DB).