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

RealTimeGetComponent fails for INPLACE_UPDATE when Cdcr enabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2, 7.2.1
    • Fix Version/s: 7.3
    • Component/s: CDCR
    • Labels:
      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-B-wo-test-framework.patch
          5 kB
          Amrit Sarkar
        2. SOLR-12083-A-within-test-framework.patch
          6 kB
          Amrit Sarkar
        3. SOLR-12083.patch
          2 kB
          Amrit Sarkar
        4. SOLR-12083.patch
          3 kB
          Amrit Sarkar
        5. SOLR-12083.patch
          6 kB
          Amrit Sarkar
        6. SOLR-12083.patch
          7 kB
          Varun Thacker
        7. SOLR-12083.patch
          7 kB
          Varun Thacker
        8. add_support_for_random_ulog_in_tests.patch
          3 kB
          Amrit Sarkar

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: