Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4537

Move RateLimiter up to Directory and make it IOContext aware

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      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 limiting.

        Attachments

        1. LUCENE-4537.patch
          16 kB
          Simon Willnauer
        2. LUCENE-4537.patch
          17 kB
          Simon Willnauer
        3. LUCENE-4537.patch
          15 kB
          Simon Willnauer
        4. LUCENE-4537.patch
          25 kB
          Simon Willnauer

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              simonw Simon Willnauer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: