@@ -3637,7 +3637,7 @@ butil::Status CoordinatorControl::CreateRegionWithJob(std::vector<pb::coordinato
36373637butil::Status CoordinatorControl::ValidateJobConflict (int64_t region_id, int64_t second_region_id) {
36383638 // check job conflict
36393639 butil::FlatMap<int64_t , pb::coordinator::Job> temp_job_map;
3640- temp_job_map.init (1000 );
3640+ temp_job_map.init (10000 );
36413641 int ret = job_map_.GetRawMapCopy (temp_job_map);
36423642 if (ret < 0 ) {
36433643 DINGO_LOG (ERROR) << " ValidateJobConflict job_map_.GetRawMapCopy "
@@ -3681,7 +3681,7 @@ butil::Status CoordinatorControl::ValidateJobConflict(int64_t region_id, int64_t
36813681
36823682 // check store operation conflict
36833683 butil::FlatMap<int64_t , pb::coordinator_internal::StoreOperationInternal> store_operation_map_temp;
3684- store_operation_map_temp.init (1000 );
3684+ store_operation_map_temp.init (10000 );
36853685 ret = store_operation_map_.GetRawMapCopy (store_operation_map_temp);
36863686 if (ret < 0 ) {
36873687 DINGO_LOG (ERROR) << " ValidateJobConflict store_operation_map_.GetRawMapCopy "
@@ -4622,9 +4622,9 @@ void CoordinatorControl::UpdateRegionMapAndStoreOperation(const pb::common::Stor
46224622 region_to_update.definition ().range ().end_key () != region_metrics.region_definition ().range ().end_key ()) {
46234623 DINGO_LOG (INFO) << " region range change region_id = " << region_metrics.id () << " old range = ["
46244624 << Helper::StringToHex (region_to_update.definition ().range ().start_key ()) << " , "
4625- << Helper::StringToHex (region_to_update.definition ().range ().end_key ()) << " )"
4626- << " new range = [ " << Helper::StringToHex (region_metrics.region_definition ().range ().start_key ())
4627- << " , " << Helper::StringToHex (region_metrics.region_definition ().range ().end_key ()) << " )" ;
4625+ << Helper::StringToHex (region_to_update.definition ().range ().end_key ()) << " )" << " new range = [ "
4626+ << Helper::StringToHex (region_metrics.region_definition ().range ().start_key ()) << " , "
4627+ << Helper::StringToHex (region_metrics.region_definition ().range ().end_key ()) << " )" ;
46284628 if (!leader_has_old_epoch) {
46294629 need_update_region_metrics = true ;
46304630 }
@@ -6627,6 +6627,9 @@ butil::Status CoordinatorControl::RpcSendPushStoreOperation(const pb::common::Lo
66276627
66286628 pb::push::PushService_Stub (&channel).PushStoreOperation (&cntl, &request, &response, nullptr );
66296629
6630+ DINGO_LOG (INFO) << fmt::format (" [joblist] send store_operation to store:{}, request:{}" ,
6631+ location.ShortDebugString (), request.ShortDebugString ());
6632+
66306633 if (cntl.Failed ()) {
66316634 DINGO_LOG (ERROR) << fmt::format (" [joblist] rpc failed, will retry, error code:{}, error message:{}" ,
66326635 cntl.ErrorCode (), cntl.ErrorText ());
0 commit comments