Sunflower876 commented on issue #2043:
URL: 
https://github.com/apache/incubator-pegasus/issues/2043#issuecomment-2149789148

   1. add duplication
   2. duplication load_private task running.
   3. remove duplication
   4. replica_duplicator_manager::remove_all_duplications  ->  
_duplications.clear()
   5. replica_duplicator::~replica_duplicator()
   6. cacel_all()  -> **_conf.tracker->cancel_outstanding_tasks()**
   7. wait load_private task finished
   8. a new ship task was generated during the load task execution process, and 
then was enqueued.  Ship task and load_private task belong to different thread 
pools. ( tracker bucket id = task.thread_id%bucket_num ). Assuming the 
bucket_id corresponding to load_private task is 2, and the bucket_id 
corresponding to ship task is 1
   9. load_private task has finished
   10. replica_duplicator::~replica_duplicator() done
   11. the member variable _ship of replica_duplicator has been deconstructed
   12. execute ship task and use the address of the _ship variable
   13. core


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to