lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] [Updated] (LUCENE-4537) Move RateLimiter up to Directory and make it IOContext aware
Date Mon, 05 Nov 2012 12:50:12 GMT


Simon Willnauer updated LUCENE-4537:

    Attachment: LUCENE-4537.patch

new patch simplifying this datastructure to a straight array indexed by Context#ordinal().
no real overhead to what we had before.
> Move RateLimiter up to Directory and make it IOContext aware
> ------------------------------------------------------------
>                 Key: LUCENE-4537
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/store
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>             Fix For: 4.1, 5.0
>         Attachments: LUCENE-4537.patch, LUCENE-4537.patch
> Currently the RateLimiter only applies to FSDirectory which is fine in general but always
requires casts and other dir. impls (custom ones could benefit from this too.) We are also
only able to rate limit merge operations which limits the functionality here a lot. Since
we have the context information what the IndexOutput is used for we can use that for rate

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message