summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/mongodb-5.0.16-arm64-assert.patch
blob: 6a6b9f14afe04d6bd32ca0aedaa80876451f3dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
The upstream patch for this is far too big to backport, so for now, just drop
the assert given it's somewhat harmless compared to not being able to build at all.

https://jira.mongodb.org/browse/SERVER-65664
https://bugs.gentoo.org/855128
--- a/src/mongo/db/stats/counters.h
+++ b/src/mongo/db/stats/counters.h
@@ -221,8 +221,6 @@ private:
         AtomicWord<long long> requests{0};
     };
     CacheAligned<Together> _together{};
-    static_assert(sizeof(decltype(_together)) <= stdx::hardware_constructive_interference_size,
-                  "cache line spill");
 
     CacheAligned<AtomicWord<long long>> _logicalBytesOut{0};