Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12083

RealTimeGetComponent fails for INPLACE_UPDATE when Cdcr enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.2, 7.2.1
    • 7.3
    • CDCR
    • None

    Description

      When we were adding bi-directional sync support in CDCR ( SOLR-11003 ) we changed the CDCR Update Log codec to write an extra bits. 

      When we use the RealTimeGet component on a cluster running CDCR and have in-place updates in the update log we will falsely trip an assert thus causing the request to fail

      Here's the proposed change

      -                 assert entry.size() == 5;
      +                 if (ulog instanceof CdcrUpdateLog) {
      +                   assert entry.size() == 6;
      +                 }
      +                 else {
      +                   assert entry.size() == 5;
      +                 }

       

      Attachments

        1. SOLR-12083.patch
          7 kB
          Varun Thacker
        2. SOLR-12083.patch
          7 kB
          Varun Thacker
        3. SOLR-12083.patch
          6 kB
          Amrit Sarkar
        4. SOLR-12083-A-within-test-framework.patch
          6 kB
          Amrit Sarkar
        5. add_support_for_random_ulog_in_tests.patch
          3 kB
          Amrit Sarkar
        6. SOLR-12083-B-wo-test-framework.patch
          5 kB
          Amrit Sarkar
        7. SOLR-12083.patch
          3 kB
          Amrit Sarkar
        8. SOLR-12083.patch
          2 kB
          Amrit Sarkar

        Activity

          People

            varun Varun Thacker
            sarkaramrit2@gmail.com Amrit Sarkar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: