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

FLE2 Range Query mincover: test vectors take too many resources to build

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Security 2022-09-05

      mincover tests, such as Int32_TestVectors seem to be too heavy on a compiler:

      • compile might take minutes on evergreen hosts
      • clang3 llvm is crashing when optimizations are not turned off.
      • following line may appear during build:
      src/mongo/unittest/unittest.h:363:5: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
      

      this ticket is to look for solution which would reduce compile time. Suggested options are:

      • split test vectors into multiple smaller ones
      • yank c++ primitives out of test vectors (e.g.: no boost::optional, and no std::vector)

            Assignee:
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Reporter:
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: