You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Radim Kolar (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 16:22:34 UTC

[jira] [Created] (CASSANDRA-3318) Unable to delete after running scrub

Unable to delete after running scrub
------------------------------------

                 Key: CASSANDRA-3318
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.0
            Reporter: Radim Kolar
            Priority: Minor


Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.

ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
a.db (it will be removed on server restart; we'll also retry after GC)
 INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121344#comment-13121344 ] 

Jonathan Ellis commented on CASSANDRA-3318:
-------------------------------------------

Is 711 a pre-scrub or post-scrub sstable?
                
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Radim Kolar
>            Priority: Minor
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3318:
--------------------------------------

    Reviewer: slebresne  (was: bcoverston)
    
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.3
>            Reporter: Radim Kolar
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>         Attachments: 3318.txt
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121515#comment-13121515 ] 

Jonathan Ellis commented on CASSANDRA-3318:
-------------------------------------------

(patch is against trunk)
                
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Radim Kolar
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>         Attachments: 3318.txt
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3318:
--------------------------------------

    Attachment: 3318.txt

that means it's the sstable from before scrub.

patch attached to close the readers before replacing the old sstable with the new one.

(the diff is intimidating but it's mostly indentation changes from combining two try/finally blocks.  recommend using a "smart" diff tool like intellij's post-patch application.)
                
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Radim Kolar
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>         Attachments: 3318.txt
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121770#comment-13121770 ] 

Sylvain Lebresne commented on CASSANDRA-3318:
---------------------------------------------

+1
                
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.3
>            Reporter: Radim Kolar
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>         Attachments: 3318.txt
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Jonathan Ellis (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121514#comment-13121514 ] 

Jonathan Ellis edited comment on CASSANDRA-3318 at 10/5/11 9:53 PM:
--------------------------------------------------------------------

that means it's the sstable from before scrub.

patch attached to close the readers before replacing the old sstable with the new one.

(the diff is intimidating but it's mostly indentation changes from combining two try/finally blocks.  recommend using a "smart" diff tool like intellij's, post-patch application.)
                
      was (Author: jbellis):
    that means it's the sstable from before scrub.

patch attached to close the readers before replacing the old sstable with the new one.

(the diff is intimidating but it's mostly indentation changes from combining two try/finally blocks.  recommend using a "smart" diff tool like intellij's post-patch application.)
                  
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.3
>            Reporter: Radim Kolar
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>         Attachments: 3318.txt
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Radim Kolar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121475#comment-13121475 ] 

Radim Kolar commented on CASSANDRA-3318:
----------------------------------------

 INFO 23:05:39,845 Scrub of SSTableReader(path='\var\lib\cassandra\data\system\S
chema-h-10-Data.db') complete: 8 rows in new sstable and 0 empty (tombstoned) ro
ws dropped
ERROR 23:05:39,845 Unable to delete \var\lib\cassandra\data\system\Schema-h-10-D
ata.db (it will be removed on server restart; we'll also retry after GC)

its table after scrub is finished.
                
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Radim Kolar
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3318:
--------------------------------------

    Affects Version/s:     (was: 0.7.3)
                       1.0.0
        Fix Version/s:     (was: 0.8.8)

I'm only going to commit this to 1.0 after all, because before that our PhantomReference-based deleting is very unlikely to run into this problem, so I'm going to let the stable releases stay stable.
                
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Radim Kolar
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3318.txt
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3318) Unable to delete after running scrub

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3318:
--------------------------------------

    Affects Version/s:     (was: 1.0.0)
        Fix Version/s: 1.0.0
                       0.8.8

Suspect this also affects 0.7 and 0.8.
                
> Unable to delete after running scrub
> ------------------------------------
>
>                 Key: CASSANDRA-3318
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3318
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Radim Kolar
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>
> Another problem with sstable deletions on 1.0. Running scrub produces lot of unable to delete messages on windows.
> ERROR 16:16:37,562 Unable to delete \var\lib\cassandra\data\test\sipdb-h-711-Dat
> a.db (it will be removed on server restart; we'll also retry after GC)
>  INFO 16:16:37,577 Scrub of SSTableReader(path='\var\lib\cassandra\data\test\sip
> db-h-711-Data.db') complete: 48396 rows in new sstable and 0 empty (tombstoned)
> rows dropped

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira