Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9890

Refactor CachePartitionPartialCountersMap#fromCountersMap, no need to sort partitions any time it called.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.8
    • general
    • None

    Description

      CachePartitionPartialCountersMap#fromCountersMap

      we need to store sorted partitions forĀ 

      partitionIndex(int partId) {return Arrays.binarySearch

      method. Hope need some refactoring here, no need to sort it any time it called, we just need to store already sorted collection here.

      Attachments

        Issue Links

          Activity

            People

              v.pyatkov Vladislav Pyatkov
              zstan Evgeny Stanilovsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: