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, Trunk
    • 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

        Steve Rowe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Shai Erera made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.0 [ 12321663 ]
        Fix Version/s 4.4 [ 12324323 ]
        Resolution Fixed [ 1 ]
        Shai Erera made changes -
        Attachment LUCENE-4982.patch [ 12581895 ]
        Shai Erera made changes -
        Attachment LUCENE-4982.patch [ 12581881 ]
        Shai Erera made changes -
        Attachment LUCENE-4982.patch [ 12581860 ]
        Shai Erera made changes -
        Field Original Value New Value
        Component/s modules/test-framework [ 12320591 ]
        Component/s general/test [ 12313730 ]
        Shai Erera created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development