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

LuceneEventListener should restore the original pdx serialization flag

    XMLWordPrintableJSON

Details

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

    Description

      Currently the LuceneEventListener is setting:

          DefaultQuery.setPdxReadSerialized(true);
      

      And at the end of processing, it will set it back to false.

      finally {
            DefaultQuery.setPdxReadSerialized(false);
          }
      

      Instead we should probably store the original setting and restore the original instead of overriding it back to false every time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jasonhuynh Jason Huynh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: