hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject incubator-hawq git commit: HAWQ-379. Remove deprecated catalog table gp_fault_strategy
Date Tue, 02 Feb 2016 06:45:41 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 08baa2648 -> 8749049d2


HAWQ-379. Remove deprecated catalog table gp_fault_strategy


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/8749049d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/8749049d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/8749049d

Branch: refs/heads/master
Commit: 8749049d2750c43cd3f708cd803f4fbe403b6ef9
Parents: 08baa26
Author: Ruilong Huo <rhuo@pivotal.io>
Authored: Sun Jan 31 23:22:05 2016 -0800
Committer: Ruilong Huo <rhuo@pivotal.io>
Committed: Tue Feb 2 14:45:20 2016 +0800

----------------------------------------------------------------------
 src/backend/cdb/cdbvars.c         |  1 -
 src/backend/utils/misc/guc.c      | 10 ----------
 src/include/cdb/cdbvars.h         |  2 --
 src/test/unit/mock/mock_info.json |  4 ----
 tools/bin/hawqpylib/hawqarray.py  |  3 ---
 5 files changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8749049d/src/backend/cdb/cdbvars.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbvars.c b/src/backend/cdb/cdbvars.c
index ea5b466..ababc32 100644
--- a/src/backend/cdb/cdbvars.c
+++ b/src/backend/cdb/cdbvars.c
@@ -55,7 +55,6 @@
 
 GpRoleValue Gp_role;			/* Role paid by this Greenplum Database backend */
 char	   *gp_role_string;	/* Staging area for guc.c */
-char	   *gp_fault_action_string;	/* Staging area for guc.c */
 bool		gp_set_read_only;	/* Staging area for guc.c */
 
 GpRoleValue Gp_session_role;	/* Role paid by this Greenplum Database backend */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8749049d/src/backend/utils/misc/guc.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index db2ecf2..60ad98c 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -7741,16 +7741,6 @@ static struct config_string ConfigureNamesString[] =
 		"dispatch", assign_gp_role, show_gp_role
 	},
 
-    {
-       {"gp_fault_action", PGC_POSTMASTER, DEFUNCT_OPTIONS,
-		gettext_noop("Sets the fault action for fault tolerance management."),
-		gettext_noop("Valid values are CONTINUE, READONLY, and SHUTDOWN."),
-		GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
-       },
-       &gp_fault_action_string,
-       "continue", NULL, NULL
-    },
-
 	{
 		{"gp_log_gang", PGC_USERSET, LOGGING_WHAT,
 			gettext_noop("Sets the verbosity of logged messages pertaining to worker process creation
and management."),

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8749049d/src/include/cdb/cdbvars.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbvars.h b/src/include/cdb/cdbvars.h
index bcd1d81..c192565 100644
--- a/src/include/cdb/cdbvars.h
+++ b/src/include/cdb/cdbvars.h
@@ -388,8 +388,6 @@ extern const char *show_gp_connections_per_thread(void);
  */
 extern int32 gp_subtrans_warn_limit;
 
-extern char *gp_fault_action_string;	/* Use by guc.c as user defined fault
-										 * action */
 extern bool gp_set_read_only;
 extern const char *role_to_string(GpRoleValue role);
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8749049d/src/test/unit/mock/mock_info.json
----------------------------------------------------------------------
diff --git a/src/test/unit/mock/mock_info.json b/src/test/unit/mock/mock_info.json
index 90275e0..9198cf1 100644
--- a/src/test/unit/mock/mock_info.json
+++ b/src/test/unit/mock/mock_info.json
@@ -13837,10 +13837,6 @@
             "filename": "src/backend/cdb/cdbvars.c", 
             "header filename": "src/include/cdb/cdbvars.h"
         }, 
-        "gp_fault_action_string": {
-            "filename": "src/backend/cdb/cdbvars.c", 
-            "header filename": "src/include/cdb/cdbvars.h"
-        }, 
         "gp_filerep_tcp_keepalives_count": {
             "filename": "src/backend/utils/misc/guc.c", 
             "header filename": "src/include/utils/guc.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/8749049d/tools/bin/hawqpylib/hawqarray.py
----------------------------------------------------------------------
diff --git a/tools/bin/hawqpylib/hawqarray.py b/tools/bin/hawqpylib/hawqarray.py
index 947b5e8..7b5abc5 100755
--- a/tools/bin/hawqpylib/hawqarray.py
+++ b/tools/bin/hawqpylib/hawqarray.py
@@ -504,9 +504,6 @@ class HAWQArray:
             master_data_directory  = hawq_site.get_value_from_name('hawq_master_directory')
             segment_data_directory = hawq_site.get_value_from_name('hawq_segment_directory')
 
-            # strategy_rows = dbconn.execSQL(conn, "show gp_fault_action")
-            strategy_rows = []
-
             config_rows = dbconn.execSQL(conn, '''
                                SELECT sc.registration_order,
                                       sc.role,


Mime
View raw message