ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanilovsky Evgeny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9890) Refactor CachePartitionPartialCountersMap#fromCountersMap, no need to sort partitions any time it called.
Date Mon, 15 Oct 2018 15:18:00 GMT
Stanilovsky Evgeny created IGNITE-9890:
------------------------------------------

             Summary: Refactor CachePartitionPartialCountersMap#fromCountersMap, no need to
sort partitions any time it called.
                 Key: IGNITE-9890
                 URL: https://issues.apache.org/jira/browse/IGNITE-9890
             Project: Ignite
          Issue Type: Improvement
          Components: general
    Affects Versions: 2.6
            Reporter: Stanilovsky Evgeny
            Assignee: Stanilovsky Evgeny
             Fix For: 2.8


{code:java}
CachePartitionPartialCountersMap#fromCountersMap{code}
we need to store sorted partitions forĀ 
{code:java}
partitionIndex(int partId) {return Arrays.binarySearch{code}
method. Hope need some refactoring here, no need to sort it any time it called, we just need
to store already sorted collection here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message