Cassandra
  1. Cassandra
  2. CASSANDRA-3305

LeveledCompactionStrategy fails to remove compacted files on Windows

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      very common message on windows server:

      ERROR [NonPeriodicTasks:1] 2011-10-04 15:47:40,508 SSTableDeletingTask.java (lin
      e 76) Unable to delete \var\lib\cassandra\data\test\sipdb-h-302-Data.db (it will
      be removed on server restart; we'll also retry after GC)

      As far i can see they are not removed even 1 hour later, successfully wasting disk space. If i force GC via jconsole, they are deleted. Old compaction strategy does not have this problem.

        Activity

        Hide
        Jonathan Ellis added a comment -

        I haven't been able to reproduce this.

        I inserted 11M rows on Windows 7 (built from current trunk), resulting in 1205 compactions. (Added stress.bat to make this easier in r1179415.) I didn't see any instances of this error, nor do I see anything along the lines of CASSANDRA-3318 that would apply to leveled compaction but not size-tiered.

        Show
        Jonathan Ellis added a comment - I haven't been able to reproduce this. I inserted 11M rows on Windows 7 (built from current trunk), resulting in 1205 compactions. (Added stress.bat to make this easier in r1179415.) I didn't see any instances of this error, nor do I see anything along the lines of CASSANDRA-3318 that would apply to leveled compaction but not size-tiered.
        Hide
        Radim Kolar added a comment -

        i can reproduce it easily with rc2. Maybe its timing dependent and it will not show on faster computers? i have old Pentium D, 100% CPU used during stress testing.

        Show
        Radim Kolar added a comment - i can reproduce it easily with rc2. Maybe its timing dependent and it will not show on faster computers? i have old Pentium D, 100% CPU used during stress testing.

          People

          • Assignee:
            Unassigned
            Reporter:
            Radim Kolar
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development