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

AtomicUpdate 'remove' fails on 'pints' fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.5.2
    • 8.8, 9.0
    • update
    • None

    Description

      The "remove" atomic update action on multivalued int fields fails if the document being changed is uncommitted.

      At first glance this appears to be a type-related issue. AtomicUpdateDocumentMerger attempts to handle multivalued int fields by processing the List<Integer> type, but in uncommitted docs int fields are still List<String> in the tlog. Conceptually this feels similar to SOLR-13331.

      It's likely this issue also affects other numeric and date fields.

      Attached is a simple script to reproduce, meant to be run from the root of a Solr install.

      Attachments

        1. reproduce.sh
          2 kB
          Jason Gerlowski

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              gerlowskija Jason Gerlowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h