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

simulate disk fulls in copyBytes

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.9, 6.0
    • general/build
    • None
    • New, Patch Available

    Description

      In LUCENE-2637, i disabled copyBytes optimization (so it just calls writeBytes), but i mentioned there,
      that I think it would be good to try to beef up tests if we ever wanted to have an optimization like this.

      the problem was that when there was an index corruption bug, it was very difficult to detect with our tests.
      So I think for safety, we should do this, even though its redundant with our current impl, since we look
      for this in writeBytes.

      Attachments

        1. LUCENE-2726.patch
          2 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: