Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2668

Create join statistics that are useful and are easy to understand

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: WT2.8.0
    • Fix Version/s: WT2.9.0, 3.3.9
    • Labels:
      None

      Description

      Hi! I found that "actual count of items" value from join cursor statistic is the same for queries with GE and GT conditions, it is equal to correct value for GE. Error in statistic value corresponding to GT is 1. It is not big problem, but may be it will be interesting for you. Attached example demonstrate the problem. It has next output on "develop" branch:

      $ LD_LIBRARY_PATH=wt_2.8_dev/ ./jcursor_count_stat
      value from jcursor: key = 2, v = 12
      ret = -31803, nr_found = 1
      join: index:main:index: actual count of items=3, expected=1
      

      Another problem is that on "master" branch attached test works next:

      $ LD_LIBRARY_PATH=wt_2.8/ ./jcursor_count_stat            
      ret = -31803, nr_found = 0
      join: index:main:index: actual count of items=2, expected=0
      

      It does not find correct result.

        Attachments

          Activity

            People

            • Assignee:
              donald.anderson Donald Anderson
              Reporter:
              Denis Shkirya Denis Shkirya
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: