Do not modify options.standby_datadir
Prefer to keep the options immutable after flag parsing
See which uses a local variable
for the standby_datadir -- that proposed pattern is parallel to the original
filespace code.
Author: C.J. Jameson
Author: Shoaib Lari
@@ -363,9 +363,6 @@ def create_standby(options):
logger.error('Failed to retrieve configuration information from the master.')
raise GpInitStandbyException(ex)
- if options.standby_datadir is None:
- options.standby_datadir = array.master.getSegmentDataDirectory()
-
# validate
validate_standby_init(options, array)
