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

Hashed index causes 'Overflow hashed AND stage buffered data usage' error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 2.6.4
    • None
    • Querying
    • None
    • ALL

    Description

      I have documents like:

      {
        "_id": ObjectId("4cf567c4e4b08fffc3947252"),
        "kodoId": 1167286,
        "p": "/term/Japanese/Tanzania",
        "pl": "/term/japanese/tanzania",
        "r": "/viewWord.jsp?wordId=12083307",
        "l": "eng",
        "cd": new Date("2010-11-30T22:08:20+0100")
      }

      and a hashed index on 'pl' added yesterday. Some unit tests now fail with:

      Overflow hashed AND stage buffered data usage of 33554468 bytes exceeds internal limit of 33554432 bytes

      on query

      {pl: 'blah', l: 'eng'}

      with sort

      {cd: -1}

      for some reason if I switch to sort {_id: -1} the error goes away.

      Attachments

        Issue Links

          Activity

            People

              rassi J Rassi
              niccottrell Nic Cottrell (Personal)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: