Resolve a series of out-of-memory issues within 500 tenant
This commit is contained in:
		@ -169,7 +169,7 @@ protected:
 | 
				
			|||||||
  ObPxTaskChSet task_ch_set_;
 | 
					  ObPxTaskChSet task_ch_set_;
 | 
				
			||||||
  bool iter_end_;
 | 
					  bool iter_end_;
 | 
				
			||||||
  bool channel_linked_;
 | 
					  bool channel_linked_;
 | 
				
			||||||
  common::ObArray<dtl::ObDtlChannel *> task_channels_;
 | 
					  ObTMArray<dtl::ObDtlChannel *> task_channels_;
 | 
				
			||||||
  ObReceiveRowReader row_reader_;
 | 
					  ObReceiveRowReader row_reader_;
 | 
				
			||||||
  ObPxReceiveRowP px_row_msg_proc_;
 | 
					  ObPxReceiveRowP px_row_msg_proc_;
 | 
				
			||||||
  dtl::ObDtlFlowControl dfc_;
 | 
					  dtl::ObDtlFlowControl dfc_;
 | 
				
			||||||
 | 
				
			|||||||
@ -1170,7 +1170,10 @@ int ObGranuleIteratorOp::try_build_tablet2part_id_map()
 | 
				
			|||||||
    } else if (PARTITION_LEVEL_TWO != table_schema->get_part_level()) {
 | 
					    } else if (PARTITION_LEVEL_TWO != table_schema->get_part_level()) {
 | 
				
			||||||
      ret = OB_ERR_UNEXPECTED;
 | 
					      ret = OB_ERR_UNEXPECTED;
 | 
				
			||||||
      LOG_WARN("unexpected part level", K(ret));
 | 
					      LOG_WARN("unexpected part level", K(ret));
 | 
				
			||||||
    } else if (OB_FAIL(tablet2part_id_map_.create(max(1, table_schema->get_all_part_num()), "GITabletMap"))) {
 | 
					    } else if (OB_FAIL(tablet2part_id_map_.create(max(1, table_schema->get_all_part_num()),
 | 
				
			||||||
 | 
					                                                  "GITabletMap",
 | 
				
			||||||
 | 
					                                                  ObModIds::OB_HASH_NODE,
 | 
				
			||||||
 | 
					                                                  MTL_ID()))) {
 | 
				
			||||||
      LOG_WARN("fail create hashmap", K(ret));
 | 
					      LOG_WARN("fail create hashmap", K(ret));
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      ObPartitionSchemaIter iter(*table_schema, CHECK_PARTITION_MODE_NORMAL);
 | 
					      ObPartitionSchemaIter iter(*table_schema, CHECK_PARTITION_MODE_NORMAL);
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user