Lucene - Core
  1. Lucene - Core
  2. LUCENE-4982

Make MockIndexOutputWrapper check disk full on copyBytes

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 5.0
    • Component/s: modules/test-framework
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      While working on the consistency test for Replicator (LUCENE-4975), I noticed that I don't trip disk-full exceptions and tracked it down to MockIndexOutputWrapper.copyBytes not doing these checks like writeBytes. I'd like to add this check.

      1. LUCENE-4982.patch
        6 kB
        Shai Erera
      2. LUCENE-4982.patch
        6 kB
        Shai Erera
      3. LUCENE-4982.patch
        6 kB
        Shai Erera

        Activity

          People

          • Assignee:
            Shai Erera
            Reporter:
            Shai Erera
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development