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

Erick Tryzelaar edited comment on CASSANDRA-1012 at 4/22/10 5:42 PM:
---------------------------------------------------------------------

You're right, I messed up copying. Here's the real results:

------

getting against machine1:

machine1 log:
DEBUG [pool-1-thread-9] 2010-04-22 14:35:59,972 CassandraServer.java (line 232) 
get_slice
DEBUG [ROW-READ-STAGE:7] 2010-04-22 14:35:59,972 StorageProxy.java (line 757) 
weakreadlocal reading SliceByNamesReadCommand(table='Keyspace1', key=31, 
columnParent='QueryPath(columnFamilyName='Standard1', superColumnName='null', 
columnName='null')', columns=[6a6f626964,])

machine2 log: (nothing)
machine3 log: (nothing)

------

getting against machine2:

machine1 log:
DEBUG [ROW-READ-STAGE:8] 2010-04-22 14:38:06,078 ReadVerbHandler.java (line 94) 
Read key [...@488ddb93; sending response to 5414@/10.0.0.2

machine2 log:
DEBUG [pool-1-thread-6] 2010-04-22 14:38:32,488 CassandraServer.java (line 232) 
get_slice
DEBUG [pool-1-thread-6] 2010-04-22 14:38:32,488 StorageProxy.java (line 341) 
weakreadremote reading SliceByNamesReadCommand(table='Keyspace1', key=31, 
columnParent='QueryPath(columnFamilyName='Standard1', superColumnName='null', 
columnName='null')', columns=[6a6f626964,])
DEBUG [pool-1-thread-6] 2010-04-22 14:38:32,489 StorageProxy.java (line 352) 
weakreadremote reading SliceByNamesReadCommand(table='Keyspace1', key=31, 
columnParent='QueryPath(columnFamilyName='Standard1', superColumnName='null', 
columnName='null')', columns=[6a6f626964,]) from 5498@/10.0.0.1
DEBUG [RESPONSE-STAGE:6] 2010-04-22 14:38:32,491 ResponseVerbHandler.java (line 
44) Processing response on an async result from 5498@/10.0.0.1

machine3 log: (nothing)

------

and nodetool does agree with machine1:

% nodetool -h machine1 ring
Address       Status     Load          Range                                    
  Ring
                                       mGdY41r8RNGYLXsF                         
  
10.0.0.1    Up         20.23 KB      A7fozEmmpyDXlE7e                           
|<--|
10.0.0.3    Up         5.44 KB       fQKDOQPHr2x8n1zG                           
|   |
10.0.0.2    Up         5.44 KB       mGdY41r8RNGYLXsF                           
|-->|


% nodetool -h machine2 ring
Address       Status     Load          Range                                    
  Ring
                                       mGdY41r8RNGYLXsF                         
  
10.0.0.1    Up         20.23 KB      A7fozEmmpyDXlE7e                           
|<--|
10.0.0.3    Up         5.44 KB       fQKDOQPHr2x8n1zG                           
|   |
10.0.0.2    Up         5.44 KB       mGdY41r8RNGYLXsF                           
|-->|

% nodetool -h machine3 ring
Address       Status     Load          Range                                    
  Ring
                                       mGdY41r8RNGYLXsF                         
  
10.0.0.1    Up         20.23 KB      A7fozEmmpyDXlE7e                           
|<--|
10.0.0.3    Up         5.44 KB       fQKDOQPHr2x8n1zG                           
|   |
10.0.0.2    Up         5.44 KB       mGdY41r8RNGYLXsF                           
|-->|


      was (Author: erickt):
    You're right, I messed up copying. Here's the real results:

------

getting against machine1:

machine1 log:
DEBUG [pool-1-thread-9] 2010-04-22 14:35:59,972 CassandraServer.java (line 232) 
get_slice
DEBUG [ROW-READ-STAGE:7] 2010-04-22 14:35:59,972 StorageProxy.java (line 757) 
weakreadlocal reading SliceByNamesReadCommand(table='Keyspace1', key=31, 
columnParent='QueryPath(columnFamilyName='Standard1', superColumnName='null', 
columnName='null')', columns=[6a6f626964,])

machine2 log: (nothing)
machine3 log: (nothing)

------

getting against machine2:

machine1 log:
DEBUG [ROW-READ-STAGE:8] 2010-04-22 14:38:06,078 ReadVerbHandler.java (line 94) 
Read key [...@488ddb93; sending response to 5414@/10.0.0.2

machine2 log:
DEBUG [pool-1-thread-6] 2010-04-22 14:38:32,488 CassandraServer.java (line 232) 
get_slice
DEBUG [pool-1-thread-6] 2010-04-22 14:38:32,488 StorageProxy.java (line 341) 
weakreadremote reading SliceByNamesReadCommand(table='Keyspace1', key=31, 
columnParent='QueryPath(columnFamilyName='Standard1', superColumnName='null', 
columnName='null')', columns=[6a6f626964,])
DEBUG [pool-1-thread-6] 2010-04-22 14:38:32,489 StorageProxy.java (line 352) 
weakreadremote reading SliceByNamesReadCommand(table='Keyspace1', key=31, 
columnParent='QueryPath(columnFamilyName='Standard1', superColumnName='null', 
columnName='null')', columns=[6a6f626964,]) from 5498@/10.0.0.1
DEBUG [RESPONSE-STAGE:6] 2010-04-22 14:38:32,491 ResponseVerbHandler.java (line 
44) Processing response on an async result from 5498@/10.0.0.1

machine3 log: (nothing)

  
> Problems reading remote rows in trunk?
> --------------------------------------
>
>                 Key: CASSANDRA-1012
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1012
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Erick Tryzelaar
>
> I've run into a problem with my small 3 node cluster where quorum reads do 
> not return anything. I'm inserting 10 rows into a fresh database with 
> replication factor 3. I've inserted with QUORUM, but when I try to read back 
> at QUORUM no data gets returned. However, if I use the consistency level ONE, 
> I do get results.
> I've dug a bit into this problem, and it appears that internally 
> ThriftServer.getSlice is finding the column family for the given key, but 
> it's not finding any of the columns, so thrift doesn't return anything.
> In order to confirm there being a problem, I dropped the RF down to 1 and 
> rebuilt the cluster. I then reinserted some data, and I can only read data 
> off of one machine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to