NoMethodError during upgrade from MongoDB 3.4 to MongoDB 3.6

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While upgrading a server from MongoDB 3.4 to MongoDB 3.6, we got a few thousand application errors for undefined method in_transaction?' for nil:NilClass` which persisted until application restart. It's possible other conditions could trigger this.

      https://github.com/mongodb/mongo-ruby-driver/pull/1048 should fix this.

       

              Assignee:
              Oleg Pudeyev (Inactive)
              Reporter:
              Jon Hyman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: