[ https://issues.apache.org/jira/browse/CASSANDRA-8019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192074#comment-14192074 ]
Joshua McKenzie commented on CASSANDRA-8019: -------------------------------------------- Well, it's not really a 'problem' with ordering as the handles are fine being open / scanned / read by other pid/tid's on linux and trunk w/Windows after another's deleted the underlying. It's really only a transient issue specific to the 2.1 branch on Windows. Regarding removing the rescheduling hack: I'm +1 to that as well, but we have that in there not just for dealing with legacy Windows I/O problems but also unmapping on non-Sun VM's. Even after 3.0 w/Windows fixes I don't know that we'll be able to get rid of SSTableDeletingTask unless we either remove mmap support or can guarantee that the un-mapping process is normalized / 'non-unsafe' on all VM's at that point. I'll put the suppression code in the 2.1 branch, remove on merge to trunk, and comment it appropriately. Not sure if this is scaring people away or not but it's certainly making QA's life a little harder since all the utest / dtests complain with that 'ERROR' in the logs. > Windows Unit tests and Dtests erroring due to sstable deleting task error > ------------------------------------------------------------------------- > > Key: CASSANDRA-8019 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8019 > Project: Cassandra > Issue Type: Bug > Environment: Windows 7 > Reporter: Philip Thompson > Assignee: Joshua McKenzie > Labels: windows > Fix For: 2.1.2 > > Attachments: 8019_aggressive_v1.txt, 8019_conservative_v1.txt, > 8019_v2.txt > > > Currently a large number of dtests and unit tests are erroring on windows > with the following error in the node log: > {code} > ERROR [NonPeriodicTasks:1] 2014-09-29 11:05:04,383 > SSTableDeletingTask.java:89 - Unable to delete > c:\\users\\username\\appdata\\local\\temp\\dtest-vr6qgw\\test\\node1\\data\\system\\local-7ad54392bcdd35a684174e047860b377\\system-local-ka-4-Data.db > (it will be removed on server restart; we'll also retry after GC)\n > {code} > git bisect points to the following commit: > {code} > 0e831007760bffced8687f51b99525b650d7e193 is the first bad commit > commit 0e831007760bffced8687f51b99525b650d7e193 > Author: Benedict Elliott Smith <bened...@apache.org> > Date: Fri Sep 19 18:17:19 2014 +0100 > Fix resource leak in event of corrupt sstable > patch by benedict; review by yukim for CASSANDRA-7932 > :100644 100644 d3ee7d99179dce03307503a8093eb47bd0161681 > f55e5d27c1c53db3485154cd16201fc5419f32df M CHANGES.txt > :040000 040000 194f4c0569b6be9cc9e129c441433c5c14de7249 > 3c62b53b2b2bd4b212ab6005eab38f8a8e228923 M src > :040000 040000 64f49266e328b9fdacc516c52ef1921fe42e994f > de2ca38232bee6d2a6a5e068ed9ee0fbbc5aaebe M test > {code} > You can reproduce this by running simple_bootstrap_test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)