Skip to content
Snippets Groups Projects
Commit aa51fbec authored by Alexander Turenko's avatar Alexander Turenko Committed by Alexander Turenko
Browse files

config: relax replication.peers autobuild constraints

Before this commit all the peers of the given replicaset were obligated
to have suitable URI to connect -- either iproto.advertise.peer or one
of iproto.listen URIs.

Now replication.peers is successfully constructed if at least one
suitable URI is constructed (except URI of the given instance itself).

However, if an unknown user is used in the iproto.advertise.peer option
of any peer, it is considered as an error (startup failure), just like
before.

The testing code for unsuccessful cases of replication.peers
autobuilding is rewritten to reflect that just one bad peer doesn't
cause a startup failure anymore. Now it also needs stripping of log
messages, because the peers autobuilding tells about unsuitable URIs.

Part of #8810

NO_DOC=the old behavior was not released, the documentation request will
       be registered manually
NO_CHANGELOG=see NO_DOC
parent 6b3eb60c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment