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

getS2BucketGeoKeys() can generate error responses too long

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Hide

      Create the time-series collection and index

      use test
      db.e.drop()
      db.createCollection("e", {timeseries: {timeField: "t"}})
      db.e.createIndex({l: "2dsphere"})
      

      Use mongoimport to import locs.txt

      mongoimport --jsonArray --db test --collection e --file ./locs.txt
      
      Show
      Create the time-series collection and index use test db.e.drop() db.createCollection( "e" , {timeseries: {timeField: "t" }}) db.e.createIndex({l: "2dsphere" }) Use mongoimport to import locs.txt mongoimport --jsonArray --db test --collection e --file ./locs.txt
    • Execution Team 2021-10-04

      Any log messages in this function that add the document to the response can potentially hit this issue, depending on how large the bucket document is.

       

      Failed: (Location13548) BufBuilder attempted to grow() to 67180803 bytes, past the 64MB limit.
      

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: