Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3608

KeyRange interset should return EMPTY_RANGE when one of it is NULL_RANGE

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.10.0, 4.8.2
    • None
    • None

    Description

      Currently KeyRange.intersect(KeyRange range) returning EMPTY_RANGE only when the left side key range is null and right side is not null but we should return EMPTY_RANGE when any of the key range is null.

              if (this == IS_NULL_RANGE) {
                  if (range == IS_NULL_RANGE) {
                       return IS_NULL_RANGE;
                  }
                   return EMPTY_RANGE;
               }
      

      Attachments

        Activity

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

          People

            rajeshbabu Rajeshbabu Chintaguntla
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment