From dev-return-314134-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu Mar 8 10:05:13 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D37C718064C for ; Thu, 8 Mar 2018 10:05:12 +0100 (CET) Received: (qmail 32880 invoked by uid 500); 8 Mar 2018 09:05:05 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 32845 invoked by uid 99); 8 Mar 2018 09:05:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2018 09:05:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 45560C0169 for ; Thu, 8 Mar 2018 09:05:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Vb03dGqTNyvS for ; Thu, 8 Mar 2018 09:05:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 496F55FBEE for ; Thu, 8 Mar 2018 09:05:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8C8CCE0313 for ; Thu, 8 Mar 2018 09:05:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9B95525413 for ; Thu, 8 Mar 2018 09:05:00 +0000 (UTC) Date: Thu, 8 Mar 2018 09:05:00 +0000 (UTC) From: "Amrit Sarkar (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-12063) Fix tlog entry indexes in UpdateLog for CDCR to work smoothly. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-12063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amrit Sarkar updated SOLR-12063: -------------------------------- Attachment: test-report-TestStressRecovery test-report-PeerSyncTest > Fix tlog entry indexes in UpdateLog for CDCR to work smoothly. > -------------------------------------------------------------- > > Key: SOLR-12063 > URL: https://issues.apache.org/jira/browse/SOLR-12063 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: CDCR > Affects Versions: 7.2 > Reporter: Amrit Sarkar > Assignee: Varun Thacker > Priority: Major > Attachments: SOLR-12063.patch, SOLR-12063.patch, test-report-PeerSyncTest, test-report-TestStressRecovery > > > In *UpdateLog*, {{RecentUpdates}} reads the entry of tlogs, and throughout the project the entry indexes for various operations are consistent, but odd in this part. As we included new entry in TransactionLog for CDCR, read operations in {{update()}} method of {{RecentUpdates}} throw error rightfully as elements are read from wrong indexes of tlog entry. The entry indexes of llog should be consistent throughout. > {code} > [beaster] 2> 27394 WARN (qtp97093533-72) [n:127.0.0.1:44658_solr c:cdcr-cluster1 s:shard1 r:core_node3 x:cdcr-cluster1_shard1_replica_n1] o.a.s.u.UpdateLog Unexpected log entry or corrupt log. Entry=[2, -1594312216007409664, [B@28e6859c, true] > [beaster] 2> java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B > [beaster] 2> at org.apache.solr.update.UpdateLog$RecentUpdates.update(UpdateLog.java:1443) > [beaster] 2> at org.apache.solr.update.UpdateLog$RecentUpdates.(UpdateLog.java:1340) > [beaster] 2> at org.apache.solr.update.UpdateLog.getRecentUpdates(UpdateLog.java:1513) > [beaster] 2> at org.apache.solr.handler.CdcrRequestHandler.handleShardCheckpointAction(CdcrRequestHandler.java:448) > [beaster] 2> at org.apache.solr.handler.CdcrRequestHandler.handleRequestBody(CdcrRequestHandler.java:198) > [beaster] 2> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:195) > [beaster] 2> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2503) > [beaster] 2> at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:711) > [beaster] 2> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:517) > [beaster] 2> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:384) > [beaster] 2> at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:330) > [beaster] 2> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) > [beaster] 2> at org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:139) > [beaster] 2> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) > [beaster] 2> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) > [beaster] 2> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) > [beaster] 2> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) > [beaster] 2> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) > [beaster] 2> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) > [beaster] 2> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) > [beaster] 2> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) > [beaster] 2> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org