Skip to content

Commit

Permalink
document recent uniqueValues related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Oct 17, 2013
1 parent 3770bc9 commit 3b2f2f1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGES.txt
Expand Up @@ -4,6 +4,17 @@ Changelog
3.0.2 (unreleased)
------------------

- Change `CatalogPlan.valueindexes` to avoid using a `len()` call on the
result of each index `uniqueValues` method. This was loading entire BTrees
into memory and caused excessive database load on startup.

- Correct `withLengths` argument name on `PathIndex.uniqueValues` to use
plural form, adhering to the interface specification.

- Clarify the `IUniqueValueIndex.uniqueValues` method description and
explicitly mention generators/iterators as potential return values.
The PathIndex was one example returning a generator for some time.

- Adjust `actual_result_count` for sorted queries where the sort index doesn't
contain all the documents. Fixes LP #1237141.

Expand Down

1 comment on commit 3b2f2f1

@ctheune
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Man, glad you did that. I just hit exactly the same problem for a client where it made the whole system unusable ... thanks! :)

Please sign in to comment.