Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

No way to get important metadata #17

Description

@fasaxc

One issue that we found in writing our product using etcd3gw is that the methods don't return the metadata from the response "envelope". There are various cases where that information is needed:

  • To do watches correctly, you need the response revision, not the per-key revision. This is because the per-key revision may be pre-compaction and you can't watch on a compacted revision.
  • To do chunked gets (with limit=<n>) correctly, you need the "more" flag form the response and the response revision.

Perhaps you could switch to a dedicated Response object that exposes the KVs and other metadata?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions