Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 0.4
    • Component/s: Core
    • Labels:
      None

      Description

      searching for "snapshot" in *.java shows a bunch of code for supporting snapshots via hard links.

      (this works b/c SSTables are immutable, once created.)

      this used to be more complete but when we dropped the JDK7 requirement we just removed the code that we couldn't do in JDK6 and hard link support was one of those.

      So what you would need to do here is:

      • create a hard link method (using Runtime.exec("ln") on linux / os x I imagine)
      • add a JMX hook to invoke this on the data files (this is where looking at the old codebase might help); ColumnFamilyStoreMBean.forceFlush is an example of an "Action" jmx interface. using jconsole to interact with JMX stuff is explained here: http://wiki.apache.org/cassandra/MemtableThresholds
      • add something to list the snapshots available via JMX
      • optionally make this all per-Table instead of per-database
      1. 279-4-2.patch
        6 kB
        Jonathan Ellis
      2. 0004-Patch-for-Cassandra-279-4th.patch
        15 kB
        Sammy Yu
      3. 0003-Patch-for-Cassandra-279-3rd.patch
        15 kB
        Sammy Yu
      4. 279-3.patch
        7 kB
        Jonathan Ellis
      5. 0002-Work-for-CASSANDRA-279.patch
        12 kB
        Sammy Yu
      6. 0001-Work-for-CASSANDRA-279.patch
        12 kB
        Sammy Yu
      7. 0001-Work-for-CASSANDRA-279.patch
        11 kB
        Sammy Yu

        Activity

        Jonathan Ellis created issue -
        Sammy Yu made changes -
        Field Original Value New Value
        Assignee Sammy Yu [ sammy.yu ]
        Jonathan Ellis made changes -
        Component/s Core [ 12312978 ]
        Sammy Yu made changes -
        Attachment 0001-Work-for-CASSANDRA-279.patch [ 12413746 ]
        Sammy Yu made changes -
        Attachment 0001-Work-for-CASSANDRA-279.patch [ 12413889 ]
        Sammy Yu made changes -
        Attachment 0002-Work-for-CASSANDRA-279.patch [ 12413896 ]
        Jonathan Ellis made changes -
        Attachment 279-3.patch [ 12413927 ]
        Sammy Yu made changes -
        Attachment 0003-Patch-for-Cassandra-279-3rd.patch [ 12414065 ]
        Jonathan Ellis made changes -
        Fix Version/s 0.4 [ 12313862 ]
        Sammy Yu made changes -
        Attachment 0004-Patch-for-Cassandra-279-4th.patch [ 12414302 ]
        Sammy Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jonathan Ellis made changes -
        Attachment 279-4-2.patch [ 12414625 ]
        Jonathan Ellis made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12467641 ] patch-available, re-open possible [ 12750683 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12750683 ] reopen-resolved, no closed status, patch-avail, testing [ 12757218 ]

          People

          • Assignee:
            Sammy Yu
            Reporter:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development