Juan Ramos created GEODE-7486:
---------------------------------

             Summary: IndexManager is not consistent
                 Key: GEODE-7486
                 URL: https://issues.apache.org/jira/browse/GEODE-7486
             Project: Geode
          Issue Type: Bug
          Components: querying
            Reporter: Juan Ramos


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to