On Tue, Nov 20, 2012 at 2:49 PM, Rob Coli <[email protected]> wrote:

> On Mon, Nov 19, 2012 at 7:18 PM, Mike Heffner <[email protected]> wrote:
> > We performed a 1.1.3 -> 1.1.6 upgrade and found that all the logs
> replayed
> > regardless of the drain.
>
> Your experience and desire for different (expected) behavior is welcomed
> on :
>
> https://issues.apache.org/jira/browse/CASSANDRA-4446
>
> "nodetool drain sometimes doesn't mark commitlog fully flushed"
>
> If every production operator who experiences this issue shares their
> experience on this bug, perhaps the project will acknowledge and
> address it.
>
>
Well in this case I think our issue was that upgrading from nanotime->epoch
seconds, by definition, replays all commit logs. That's not due to any
specific problem with nodetool drain not marking commitlog's flushed, but a
safety to ensure data is not lost due to buggy nanotime implementations.

For us, it was that the upgrade instructions pre-1.1.5->1.1.6 didn't
mention that CL's should be removed if successfully drained. On the other
hand, we do not use counters so replaying them was merely a much longer
MTT-Return after restarting with 1.1.6.

Mike

-- 

  Mike Heffner <[email protected]>
  Librato, Inc.

Reply via email to