Lucene - Core
  1. Lucene - Core
  2. LUCENE-6523

IW commit without commit user-data changes should also be reflected in NRT reopen

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1, 5.3, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      In LUCENE-6505 we fixed NRT readers to properly reflect changes from
      the last commit (new segments_N filename, new commit user-data), but I
      missed the case where a commit is done immediately after opening an
      NRT reader with no changes to the commit user-data.

      1. LUCENE-6523.patch
        5 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Patch w/ test & fix.

        Show
        Michael McCandless added a comment - Patch w/ test & fix.
        Hide
        ASF subversion and git services added a comment -

        Commit 1683947 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1683947 ]

        LUCENE-6523: a new commit, even without user-data changes, is visible to reopened NRT reader

        Show
        ASF subversion and git services added a comment - Commit 1683947 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1683947 ] LUCENE-6523 : a new commit, even without user-data changes, is visible to reopened NRT reader
        Hide
        ASF subversion and git services added a comment -

        Commit 1683954 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1683954 ]

        LUCENE-6523: a new commit, even without user-data changes, is visible to reopened NRT reader

        Show
        ASF subversion and git services added a comment - Commit 1683954 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1683954 ] LUCENE-6523 : a new commit, even without user-data changes, is visible to reopened NRT reader
        Hide
        ASF subversion and git services added a comment -

        Commit 1684263 from Michael McCandless in branch 'dev/branches/lucene_solr_5_2'
        [ https://svn.apache.org/r1684263 ]

        LUCENE-6523: a new commit, even without user-data changes, is visible to reopened NRT reader

        Show
        ASF subversion and git services added a comment - Commit 1684263 from Michael McCandless in branch 'dev/branches/lucene_solr_5_2' [ https://svn.apache.org/r1684263 ] LUCENE-6523 : a new commit, even without user-data changes, is visible to reopened NRT reader
        Hide
        ASF subversion and git services added a comment -

        Commit 1689197 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1689197 ]

        LUCENE-6523: NRT readers now reflect a new commit

        Show
        ASF subversion and git services added a comment - Commit 1689197 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1689197 ] LUCENE-6523 : NRT readers now reflect a new commit
        Hide
        ASF subversion and git services added a comment -

        Commit 1689198 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1689198 ]

        LUCENE-6523: NRT readers now reflect a new commit

        Show
        ASF subversion and git services added a comment - Commit 1689198 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1689198 ] LUCENE-6523 : NRT readers now reflect a new commit

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development