Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3019

next_nonlocal_backend_entry_ is reset on empty Statestore messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.0
    • Impala 2.6.0, impala 2.5.1
    • Backend
    • None

    Description

      Currently processing updates from the Statestore roughly looks like this in the scheduler:

      • if !is_delta: clear current information
      • Process all new entries
      • Remove all old entries
      • Invalidate next_nonlocal_backend_entry_

      However the invalidation of the next_nonlocal_backend_entry_ pointer happens unconditionally, whether there where changes to the current backend_map_ or not - including when an empty message was sent by the Statestore. This breaks most of the round-robin functionality in GetBackend(). As a fix, we should only reset next_nonlocal_backend_entry_ if there were changes to the backend map.

      Attachments

        Activity

          People

            lv Lars Volker
            lv Lars Volker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: