[ 
https://issues.apache.org/jira/browse/CASSANDRA-12125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310485#comment-16310485
 ] 

Jeff Jirsa edited comment on CASSANDRA-12125 at 1/4/18 12:26 AM:
-----------------------------------------------------------------

{{DecoratedKey}} is really two parts: {{Token token, ByteBuffer key}}

The {{token}} is a hash of the {{key}}, and we write sorted by {{token}} (not 
by {{key}}).


Those of you hitting this bug, can you please post:
- What version of cassandra you're using

- Schema of the impacted table (anonymize column names if needed)

- What memtable settings you're using (onheap, offheap)




was (Author: jjirsa):
{{DecoratedKey}} is really two parts: {{Token token, ByteBuffer key}}

The {{token}} is a hash of the {{key}}, and we write sorted by {{token}} (not 
by {{key}}).



> ERROR [MemtableFlushWriter:4] 2016-07-01 06:20:41,137 
> CassandraDaemon.java:185 - Exception in thread 
> Thread[MemtableFlushWriter:4,5,main]  java.lang.RuntimeException: Last 
> written key DecoratedKey(XXXX.XX, XXXXX) >= current key DecoratedKey
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12125
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12125
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: RHEL-6.5 64-bit Apache Cassandra 2.2.5v
>            Reporter: Relish Chackochan
>             Fix For: 2.2.x
>
>
> We are running on RHEL-6.5 64-bit with Apache Cassandra 2.2.5v on 4 node 
> cluster and getting the following error on multiple node while running the 
> repair job and when getting the error repair job is hang.
> Can some one help to identify the issue.
> {code}
> ERROR [MemtableFlushWriter:4] 2016-07-01 06:20:41,137 
> CassandraDaemon.java:185 - Exception in thread 
> Thread[MemtableFlushWriter:4,5,main]
> java.lang.RuntimeException: Last written key DecoratedKey(1467371986.8870, 
> 313436373337313938362e38383730) >= current key DecoratedKey(, 
> 313436373337323030312e38383730) writing into 
> /opt/cassandra/data/proddb/log_data1-0a5092a0a4fa11e5872fc1ce0a46dc27/.maxdatetimeindex_idx/tmp-la-470-big-Data.db
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to