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

Ahmed ELJAMI commented on CASSANDRA-9934:
-----------------------------------------

Yes!
keySpace with RF = 1
My Key exists on node node002(ip 192.168.1.2)
When I stop the node, to be sur:
cqlsh> select * from myks.mytable where id = 1745;
Unable to complete request: one or more nodes were unavailable.

When I start my node002 with survey mode = true
INFO [main] 2015-07-31 09:13:40,448 StorageService.java (line 853) Startup 
complete, but write survey mode is active, not becoming an active ring member. 
Use JMX (StorageService->joinRing()) to finalize ring joining.

cqlsh> select * from myks.mytable where id = 1745;
id   | fname | lname
------+-------+-------
 1745 |  john | smith


Tracing:
tracing session: cddd4bb0-3758-11e5-bc8a-95336b038b5d

(192.168.1.1 is the coordinator, 192.168.1.2 is the node with survey mode = 
true and key = 1745)

 activity                                                                  | 
timestamp    | source      | source_elapsed
---------------------------------------------------------------------------+--------------+-------------+----------------
                                                        execute_cql3_query | 
09:50:25,515 | 192.168.1.1 |              0
                                        Message received from /192.168.1.1 | 
09:50:25,515 | 192.168.1.2 |             69
                                   Executing single-partition query on cf1 | 
09:50:25,516 | 192.168.1.2 |           1132
    Parsing select * from myks.mytable where id = 1745 LIMIT 10000; | 
09:50:25,516 | 192.168.1.2 |             56
                                              Acquiring sstable references | 
09:50:25,516 | 192.168.1.2 |           1224
                                                       Preparing statement | 
09:50:25,516 | 192.168.1.1 |            135
                                               Merging memtable tombstones | 
09:50:25,516 | 192.168.1.2 |           1294
                                 Executing single-partition query on users | 
09:50:25,516 | 192.168.1.1 |            368
                                               ........


> Read authorized with write survey
> ---------------------------------
>
>                 Key: CASSANDRA-9934
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9934
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Config, Core
>         Environment: Cassandra 2.0.10
>            Reporter: Ahmed ELJAMI
>            Priority: Minor
>
> I start a node with the write survey = true
> -Dcassandra.write_survey=true
> Log:
> INFO [main] 2015-07-29 15:29:35,697 StorageService.java (line 853) Startup 
> complete, but write survey mode is active, not becoming an active ring 
> member. Use JMX (StorageService->joinRing()) to finalize ring joining.
> but the node allows read:
> cqlsh> select * from myTable  where id = 1745;
> id   | fname | lname
> ------+-------+-------
> 1745 |  john | smith
> (Key 1745 exists on node with the the write survey = true)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to