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

Memtable being flushed without hostId in version "me" and newer during CommitLogReplay

    XMLWordPrintableJSON

Details

    Description

      On ticket CASSANDRA-16619 some files were changed to allow Cassandra to store HostID in the new "me" SSTable version.

      But SSTables flushed during CommitLogReplay miss this HostID info.

       

      In the next Cassandra startup, if these SSTables were still present, system.log will show:

      WARN Origin of 3 sstables is unknown or doesn't match the local node; commitLogIntervals for them were ignored

      WARN }}{{{}Origin of 3 sstables is unknown or doesn't match the local node; commitLogIntervals for them were ignored{} 

       

      And debug.log will show a list of SSTables, witch can include "md" and "me" version (before upgradesstables):

       

      Ignored commitLogIntervals from the following sstables: [/var/lib/cassandra/data/system/compaction_history-b4dbb7b4dc493fb5b3bfce6e434832ca/me-3-big-Data.db, /var/lib/cassandra/data/system/compaction_history-b4dbb7b4dc493fb5b3bfce6e434832ca/md-1-big-Data.db, /var/lib/cassandra/data/system/compaction_history-b4dbb7b4dc493fb5b3bfce6e434832ca/md-2-big-Data.db]

       

      https://issues.apache.org/jira/browse/CASSANDRA-16619

      Attachments

        Issue Links

          Activity

            People

              abonacin Adriano Bonacin
              abonacin Adriano Bonacin
              Adriano Bonacin, Jacek Lewandowski
              Sam Tunnicliffe, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              9 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 - 3h 40m
                  3h 40m