fix clog return code retry
This commit is contained in:
		 Charles0429
					Charles0429
				
			
				
					committed by
					
						 wangzelin.wzl
						wangzelin.wzl
					
				
			
			
				
	
			
			
			 wangzelin.wzl
						wangzelin.wzl
					
				
			
						parent
						
							3772f41232
						
					
				
				
					commit
					f72d873722
				
			| @ -771,3 +771,11 @@ int ObDDLUtil::ddl_get_tablet( | ||||
|   } | ||||
|   return ret; | ||||
| } | ||||
|  | ||||
| bool ObDDLUtil::need_remote_write(const int ret_code) | ||||
| { | ||||
|   return OB_NOT_MASTER == ret_code | ||||
|     || OB_NOT_RUNNING == ret_code | ||||
|     || OB_LS_LOCATION_LEADER_NOT_EXIST == ret_code | ||||
|     || OB_EAGAIN == ret_code; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user