Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-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 056A9C672 for ; Fri, 9 Jan 2015 12:46:34 +0000 (UTC) Received: (qmail 80671 invoked by uid 500); 9 Jan 2015 12:46:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 80605 invoked by uid 500); 9 Jan 2015 12:46:35 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 80594 invoked by uid 99); 9 Jan 2015 12:46:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 12:46:35 +0000 Date: Fri, 9 Jan 2015 12:46:34 +0000 (UTC) From: "Glynn Bird (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-2537) Propose removal of ?local_seq=true from the GET /db/doc API for CouchDB 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Glynn Bird created COUCHDB-2537: ----------------------------------- Summary: Propose removal of ?local_seq=3Dtrue from the GET /db= /doc API for CouchDB 2.0 Key: COUCHDB-2537 URL: https://issues.apache.org/jira/browse/COUCHDB-2537 Project: CouchDB Issue Type: Improvement Security Level: public (Regular issues) Components: Database Core Reporter: Glynn Bird Prior to CouchDB 2.0, a document could be fetched thus: /db/8E795956?local_seq=3Dtrue {Code} { _id: '8E795956', _rev: '1-4fffae881c4d89048cf9319c2ae021a1', test: 'somestuff', _local_seq: 1 } {Code} with the _local_seq being returned indicating 'Document=E2=80=99s sequence = number in current database'. Post CouchDB2.0, this quantity makes little sense as it represents the loca= l sequence number within the shard. I propose that * ?local_seq=3Dtrue is deprecated * _local_seq is no longer returned in the response * the documentation is updated accordingly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)