Skip to content

Commit 2bebeed

Browse files
Bug #20607730 CLUSTER FAILED TO SHUTDOWN GRACEFULLY....
c_waitGCPMasterList is an array pool and its hard coded to 10. When ever graceful shutdown is initiated master node gets WAIT_GCP_REQ signal equal to the no of nodes configured. So, as it is hard coded to 10 when we have a cluster with more than 10 nodes, due to lack of pool resource we always get "Forced node shutdown completed. Caused by error 2305: 'Node lost connection to other nodes and cannot form a un-partitioned cluster, please investigate if there are error(s) on other node(s)(Arbitration error). Temporary error, restart node'." So, to avoid this have changed the pool size to the max no of nodes that can be configured in the cluster.
1 parent c0b1f54 commit 2bebeed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@
113113
#define MAX_CONCURRENT_DIH_TAB_DEF_OPS (MAX_CONCURRENT_LCP_TAB_DEF_FLUSHES + 2)
114114
#define ZPAGEREC (MAX_CONCURRENT_DIH_TAB_DEF_OPS * PACK_TABLE_PAGES)
115115
#define ZCREATE_REPLICA_FILE_SIZE 4
116-
#define ZPROXY_MASTER_FILE_SIZE 10
116+
#define ZPROXY_MASTER_FILE_SIZE (MAX_NDB_NODES + 1)
117+
118+
/*MaxConcurrent proxied WaitGcpReq. Set to 10 as safety margin on 1.*/
117119
#define ZPROXY_FILE_SIZE 10
118120
#endif
119121

0 commit comments

Comments
 (0)