directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shon Vella (JIRA)" <>
Subject [jira] Created: (DIRSERVER-1121) Filter mutated by optimizer passed to other partitions
Date Wed, 23 Jan 2008 21:15:34 GMT
Filter mutated by optimizer passed to other partitions

                 Key: DIRSERVER-1121
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
    Affects Versions: 1.5.1
            Reporter: Shon Vella
            Priority: Minor creates a filter and subsequently
performs a search using the same filter object on different suffixes. When passed to a JDBMPartition, adds annotations
to nodes in the filter. The same filter is then passed with all the annotations to subsequent
searches on other parititions. When passing to an alternate custom partition implementation,
these annotations get in the way because the printToBuffer() functionality of each filter
node includes annotation information in the serialized form of the filter making it unusable.

Providing a way to recursively remove annotations would provide a workable bandaid for this
specific problem, though it is probably a bad idea to reuse a filter that has been previously
annotated, so either the partition should make a copy before annotating or GroupCache (and
any other code that uses the same filter reuse paradigm) shouldn't be reusing the filter.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message