Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C63AE107FC for ; Mon, 23 Sep 2013 20:49:05 +0000 (UTC) Received: (qmail 63407 invoked by uid 500); 23 Sep 2013 20:49:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 63367 invoked by uid 500); 23 Sep 2013 20:49:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 63295 invoked by uid 99); 23 Sep 2013 20:49:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Sep 2013 20:49:05 +0000 Date: Mon, 23 Sep 2013 20:49:04 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9420) Math.max() on syncedTillHere lacks synchronization 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/HBASE-9420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-9420: ------------------------- Priority: Trivial (was: Major) What are implications of not having this sync'd? Setting to trivial. > Math.max() on syncedTillHere lacks synchronization > -------------------------------------------------- > > Key: HBASE-9420 > URL: https://issues.apache.org/jira/browse/HBASE-9420 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Trivial > Fix For: 0.98.0 > > Attachments: 9420-v1.txt, 9420-v2.txt > > > In FSHlog#syncer(), around line 1080: > {code} > this.syncedTillHere = Math.max(this.syncedTillHere, doneUpto); > {code} > Assignment to syncedTillHere after computing max value is not protected by proper synchronization. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira