Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-18485

CEP-15: (C*) Enhance in-memory FileSystem to work with mmap and support tests to add custom logic

    XMLWordPrintableJSON

Details

    Description

      The Simulator currently uses JimFS for its FileSystem, but this lacks any way to add custom logic when file operations are performed; it also lacks mmap support which requires all disk access logic to provide non-mmap solutions as well.

      As part of the Simulator work, testing disk corruption will require resolving both these issues, so will need a new FileSystem to rule them all…

      This ticket is to define the new FileSystem and add the integration to Simulator, JVM-Dtest, and Unit tests, but does not directly add the fault injections that Simulator will be doing, that will be follow up work.

      Goals:

      • FileSystem that works for unit, jvm-dtest, and simulator tests
      • FileSystem that allows tests to intercept file operations

      Attachments

        Activity

          People

            dcapwell David Capwell
            dcapwell David Capwell
            David Capwell
            Caleb Rackliffe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 6h 50m
                6h 50m