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

possible early deletion of commit logs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 1.0.0
    • None
    • None
    • Critical

    Description

      I ran my cluster for about 2 days. the cluster has 2 nodes. I restarted one box several times, and the other one was always running. the one always running ended up accumulating 100GB of commit logs.

      this is 1.0.0 code from about Sept 15 in github. I kept the original setting for
      #commitlog_total_space_in_mb: 4096
      i.e. commented out

      here is some sample of the output:

      rw-rr- 1 yyang yyang 134217857 2011-09-28 03:51 CommitLog-1317181834810.log
      rw-rr- 1 yyang yyang 134217869 2011-09-28 03:50 CommitLog-1317181764105.log
      rw-rr- 1 yyang yyang 134217783 2011-09-28 03:49 CommitLog-1317181694633.log
      rw-rr- 1 yyang yyang 134217750 2011-09-28 02:39 CommitLog-1317176955102.log
      yyang@ip-10-71-21-46:/mnt/cass/log/cassandra$ ls -lt /mnt/cass/lib//cassandra/commitlog/|wc -l
      727
      yyang@ip-10-71-21-46:/mnt/cass/log/cassandra$ du -s /mnt/cass/lib/cassandra/commitlog/
      95095316 /mnt/cass/lib/cassandra/commitlog/

      Attachments

        1. 3269.patch
          2 kB
          Sylvain Lebresne
        2. 3269-v2.txt
          1 kB
          Jonathan Ellis
        3. 3269-v3.txt
          1 kB
          Jonathan Ellis

        Activity

          People

            slebresne Sylvain Lebresne
            yangyangyyy Yang Yang
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: