Solr
  1. Solr
  2. SOLR-1018

Slave is unable to replicate when server acts as repeater (as both master and slave)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: replication (java)
    • Labels:
      None

      Description

      When slave tries to replicate from a Solr server acting as both master and slave (repeater), it gets incorrect replicate-able index version and hence replication fails.

      1. SOLR-1018.patch
        3 kB
        Shalin Shekhar Mangar
      2. SOLR-1018.patch
        2 kB
        Akshay K. Ukey
      3. SOLR-1018.patch
        1 kB
        Noble Paul

        Activity

        Hide
        Noble Paul added a comment -

        when snappuller does a commit , the IndexWriter is not opened so it must fetch the commit point after forceOpenWriter()

        Show
        Noble Paul added a comment - when snappuller does a commit , the IndexWriter is not opened so it must fetch the commit point after forceOpenWriter()
        Hide
        Akshay K. Ukey added a comment -

        Patch with check for generation == 1 for master when replicateAfter startup is configured to avoid replication of newly created index.

        Show
        Akshay K. Ukey added a comment - Patch with check for generation == 1 for master when replicateAfter startup is configured to avoid replication of newly created index.
        Hide
        Shalin Shekhar Mangar added a comment -

        Patch updated to trunk. I'll commit this shortly.

        Show
        Shalin Shekhar Mangar added a comment - Patch updated to trunk. I'll commit this shortly.
        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 743757.

        Thanks Akshay and Noble!

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 743757. Thanks Akshay and Noble!
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Akshay K. Ukey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development