Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 286A99855 for ; Fri, 26 Oct 2012 20:43:12 +0000 (UTC) Received: (qmail 78292 invoked by uid 500); 26 Oct 2012 20:43:12 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 78255 invoked by uid 500); 26 Oct 2012 20:43:12 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 78246 invoked by uid 99); 26 Oct 2012 20:43:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 20:43:12 +0000 Date: Fri, 26 Oct 2012 20:43:12 +0000 (UTC) From: "David Medinets (JIRA)" To: notifications@accumulo.apache.org Message-ID: <21056485.33492.1351284192065.JavaMail.jiratomcat@arcas> In-Reply-To: <1112348147.26283.1349962263913.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (ACCUMULO-803) Add Reverse Logical Time as a Time Type 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/ACCUMULO-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485186#comment-13485186 ] David Medinets commented on ACCUMULO-803: ----------------------------------------- I feel mucking with timestamps is asking for trouble. I'd rather see an effort to make the Key semantics changeable in a controlled fashion using a plug-in architecture. Then changes to support FIFO or other sorting mechanisms would use a well-defined API. Changes (and bugs) for each mechanism would be isolated. > Add Reverse Logical Time as a Time Type > --------------------------------------- > > Key: ACCUMULO-803 > URL: https://issues.apache.org/jira/browse/ACCUMULO-803 > Project: Accumulo > Issue Type: Improvement > Components: tserver > Affects Versions: 1.5.0 > Reporter: Drew Farris > Assignee: Drew Farris > Priority: Minor > Attachments: ACCUMULO-803.patch, ACCUMULO-803.patch > > > In a context where we are doing aggregation/combination of multiple values for a given key it may be useful to iterate over the values associated with that key in the order in which the mutations were applied (FIFO), instead of the FILO order that seems to occur when using {{TimeType.LOGICAL}}. > I encountered when implemeting a checkAndPut operation that would ensure that the previous value was expected before putting a new value. In this case, if the previous value was not as expected, the mutation would be ignored. > Perhaps it is useful in a general case? -- 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