[CP][BUGFIX] opt dml lob allocator memory usage
This commit is contained in:
		| @ -2671,6 +2671,7 @@ int ObLSTabletService::insert_rows( | ||||
|           row_count, rows_info, tbl_rows, afct_num, dup_num))) { | ||||
|         LOG_WARN("insert to each tablets fail", K(ret)); | ||||
|       } | ||||
|       lob_allocator.reuse(); | ||||
|     } | ||||
|  | ||||
|     if (OB_ITER_END == ret) { | ||||
| @ -2941,6 +2942,7 @@ int ObLSTabletService::update_rows( | ||||
|       } else { | ||||
|         afct_num++; | ||||
|       } | ||||
|       lob_allocator.reuse(); | ||||
|       timeguard.click("Update"); | ||||
|     } | ||||
|     if (OB_ITER_END == ret) { | ||||
| @ -3063,6 +3065,7 @@ int ObLSTabletService::put_rows( | ||||
|         } | ||||
|       } | ||||
|       ++afct_num; | ||||
|       lob_allocator.reuse(); | ||||
|     } | ||||
|  | ||||
|     if (OB_ITER_END == ret) { | ||||
| @ -3127,6 +3130,7 @@ int ObLSTabletService::delete_rows( | ||||
|       } else { | ||||
|         ++afct_num; | ||||
|       } | ||||
|       lob_allocator.reuse(); | ||||
|     } | ||||
|     lob_allocator.reset(); | ||||
|     if (OB_ITER_END == ret) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 skylhd
					skylhd