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

Hint directory error affect cassandra process

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Local/Config, Local/Other
    • None
    • Operability
    • Normal
    • All
    • None

    Description

      I use the default config to do some test. I delete all hint directory by mistake,but my cassandra process at last stoped .Latter I found that that is because the hint directory use the data disk policy .

      In our production cluster , hint and cache's dir are set separately and are not the same with data dir . And we know that cassandra can use multi data directory to store data, the hint's data operation should not affect the data and commitlog 's read or write . Also
      hint/cache 's data loss do not affect the cassandra's correct read .

      so I think hint's disk_faily_policy should be separately. So we can got three type of
      disk faily policy for : data disk , commitlog disk and hint disk 。

      I don't know if my suggestion is meaningful. If it is, I would like to take over the issue。I'm also happy to receive new suggestions.

      I thinks this is a bug , but now I can not modify the Type of the issue . The situation is easy to reproduce .The data disk policy use stop . every time you delete the hint directory will cause the daemon's stop.Stop NativeTransport server and gossip .

      Attachments

        1. log.png
          273 kB
          Maxwell Guo
        2. image.png
          273 kB
          Alex Petrov

        Activity

          People

            maxwellguo Maxwell Guo
            maxwellguo Maxwell Guo
            Maxwell Guo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: