Opsdir last call review of draft-kucherawy-dispatch-zstd-01

Susan Hares <shares@ndzh.com> Thu, 26 April 2018 13:46 UTC

Return-Path: <shares@ndzh.com>
X-Original-To: ietf@ietf.org
Delivered-To: ietf@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AD2112DB71; Thu, 26 Apr 2018 06:46:25 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Susan Hares <shares@ndzh.com>
To: ops-dir@ietf.org
Cc: ietf@ietf.org, draft-kucherawy-dispatch-zstd.all@ietf.org
Subject: Opsdir last call review of draft-kucherawy-dispatch-zstd-01
X-Test-IDTracker: no
X-IETF-IDTracker: 6.79.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <152475038517.22908.5747850950765267663@ietfa.amsl.com>
Date: Thu, 26 Apr 2018 06:46:25 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/krG7GqEK8UgFivPaBemUQ2eMqAw>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Apr 2018 13:46:27 -0000

Reviewer: Susan Hares
Review result: Has Issues

Status: ready with issues
Overal-comment: This specification has carefully defined all the Careful
specification the bits and bytes of the compression /decompression.  However,
it unclear how common error codes are shared between implementations.

Error code issues:  Compression/Decompression is normally a specific library
function.  As a library function, it is often tested with reference test suites
against a referece implementation.  What I do not undersatnd form this
specification is how errors get passed to the calling program.

A face book implementation of this zstd return errors codes:
(https://facebook.github.io/zstd/zstd_manual.html)
#define ZSTD_CONTENTSIZE_UNKNOWN (0ULL - 1)
#define ZSTD_CONTENTSIZE_ERROR   (0ULL - 2)

Should this type of operational information be included in the compression
specification?  It seems like common error codes would help the
interoperability of different implementations  so that compression by one
implementation would correctly be decompressed by a second.

Authors: What you need to do to clear my issue question:
Please talk to your AD and experts to determine the need for the error codes or
the specific codes.  I'm only qualified to suggest this area of inquiry might
be fruitful.   After you consider this concept with your AD, you can send a
message to the OPS-DIR list to indicate the resolution of my question.

reviewer caveat: I am not a expert on compression in media types.  If the
OPS-NM area ADs, feel this should be reviewed again with
compression/decompression expert for media data to determine what error codes
are needed, they should probably select someone who has worked with these
libraries.