make_public.py fails if the cluster file contains comments
weaversam8 opened this issue · comments
The FoundationDB docs for the cluster file format specify that a cluster file can contain comments.
A cluster file may contain comments, marked by the
#
character. All characters on a line after the first occurrence of a#
will be ignored.
Indeed, the coordinators
FDB CLI command adds comments when writing an updated cluster file:
foundationdb/fdbclient/ClusterConnectionFile.actor.cpp
Lines 153 to 155 in 22a3ea8
However, when running make_public.py
, the code to check for a valid cluster file fails to accommodate comments:
foundationdb/packaging/make_public.py
Lines 64 to 72 in 22a3ea8