Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-29845

Properly handle newly created "correlated" indicator in marshalled plan for expression scan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 6.5.0
    • query
    • Untriaged
    • Unknown

    Description

      MB-29710 adds support for expression term and subquery term as right-hand side of ANSI JOIN. As part of the change a new "correlated" indicator is added to plan.ExpressionScan. If we have a mixed mode cluster of Vulcan and Mad-Hatter, a plan generated on the Vulcan node will not have the correlated indicator, and if that plan is then executed on the Mad-Hatter node, we may incorrectly use the newly introduced runtime cache for the expression evaluation, which may generate incorrect result if the expression is actually correlated.

      This is kind of a part of a large issue where the marshalled plan currently does not have any versioning information, which makes handling of such things (newly introduced fields) more difficult.

      Attachments

        For Gerrit Dashboard: MB-29845
        # Subject Branch Project Status CR V

        Activity

          People

            evgeny.makarenko Evgeny Makarenko (Inactive)
            bingjie.miao Bingjie Miao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty