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

IgniteCache#loadCache executes local load in caller thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1
    • 2.3
    • cache
    • None

    Description

      IgniteCache#loadCache method broadcasts an internal task under the hood. If one of the jobs are local (i.e. if loadCache is invoked on server node), this job is executed in a caller thread, potentially before all or some remote requests are sent. Since data loading is generally long running process, its duration doubles in this scenario.

      Possible solution is to check the list of nodes before task execution, and if local node is there, execute on remote nodes first, and only then submit to local node. This way we make sure that remote nodes never wait for the local node.

      Attachments

        Activity

          People

            dkarachentsev Dmitry Karachentsev
            vkulichenko Valentin Kulichenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m