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

Service cannot be used on remote node immediately after deployment.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.4
    • 2.8
    • cache, managed services

    Description

      Consider the following scenario:
      1) Two nodes: A and B.
      2) Node A deploys cluster-wide service through IgniteServices.deploy();
      3) Once we exited deploy() method we are trying to get the service on the node B in any way (invoke it, get proxy, get descriptor, whatever).

      Step 3 might fail. This happens because GridServiceProcessor.AssignmentListener is not notified synchronously when service cache is update in transaction.
      As a result, transacion ends, node A informs us about successful service deployment, but it is still not usable on remote nodes.

      Attachments

        Issue Links

          Activity

            People

              daradurvs Vyacheslav Daradur
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: