cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Branimir Lambov (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11960) Hints are not seekable
Date Fri, 29 Jul 2016 10:30:21 GMT


Branimir Lambov commented on CASSANDRA-11960:

I pushed an update to your branch [here|]
which replaces the single {{long}} position we stored with a mark object that includes compressed
and uncompressed positions and can be used to seek quickly and accurately. This should be
able to solve the problem for all hint file variations (plain, compressed, encrypted); we
must test all of them though.

I tried to go back to the old code in {{HintsDispatcher}} but had to turn off {{RETRY}} to
make the tests work. I must admit I haven't yet looked closely at all the changes you made
and don't understand why this should be necessary.

> Hints are not seekable
> ----------------------
>                 Key: CASSANDRA-11960
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Stefan Podkowinski
> Got the following error message on trunk. No idea how to reproduce. But the only thing
the (not overridden) seek method does is throwing this exception.
> {code}
> ERROR [HintsDispatcher:2] 2016-06-05 18:51:09,397 - Exception
in thread Thread[HintsDispatcher:2,1,main]
> java.lang.UnsupportedOperationException: Hints are not seekable.
> 	at ~[main/:na]
> 	at ~[main/:na]
> 	at org.apache.cassandra.hints.HintsDispatchExecutor$DispatchHintsTask.deliver(
> 	at org.apache.cassandra.hints.HintsDispatchExecutor$DispatchHintsTask.dispatch(
> 	at org.apache.cassandra.hints.HintsDispatchExecutor$DispatchHintsTask.dispatch(
> 	at org.apache.cassandra.hints.HintsDispatchExecutor$
> 	at java.util.concurrent.Executors$ ~[na:1.8.0_91]
> 	at ~[na:1.8.0_91]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker( ~[na:1.8.0_91]
> 	at java.util.concurrent.ThreadPoolExecutor$ [na:1.8.0_91]
> 	at [na:1.8.0_91]
> {code}

This message was sent by Atlassian JIRA

View raw message