futurewei-cloud / chogori-seastar-rd

Apache License 2.0
6 stars 9 forks source link

Fix crashes from RDMA connection handshakes #10

Closed jfunston closed 3 years ago

jfunston commented 3 years ago

Crashes were triggered when there were both incoming and outgoing RDMA connection requests. The incoming requests were improperly overwriting the handshake lookup, so when an outgoing request tried to complete the QP setup, it was encountering a null or invalid QP pointer.

After this fix 100 warehouse TPC-C test passed 4 times consecutively.

Also removed thrown exceptions from slow thread QP operations, which were not being caught as expected.