Solr
  1. Solr
  2. SOLR-4168

In recovery, replication occurs but all files are 0 in length and trying to open an indexwriter on the index fails, causing a loop with this issue.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Reported on the user list and evident in tests.

        Activity

        Hide
        Mark Miller added a comment -

        So far this is only a known issue for 4.x

        Show
        Mark Miller added a comment - So far this is only a known issue for 4.x
        Hide
        Mark Miller added a comment -

        In 5.x I am already using core.getNewIndexDir() when getting the file list for replication - I must have changed to that doing the Directory based replication work.

        4.x is still using core.getIndexDir().

        Show
        Mark Miller added a comment - In 5.x I am already using core.getNewIndexDir() when getting the file list for replication - I must have changed to that doing the Directory based replication work. 4.x is still using core.getIndexDir().
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1420507

        SOLR-4168: 5x changes entry

        Show
        Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1420507 SOLR-4168 : 5x changes entry
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1420509

        SOLR-4168: Ensure we are using the absolute latest index dir when getting list of files for replication.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1420509 SOLR-4168 : Ensure we are using the absolute latest index dir when getting list of files for replication.
        Hide
        Mark Miller added a comment -

        That should solve a couple of the recent 4x test failures.

        Show
        Mark Miller added a comment - That should solve a couple of the recent 4x test failures.
        Hide
        Mark Miller added a comment -

        So something is still happening here - doesn't seem that was the issue or only issue. Still not a problem seen on 5.x though.

        Show
        Mark Miller added a comment - So something is still happening here - doesn't seem that was the issue or only issue. Still not a problem seen on 5.x though.
        Hide
        Mark Miller added a comment -

        This was causing most of the fails waiting on recovery in 4.x tests. I still don't know why it was happening, but it has not shown up with the now back ported 5x replication code that uses a Directory.

        Show
        Mark Miller added a comment - This was causing most of the fails waiting on recovery in 4.x tests. I still don't know why it was happening, but it has not shown up with the now back ported 5x replication code that uses a Directory.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development