Re: [imapext] CONDSTORE interaction with SORT/THREAD

Alexey Melnikov <alexey.melnikov@isode.com> Wed, 21 August 2013 14:06 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 795C811E839B for <imapext@ietfa.amsl.com>; Wed, 21 Aug 2013 07:06:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.389
X-Spam-Level:
X-Spam-Status: No, score=-102.389 tagged_above=-999 required=5 tests=[AWL=-0.090, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B3h8iQC3kOMv for <imapext@ietfa.amsl.com>; Wed, 21 Aug 2013 07:06:12 -0700 (PDT)
Received: from statler.isode.com (statler.isode.com [62.3.217.254]) by ietfa.amsl.com (Postfix) with ESMTP id 5AB1D11E80FB for <imapext@ietf.org>; Wed, 21 Aug 2013 07:06:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1377093971; d=isode.com; s=selector; i=@isode.com; bh=3qcBWYkTL7K1ylqk+ljIA1lVqLqZayQ85dZzpiz9sug=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Zs1L1+hkQmjlTmIfLSlmJSB+Qk3nYFgqaDhvYzXXzp8jKzRRhoTDcv+a3Z9KVq+sQKgNRH YeZjkTU/t+E8kilPTGk9AwQo3iGQBMqPaZLWPjFb9E3+wX7bM+JanQhxxaRQF5cH1Ut9Ri vdYJ4i4cOrhhO14LF9TUZE4hNK5Wn9w=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250]) by statler.isode.com (submission channel) via TCP with ESMTPA id <UhTJUwB9ngpw@statler.isode.com>; Wed, 21 Aug 2013 15:06:11 +0100
Message-ID: <5214C972.3090801@isode.com>
Date: Wed, 21 Aug 2013 15:06:42 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
To: Jan Kundrát <jkt@flaska.net>
References: <5208CD61.3070100@isode.com> <7bad458f-e05d-4df1-bbed-47190b8dbd16@flaska.net>
In-Reply-To: <7bad458f-e05d-4df1-bbed-47190b8dbd16@flaska.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: quoted-printable
Cc: imapext@ietf.org
Subject: Re: [imapext] CONDSTORE interaction with SORT/THREAD
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Aug 2013 14:06:18 -0000

On 12/08/2013 14:32, Jan Kundrát wrote:
> On Monday, 12 August 2013 13:56:17 CEST, Alexey Melnikov wrote:
>> 1). Use ESEARCH response (RFC 4731) to return MODSEQ for all matching 
>> messages and also extend it to return threaded results. For example:
>>
>>   * ESEARCH (TAG "A002") THREAD ((2)(3 6 (4 23)(44 7 96))) MODSEQ 
>> 909240921
>
> I would love to have the THREAD return option for ESEARCH; in fact, 
> I've tried to introduce it in draft-kundrat-incthread [1]. It will 
> help Trojita understand the matching between commands and responses 
> and therefore enable better pipelining.

I tend to agree with Timo that this needs a new capability. So what you 
are doing in draft-kundrat-incthread (once you fix ABNF as per my other 
comments) is the best way forward.