mirror of https://github.com/grpc/grpc.git
[ring hash] revert 64-to-32-bit changes for objc (#33201)
This reverts the changes made to ring_hash in #29872. The comment in the picker code specifically says not to change these variables to an unsigned type, but that's exactly what that PR did. I don't know if this has actually been causing any problems, but given that we duplicated this algorithm (and that comment) from elsewhere without doing a detailed analysis of it, it seems prudent to stick with the types that the original code suggested were important. To avoid causing problems for ObjC, I have changed this such that ring_hash is not built unless we are building with xDS support, which we exclude on mobile. Currently, there is no way to use ring_hash without xDS, although that might change in the future; if it does, we can deal with any problems that arise at that point.pull/33209/head
parent
f3574e3f64
commit
9d03117fbc
8 changed files with 9 additions and 14 deletions
Loading…
Reference in new issue