incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuutti Kotivuori (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-887) _log handler has very odd semantics for bytes/offset, probably a bug
Date Tue, 14 Sep 2010 01:06:34 GMT
_log handler has very odd semantics for bytes/offset, probably a bug
--------------------------------------------------------------------

                 Key: COUCHDB-887
                 URL: https://issues.apache.org/jira/browse/COUCHDB-887
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
    Affects Versions: 1.0.1, 1.0, 0.11.2, 0.11.1, 0.11
            Reporter: Nuutti Kotivuori
            Priority: Trivial


The _log method for couchdb servers has query arguments "bytes" and "offset", but they seem
to behave really weirdly. If offset >= bytes, an eof error is returned - otherwise offset
is just substracted from bytes and the request behaves identically otherwise.

A simple fix to the expected behaviour is included - offset counts backwards from bytes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message