cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Boudreault (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10480) CFS.truncateBlocking relies on sleep
Date Tue, 13 Oct 2015 21:35:08 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Boudreault updated CASSANDRA-10480:
----------------------------------------
    Labels: triage windows  (was: windows)

> CFS.truncateBlocking relies on sleep
> ------------------------------------
>
>                 Key: CASSANDRA-10480
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10480
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Priority: Minor
>              Labels: triage, windows
>
> {{ColumnFamilyStore.truncateBlocking}} uses {{Uninterruptibles.sleepUninterruptibly(1,
TimeUnit.MILLISECONDS);}} to ensure that _truncatedAt_ does not compete with a _deletedAt_.
> {{System.currentTimeMillis()}} _usually_ (it's not guaranteed) works as expected on Linux
and OSX - but especially on Windows it may stall (update the {{System.currentTimeMillis()}}
at non-regular intervals).
> I don't think this is a major issue as it just affects the truncate operation, which
is a DDL operation, which should never be used in application code (IMO).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message