Use of BufReader in HashLookupStage isn't compatible with s390x architecture

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc2, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • QE 2022-05-02
    • 184
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When HashLookupStage::readIndicesFromRecordStore() reads from the buffer the number of stored records, instead of 1 it gets back value 2^56 which leads to OOM on attempting to allocated a vector of this huge size.

      Found by: https://jira.mongodb.org/browse/BF-24912

            Assignee:
            Irina Yatsenko (Inactive)
            Reporter:
            Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: