[SERVER-25148] Fetcher should deliver CallbackCanceled instead of ShutdownInProgress to callbacks on cancellation Created: 19/Jul/16  Updated: 25/Jan/17  Resolved: 19/Jul/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.3.11

Type: Bug Priority: Minor - P4
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-24304 Add more DataReplicator::initialSync ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 18 (08/05/16)
Participants:
Linked BF Score: 0

 Description   

Fetcher checks an internal flag _shutdown that is set on cancellation. If the remote command callback detects that this flag is set, it should return a status consistent with remote command cancellation (CallbackCanceled)



 Comments   
Comment by Githook User [ 19/Jul/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-25148 Fetcher should deliver CallbackCanceled instead of ShutdownInProgress to callbacks on cancellation

This reverts commit 4d00c7cd182a2a31ae36bba10bb5b23f541e7ca2.
Branch: master
https://github.com/mongodb/mongo/commit/b3ca7bbc2982086fffe02f199f687cd0ed04b1da

Comment by Githook User [ 19/Jul/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: Revert "SERVER-25148 Fetcher should deliver CallbackCanceled instead of ShutdownInProgress to callbacks on cancellation"

This reverts commit f9269cb5755bf40c458af5891409cca7187c272e.
Branch: master
https://github.com/mongodb/mongo/commit/4d00c7cd182a2a31ae36bba10bb5b23f541e7ca2

Comment by Githook User [ 19/Jul/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-25148 Fetcher should deliver CallbackCanceled instead of ShutdownInProgress to callbacks on cancellation
Branch: master
https://github.com/mongodb/mongo/commit/f9269cb5755bf40c458af5891409cca7187c272e

Generated at Thu Feb 08 04:08:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.