Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42711

PyMongo's retryable reads spec tests causes server 4.0 to segfault with MMAPv1

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.11
    • Component/s: None
    • None
    • ALL
    • Hide
      • Spin up a replica set with 2 replicas and 1 arbiter running MongoDB 4.0.11 on the MMAPv1 storage engine with test commands enabled. mlaunch command used was:
      $ mlaunch init --replicaset --name repl0 --nodes 2 --arbiter --binarypath $MONGODB_4011_BIN --port 27017 --hostname localhost --setParameter enableTestCommands=1 --storageEngine mmapv1
      
      • Clone the following PyMongo branch:
      $ git clone --branch PYTHON-1934/retryWrites-with-MMAPv1-raises-actionable-error https://github.com/prashantmital/mongo-python-driver.git
      
      • Run the retryable reads tests:
      $ python setup.py test -s test.test_retryable_reads
      
      Show
      Spin up a replica set with 2 replicas and 1 arbiter running MongoDB 4.0.11 on the MMAPv1 storage engine with test commands enabled. mlaunch command used was: $ mlaunch init --replicaset --name repl0 --nodes 2 --arbiter --binarypath $MONGODB_4011_BIN --port 27017 --hostname localhost --setParameter enableTestCommands=1 --storageEngine mmapv1 Clone the following PyMongo branch: $ git clone --branch PYTHON-1934/retryWrites-with-MMAPv1-raises-actionable-error https://github.com/prashantmital/mongo-python-driver.git Run the retryable reads tests: $ python setup.py test -s test.test_retryable_reads
    • Execution Team 2019-08-26

      The issue can be observed when running PyMongo's test-suite on server version 4.0.11 with 2 replicas and 1 arbiter using the MMAPv1 storage engine. I have been able to reproduce this on OSX.

        1. mongod.log
          591 kB
          Prashant Mital

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: