提交 a0168969 编写于 作者: D Daniel Gustafsson

Fix spelling and typos

[ci skip]
上级 5ca596e5
......@@ -207,7 +207,7 @@ _APP_NAME_FOR_DEFAULT_FORMAT=os.path.split(sys.argv[0])[-1]
def _set_file_logging(filename):
"""
Establishes a file output HANDLER for the default formater.
Establishes a file output HANDLER for the default formatter.
NOTE: internal use only
"""
......
--
-- @description Add/split/exchange partition to a partition table after the gp_defualt_operations changed with GUC value
-- Parent table with (appendonly=true, orientation=row), set guc to orinetation column, Add a partition
-- @description Add/split/exchange partition to a partition table after the gp_default_operations changed with GUC value
-- Parent table with (appendonly=true, orientation=row), set guc to orientation column, Add a partition
\c dsp_db1
You are now connected to database "dsp_db1" as user "sivand".
show gp_default_storage_options;
......
--
-- @description Add/split/exchange partition to a partition table after the gp_defualt_operations changed with GUC value
-- @description Add/split/exchange partition to a partition table after the gp_default_operations changed with GUC value
-- Parent table with (appendonly=true, orientation=row), set guc to orinetation column, Add a partition
-- Parent table with (appendonly=true, orientation=row), set guc to orientation column, Add a partition
\c dsp_db1
show gp_default_storage_options;
......
......@@ -92,7 +92,7 @@ class GpactivateStandby(object):
return self.gpinit.run(option='-r')
def failback_to_original_master(self):
# Check if mater is running.
# Check if master is running.
bashCmd = (self.gphome)+'/bin/pg_ctl status -D $MASTER_DATA_DIRECTORY | grep \'pg_ctl: server is running\''
cmd = Command(name='Running cmd %s'%bashCmd, cmdStr="source %s/greenplum_path.sh; %s" % (self.gphome,bashCmd))
try:
......
......@@ -63,9 +63,9 @@ class xansrep(mpp.gpdb.tests.storage.walrepl.run.StandbyRunMixin, MPPTestCase):
The flow of this test is as follows.
1. Initiate the Standby using the Master (primary) postmaster
paramerters.
2. B: Inject the fault to suspend Mater after Commit done.
2. B: Inject the fault to suspend Master after Commit done.
3. B: Now execute a transaction and commit it. This master will be blocked.
4. A: Inject the fault to suspend Mater after Prepare done.
4. A: Inject the fault to suspend Master after Prepare done.
5. A: Now execute a transaction and commit it. This transaction will be blocked.
6. Promote the standby.
7. Verify the result, transaction A results should not be visible and
......@@ -98,7 +98,7 @@ class xansrep(mpp.gpdb.tests.storage.walrepl.run.StandbyRunMixin, MPPTestCase):
self.assertEqual(result.rc, 0, result.stdout)
# 3. Now execute a transaction and commit it. The backend is expected
# be blocked.
# to be blocked.
logger.info('Create table xansrep_commit...')
# Due to the suspend, we don't wait for the result
......@@ -116,7 +116,7 @@ class xansrep(mpp.gpdb.tests.storage.walrepl.run.StandbyRunMixin, MPPTestCase):
self.assertEqual(result.rc, 0, result.stdout)
# 5. Now execute a transaction and commit it. The backend is expected
# be blocked.
# to be blocked.
logger.info('Create table xansrep_prepare...')
# Due to the suspend, we don't wait for the result
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册