Details

    • Task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.1.3
    • Locking
    • None

    Description

      to be able to use LF_HASH in table definition cache and MDL cache, we need an iterator for LF_HASH

      Attachments

        Issue Links

          Activity

            Pushed into bb-lf-iterator branch.
            svoj, please see if the new API is ok for you

            serg Sergei Golubchik added a comment - Pushed into bb-lf-iterator branch. svoj , please see if the new API is ok for you

            API as such is alright. I just hope this extra if won't be that expensive.

            svoj Sergey Vojtovich added a comment - API as such is alright. I just hope this extra if won't be that expensive.

            Thanks. I hope not, it's inside unlikely() so in the normal use case it should be cheap. And I've removed one if in the previous changeset, which should compensate to an extent. Old if was actually worse — it was comparing volatile shared values and under high concurrency the expression could often return different results. New if expression uses only local variables and is false almost always.

            serg Sergei Golubchik added a comment - Thanks. I hope not, it's inside unlikely() so in the normal use case it should be cheap. And I've removed one if in the previous changeset, which should compensate to an extent. Old if was actually worse — it was comparing volatile shared values and under high concurrency the expression could often return different results. New if expression uses only local variables and is false almost always.

            svoj, please push it into 10.1 when and as you see fit. It's all your.

            serg Sergei Golubchik added a comment - svoj , please push it into 10.1 when and as you see fit. It's all your.

            People

              svoj Sergey Vojtovich
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.