Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-779

Stratos is creating more instances than the max limit

    Details

      Description

      Currently, call from AS to CC to spawn new instances is synchronous. It has a timeout. Hence, there can be a situation like below,

      Call from AS to CC to spawn new instance can time out.
      Due to that, AS will not add the pending member for that call.
      But CC's attempt to spawn the instance can become successful with a very high delay (> time out)
      Meanwhile, the agent can send the instance activated event, even before CC sends the member started event. Since this member is not there in the topology, the event will get discarded. Hence, the member will never get activated in topology, and remains in created state. This is an additional member!

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user R-Rajkumar opened a pull request:

        https://github.com/apache/stratos/pull/28

        Fixing STRATOS-779

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/R-Rajkumar/stratos master-agent

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/stratos/pull/28.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #28


        commit fe5bcf0ae9da584fb7522375b73805547fd7157b
        Author: R-Rajkumar <rraju1990@gmail.com>
        Date: 2014-09-09T16:06:37Z

        fixing cartridge instances exceeding max intance limit


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user R-Rajkumar opened a pull request: https://github.com/apache/stratos/pull/28 Fixing STRATOS-779 You can merge this pull request into a Git repository by running: $ git pull https://github.com/R-Rajkumar/stratos master-agent Alternatively you can review and apply these changes as the patch at: https://github.com/apache/stratos/pull/28.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #28 commit fe5bcf0ae9da584fb7522375b73805547fd7157b Author: R-Rajkumar <rraju1990@gmail.com> Date: 2014-09-09T16:06:37Z fixing cartridge instances exceeding max intance limit
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user R-Rajkumar commented on the pull request:

        https://github.com/apache/stratos/pull/28#issuecomment-56495427

        committed in 5e41897eb730b941f2d2521f15dd6378eaddddda

        Show
        githubbot ASF GitHub Bot added a comment - Github user R-Rajkumar commented on the pull request: https://github.com/apache/stratos/pull/28#issuecomment-56495427 committed in 5e41897eb730b941f2d2521f15dd6378eaddddda
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user R-Rajkumar closed the pull request at:

        https://github.com/apache/stratos/pull/28

        Show
        githubbot ASF GitHub Bot added a comment - Github user R-Rajkumar closed the pull request at: https://github.com/apache/stratos/pull/28
        Hide
        sajith Sajith Kariyawasam added a comment -

        Marking as fixed as per the pull request

        Show
        sajith Sajith Kariyawasam added a comment - Marking as fixed as per the pull request

          People

          • Assignee:
            rajkumarr Rajkumar Rajaratnam
            Reporter:
            rajkumarr Rajkumar Rajaratnam
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development