You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/07/30 01:04:39 UTC

[jira] [Created] (CASSANDRA-7644) tracing does not log commitlog/memtable ops when the coordinator is a replica

Brandon Williams created CASSANDRA-7644:
-------------------------------------------

             Summary: tracing does not log commitlog/memtable ops when the coordinator is a replica
                 Key: CASSANDRA-7644
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7644
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Brandon Williams
             Fix For: 2.1.1


For instance:

{noformat}
 session_id                           | event_id                             | activity                                                          | source        | source_elapsed | thread
--------------------------------------+--------------------------------------+-------------------------------------------------------------------+---------------+----------------+-------------------------
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1c4bc1-176f-11e4-8893-4b4842ed69b9 | Parsing insert into "Standard1" (key, "C0") VALUES ( 0xff, 0xff); |  10.208.8.123 |             86 |     SharedPool-Worker-5
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1c72d0-176f-11e4-8893-4b4842ed69b9 |                                               Preparing statement |  10.208.8.123 |            434 |     SharedPool-Worker-5
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1c72d1-176f-11e4-8893-4b4842ed69b9 |                                 Determining replicas for mutation |  10.208.8.123 |            534 |     SharedPool-Worker-5
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1c72d2-176f-11e4-8893-4b4842ed69b9 |                                   Sending message to /10.208.8.63 |  10.208.8.123 |           1157 |      WRITE-/10.208.8.63
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1c99e0-176f-11e4-8893-4b4842ed69b9 |                                 Sending message to /10.208.35.225 |  10.208.8.123 |           1975 |    WRITE-/10.208.35.225
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d0f10-176f-11e4-8893-4b4842ed69b9 |                                Message received from /10.208.8.63 |  10.208.8.123 |           4732 |                Thread-5
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d0f11-176f-11e4-8893-4b4842ed69b9 |                              Message received from /10.208.35.225 |  10.208.8.123 |           5086 |                Thread-4
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d3620-176f-11e4-8893-4b4842ed69b9 |                             Processing response from /10.208.8.63 |  10.208.8.123 |           5288 |     SharedPool-Worker-7
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d3620-176f-11e4-93e6-517bcdb23258 |                               Message received from /10.208.8.123 | 10.208.35.225 |             76 |                Thread-4
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d3620-176f-11e4-9b20-3b546d897db7 |                               Message received from /10.208.8.123 |   10.208.8.63 |            317 |                Thread-4
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d3621-176f-11e4-8893-4b4842ed69b9 |                           Processing response from /10.208.35.225 |  10.208.8.123 |           5332 |     SharedPool-Worker-7
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d3621-176f-11e4-93e6-517bcdb23258 |                                            Appending to commitlog | 10.208.35.225 |            322 |     SharedPool-Worker-4
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d3622-176f-11e4-93e6-517bcdb23258 |                                      Adding to Standard1 memtable | 10.208.35.225 |            386 |     SharedPool-Worker-4
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d3623-176f-11e4-93e6-517bcdb23258 |                               Enqueuing response to /10.208.8.123 | 10.208.35.225 |            451 |     SharedPool-Worker-4
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d5d30-176f-11e4-93e6-517bcdb23258 |                              Sending message to bw-1/10.208.8.123 | 10.208.35.225 |           1538 | WRITE-bw-1/10.208.8.123
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d5d30-176f-11e4-9b20-3b546d897db7 |                                            Appending to commitlog |   10.208.8.63 |           1191 |     SharedPool-Worker-7
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d5d31-176f-11e4-9b20-3b546d897db7 |                                      Adding to Standard1 memtable |   10.208.8.63 |           1226 |     SharedPool-Worker-7
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d5d32-176f-11e4-9b20-3b546d897db7 |                               Enqueuing response to /10.208.8.123 |   10.208.8.63 |           1277 |     SharedPool-Worker-7
 bb1c4bc0-176f-11e4-8893-4b4842ed69b9 | bb1d5d33-176f-11e4-9b20-3b546d897db7 |                              Sending message to bw-1/10.208.8.123 |   10.208.8.63 |           1450 | WRITE-bw-1/10.208.8.123
{noformat}

All nodes are replicas, but the coordinator (123) never logged anything about adding to its commitlog/memtable, though the other replicas did.



--
This message was sent by Atlassian JIRA
(v6.2#6252)