directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <>
Subject [jira] Closed: (DIRSERVER-1121) Filter mutated by optimizer passed to other partitions
Date Mon, 31 May 2010 10:30:41 GMT


Kiran Ayyagari closed DIRSERVER-1121.

    Resolution: Fixed

Fixed here

> Filter mutated by optimizer passed to other partitions
> ------------------------------------------------------
>                 Key: DIRSERVER-1121
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.1
>            Reporter: Shon Vella
>            Assignee: Kiran Ayyagari
>            Priority: Minor
>             Fix For: 2.0.0-RC1
> 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