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

The WaitUntilFlushedFunction throws an IllegalArgumentException instead of an IllegalStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • lucene
    • None

    Description

      When the AEQ doesn't exist, the WaitUntilFlushedFunction throws an IllegalArgumentException like:

      Caused by: java.lang.IllegalArgumentException: The AEQ does not exist for the index xxx region /yyy
          at org.apache.geode.cache.lucene.internal.distributed.WaitUntilFlushedFunction.execute(WaitUntilFlushedFunction.java:89)
          at org.apache.geode.internal.cache.execute.AbstractExecution.executeFunctionLocally(AbstractExecution.java:333)
      

      The arguments are actually fine so should it instead throw an IllegalStateException?

      Attachments

        Issue Links

          Activity

            People

              abarve Amey Barve
              boglesby Barrett Oglesby
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: