From 589ac2819e788a3d32ff6302a60d457adf9369ab Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Wed, 11 May 2016 10:28:04 -0700 Subject: [PATCH] v2/README: add known bugs For https://github.com/coreos/etcd/issues/518. --- Documentation/v2/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/v2/README.md b/Documentation/v2/README.md index fa64930379fd..75ec9b01b2fc 100644 --- a/Documentation/v2/README.md +++ b/Documentation/v2/README.md @@ -118,6 +118,17 @@ See [CONTRIBUTING](../../CONTRIBUTING.md) for details on submitting patches and See [reporting bugs](reporting_bugs.md) for details about reporting any issue you may encounter. +## Known bugs + +[GH518](https://github.com/coreos/etcd/issues/518) is a known bug that we won't fix, in favor of etcd v3. Issue is that: + +``` +curl http://127.0.0.1:2379/v2/keys/foo -XPUT -d value=bar +curl http://127.0.0.1:2379/v2/keys/foo -XPUT -d dir=true -d prevExist=true +``` + +If the previous node is a key and client tries to overwrite it with `dir=true`, it does not give warnings such as `Not a directory`. Instead the key is set to empty value. + ## Project Details ### Versioning