Remove missed dead code from making 4.2 the minimum supported server release

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 5.6.0
    • Affects Version/s: None
    • Component/s: Internal
    • None
    • None
    • Fully Compatible
    • Java Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      In scope of JAVA-5831, any code that was was no longer required due to removing support for MongoDB 4.0 was removed from the repository. However, one bit was missed, and its non-removal actually caused a bug (JAVA-5865), which was fixed in a patch release.

      This ticket is to track removal of that code:

      • InternalStreamConnectionInitalizer#completeConnectionDescriptionInitialization
      • InternalStreamConnectionInitalizer#completeConnectionDescriptionInitializationAsync

      This code is no longer needed because what it does is execute the getlasterror command in the case where the hello command doesn't include a connectionId in its reply. But from MongoDB 4.2 onward it does, so there is no need for this additional bit of code anymore.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: