Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2747

Standby bug fixes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.8
    • None
    • None

    Description

      Problem:

      • Standby feature is broken for jobs that don't have explicit side inputs
      • Change logged stores are treated as non-change logged for standby containers

      Description:

      PR 1367 - Introduced a bug where jobs with no side inputs caused jobs to not bootstrap data for logged stores. The root cause was related to mutation of taskSideInputStoreSSPs as changelogSSPs that were added to it during initialization were ignored since the initialization of hasSideInputs happened before.

      PR 1491 - Introduced a bug where the logged stores were incorrectly classified as non-logged stores for standby container resulting in discarding of state at the end of container lifecycle. The root cause was similar to above where sideInputStoreNames was initialized prior to updating changelogSSPs 

      Bottom line: Mutation of certain fields related to side inputs were out of order and refactor PRs (1367 and 1491) were not aware of this assumption.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bharathkk Bharath Kumarasubramanian
            bharathkk Bharath Kumarasubramanian
            Votes:
            0 Vote for this issue
            Watchers:
            1 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

                Slack

                  Issue deployment