cassandra-commits mailing list archives

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


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

> CFS.truncateBlocking relies on sleep
> ------------------------------------
>                 Key: CASSANDRA-10480
>                 URL:
>             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

View raw message