Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDF609B25 for ; Mon, 20 Feb 2012 22:52:53 +0000 (UTC) Received: (qmail 96082 invoked by uid 500); 20 Feb 2012 22:52:52 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 96060 invoked by uid 500); 20 Feb 2012 22:52:52 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 96052 invoked by uid 99); 20 Feb 2012 22:52:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 22:52:52 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prvs=390ff4fb7=bburruss@expedia.com designates 216.251.112.223 as permitted sender) Received: from [216.251.112.223] (HELO mx1b.expedia.com) (216.251.112.223) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 22:52:46 +0000 X-SRBS: None X-HAT: Sender Group RELAYLIST, Policy $RELAYED applied. Received: from unknown (HELO CHC-EXCHNA03.SEA.CORP.EXPECN.COM) ([10.184.69.27]) by mx1b.sea.corp.expecn.com with ESMTP; 20 Feb 2012 15:52:25 -0700 Received: from CHC-CCR02.SEA.CORP.EXPECN.COM ([10.184.69.23]) by CHC-EXCHNA03.SEA.CORP.EXPECN.COM ([10.184.69.27]) with mapi; Mon, 20 Feb 2012 14:52:25 -0800 From: Todd Burruss To: "dev@cassandra.apache.org" Date: Mon, 20 Feb 2012 14:52:34 -0800 Subject: hinted handoff - 1.1.0 beta1 Thread-Topic: hinted handoff - 1.1.0 beta1 Thread-Index: AczwIk/aFtlXTaWjTTCNaSuoLcXozw== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.14.0.111121 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CB680EB24856bburrussexpediacom_" MIME-Version: 1.0 --_000_CB680EB24856bburrussexpediacom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm testing hinted handoff in 1.1 beta1 and cannot seem to get a hint deliv= ered. 3 node cluster, RF =3D 3, writing with CL =3D ONE. killed a host th= en did the write using the CLI on another node. I can see hint waiting usi= ng CLI and I see the log messages at the end of this email. this suggests = the hints exist bu are not being delivered (and I'll see the log messages o= ver and over.) I did see tracing with debugger and see that in HintedHandoffManager.delive= rHintsToEndpointInternal, this line will remove the hint because of the Int= eger.MAX_VALUE ColumnFamily hintsPage =3D ColumnFamilyStore.removeDeleted(hint= Store.getColumnFamily(filter), Integer.MAX_VALUE); I'm not sure I quite understand while MAX is used when the same "remove" is= done in getColumnFamily(filter). regardless if it is useful or not, it pr= events the hints from delivery. any thoughts? [default@unknown] use system; Authenticated to keyspace: system [default@system] list hintscolumnfamily; Using default limit of 100 ------------------- RowKey: 00 =3D> (super_column=3D493ecfa05c1411e100000da23097c7ff, (column=3D6b6579, value=3D6b35, timestamp=3D1329777799580, ttl=3D86400= ) (column=3D6d75746174696f6e, value=3D000662746f64646200026b350000000100= 0003e801000003e87fffffff80000000000000000000000100026335000004b96d055fd1300= 000000c68696e746564207772697465, timestamp=3D1329777799579, ttl=3D86400) (column=3D7461626c65, value=3D62746f646462, timestamp=3D1329777799580,= ttl=3D86400) (column=3D76657273696f6e, value=3D00000004, timestamp=3D1329777799580,= ttl=3D86400)) 1 Row Returned. Elapsed time: 58 msec(s). INFO [HintedHandoff:1] 2012-02-20 14:44:53,811 HintedHandOffManager.java (= line 296) Started hinted handoff for token: 0 with IP: /192.168.56.1 INFO [HintedHandoff:1] 2012-02-20 14:44:53,815 HintedHandOffManager.java (= line 373) Finished hinted handoff of 0 rows to endpoint /192.168.56.1 I have a hint waiting to be deli --_000_CB680EB24856bburrussexpediacom_--