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

Disable thin archive to prevent cache staleness issue

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Build
    • Fully Compatible
    • 200

      We have an issue with bad Bazel cache results when using thin archives. The shared object (.so) files get built of of the static library (.a) files. Thin archive files are basically pointers to the contained object (.o) files on disk. Because they just contain pointers, if the contained .o files change the .a file doesn't change. If the .a file doesn't change, Bazel will just go get the resulting .so file from cache.

            Assignee:
            andrew.bradshaw@mongodb.com Andrew Bradshaw
            Reporter:
            zack.winter@mongodb.com Zack Winter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: