lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] hindikaynen opened a new pull request #224:
Date Mon, 04 Mar 2019 10:25:42 GMT
hindikaynen opened a new pull request #224:
   StringHelper.GOOD_FAST_HASH_SEED property is not thread-safe and could return different
values if called in severeal threads in one moment, so it could result in duplicate values
in BytesRefHash (same values return different hashes because hashes were calcucated with different
   There is another issue with GOOD_FAST_HASH_SEED. DateTime.Now.Millisecond is used to randomize
the seed, but DateTime.Now.Millisecond could return 0 and this value is treated an "uninitialized"
and the second GOOD_FAST_HASH_SEED call will return another value.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message