Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7486

IndexManager is not consistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • querying

    Description

      While working on GEODE-7351, I've found that the current IndexManager behaviour is not consistent:

      • If there's an exception thrown while adding an index mapping, we eat the exception, log an useless warning, and mark the index as invalid.
      • If there's an exception thrown while removing an index mapping, we re-throw the exception and leave the index as it is, even though it should be marked as invalid as well.

      The IndexManager should behave consistently and mark the index as invalid in both situations, clearly logging what went wrong while adding/removing the mapping.

      Attachments

        Issue Links

          Activity

            People

              echobravo Ernest Burghardt
              jjramos Juan Ramos
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 40m
                  40m