Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6630

find() query stucks upto 20 seconds when primary switches back after stepDown() period is finished

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 6.12.0
    • Component/s: None
    • 5

      Setup

      • OS: Ubuntu 20.04.4
      • mongod --version
        db version v6.0.16
        Build Info: {
            "version": "6.0.16",
            "gitVersion": "1bbe71e91a41b097b19d036dee47b861b3f27181",
            "openSSLVersion": "OpenSSL 1.1.1f  31 Mar 2020",
            "modules": [],    "allocator": "tcmalloc",
            "environment": {
                "distmod": "ubuntu2004",
                "distarch": "x86_64",
                "target_arch": "x86_64"
            }{}}

      Step to reproduce

      Exactly same as in NODE-4783.

      Issue

      After mongod1 becomes PRIMARY again, find() requests stuck for up to 20 seconds.

      NODE-4783 was fixed for driver 4.x and it works properly, new issue found in 6.12.

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            sergeyp@brightdata.com Sergey Popov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: