-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.4
-
Sharding 2020-03-23
I run clang-tidy locally in vim and it caught that in this function we take an input parameter by copy and then return a reference to its memory (which is bad because the temporary object will be destroyed when it goes out of scope.
We should fix this.