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

cache dbhash results in mongod for config. collections

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.7, 2.5.3
    • Component/s: Sharding
    • Labels:
      None

      Description

      Issue Status as of November 26th, 2013

      ISSUE SUMMARY
      Cache results of dbhash command for config collections.

      USER IMPACT
      When multiple mongos instances issue the dbhash command simultaneously, config database can be overloaded and affect performance.
      It is present in versions of MongoDB prior to and including v2.4.6.

      SOLUTION
      Cache dbhash commands on the server.

      WORKAROUNDS
      This is a performance improvement only.

      PATCHES
      Production release v2.4.7 contains the fix for this issue, and production release v2.6.0 will contain the fix as well.

      Original Description

      This will mitigate having lots of mongos doing hashes at the same time.

        Activity

        Hide
        auto auto (Inactive) added a comment -

        Author:

        {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

        Message: SERVER-11021: cache dbhash results in mongod for config. collections
        Branch: master
        https://github.com/mongodb/mongo/commit/5b74302fb716ed3ee812a008d4341a3c4355299d

        Show
        auto auto (Inactive) added a comment - Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-11021 : cache dbhash results in mongod for config. collections Branch: master https://github.com/mongodb/mongo/commit/5b74302fb716ed3ee812a008d4341a3c4355299d
        Hide
        auto auto (Inactive) added a comment -

        Author:

        {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

        Message: SERVER-11021: add header file
        Branch: master
        https://github.com/mongodb/mongo/commit/fe65e214eb4c230c3a55f4a2744a8d9bd1517bcd

        Show
        auto auto (Inactive) added a comment - Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-11021 : add header file Branch: master https://github.com/mongodb/mongo/commit/fe65e214eb4c230c3a55f4a2744a8d9bd1517bcd
        Hide
        auto auto (Inactive) added a comment -

        Author:

        {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

        Message: SERVER-11021: add pragma once to header
        Branch: master
        https://github.com/mongodb/mongo/commit/61279ce0ba766a181748125d1a8dd48cec0a1d1b

        Show
        auto auto (Inactive) added a comment - Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-11021 : add pragma once to header Branch: master https://github.com/mongodb/mongo/commit/61279ce0ba766a181748125d1a8dd48cec0a1d1b
        Hide
        auto auto (Inactive) added a comment -

        Author:

        {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

        Message: SERVER-11021: backport to 2.4
        Branch: v2.4
        https://github.com/mongodb/mongo/commit/577fe667c612de137251b34f96535e3afc9ad4bb

        Show
        auto auto (Inactive) added a comment - Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-11021 : backport to 2.4 Branch: v2.4 https://github.com/mongodb/mongo/commit/577fe667c612de137251b34f96535e3afc9ad4bb
        Hide
        auto auto (Inactive) added a comment -

        Author:

        {u'username': u'IanWhalen', u'name': u'Ian Whalen', u'email': u'ian@mongodb.com'}

        Message: SERVER-11021 skip dbhash2.js during sharding_passthrough
        Branch: master
        https://github.com/mongodb/mongo/commit/4a075b087bb93598413bd99cc6cba75c313e1bef

        Show
        auto auto (Inactive) added a comment - Author: {u'username': u'IanWhalen', u'name': u'Ian Whalen', u'email': u'ian@mongodb.com'} Message: SERVER-11021 skip dbhash2.js during sharding_passthrough Branch: master https://github.com/mongodb/mongo/commit/4a075b087bb93598413bd99cc6cba75c313e1bef
        Hide
        auto auto (Inactive) added a comment -

        Author:

        {u'username': u'IanWhalen', u'name': u'Ian Whalen', u'email': u'ian@mongodb.com'}

        Message: SERVER-11021 skip dbhash2.js during sharding_passthrough
        Branch: v2.4
        https://github.com/mongodb/mongo/commit/874b42c4a70ab9eea507afbff0dda6d4faa9ebf0

        Show
        auto auto (Inactive) added a comment - Author: {u'username': u'IanWhalen', u'name': u'Ian Whalen', u'email': u'ian@mongodb.com'} Message: SERVER-11021 skip dbhash2.js during sharding_passthrough Branch: v2.4 https://github.com/mongodb/mongo/commit/874b42c4a70ab9eea507afbff0dda6d4faa9ebf0

          People

          • Assignee:
            eliot Eliot Horowitz
            Reporter:
            eliot Eliot Horowitz
            Participants:
            Last commenter:
            Ian Whalen
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since reply:
              1 year, 43 weeks, 1 day ago
              Date of 1st Reply: