I've created a Jira for this issue https://issues.apache.org/jira/browse/IGNITE-14898

10.06.2021 18:56, Ilya Kasnacheev пишет:
Hello!

I guess so. I think you should file a ticket against Ignite JIRA.

Regards,
--
Ilya Kasnacheev


ср, 9 июн. 2021 г. в 20:26, gigabot <mwiesenb...@gmail.com <mailto:mwiesenb...@gmail.com>>:

    There's a bug in GridCacheWriteBehindStore in the flusher method.

    
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/GridCacheWriteBehindStore.java#L674
    
<https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/GridCacheWriteBehindStore.java#L674>

    The logic states there that if flush thread count is not a power
    of 2,  then
    perform some math that is not guaranteed to return a positive
    number. For
    example, if you pass this string as a key it returns a negative
    number:
     accb2e8ea33e4a89b4189463cacc3c4e

    and then throws an array out of bounds exception when looking up
    the thread.

    I'm surprised this bug has been there so long, I guess people are not
    setting their thread counts to non-powers-of-2.



    --
    Sent from: http://apache-ignite-users.70518.x6.nabble.com/
    <http://apache-ignite-users.70518.x6.nabble.com/>

Reply via email to