Github user mgoulish commented on the issue:
https://github.com/apache/qpid-proton/pull/99
I have updated to use Andrew's cleaner sequence_cmp() idea, and added a new
change: preventing sign-extension from pn_sequence_t to uintptr_t in the calls
to pn_hash_put() and pn_hash_get(). This sign extension appears to be
happening in one pathway but not the other, so that , when we wrap around to
negative p_sequence_t values, pn_hash_get() and pn_hash_put() are getting
different hash values.
I know how this sounds -- but with this change my test got through the 2^31
barrier for the first time ever.
It sounds like heresy -- but -- eppur si muove.
This is probably not the end of the story -- I had runaway memory
consumption later, but the test got to 2.25 billion messages before I had to
kill it. Well past the 2^32 barrier, which == 2.147 billion.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]