Couchbase抛出GetVBucket仅针对VBucketNodeLocator实现

时间:2013-10-21 21:49:39

标签: .net memcached couchbase

我已经开始收到此错误

GetVBucket is implemented only for VBucketNodeLocator

以下是代码:

 var couchbaseClient = new CouchbaseClient();
 var isRunning = couchbaseClient.KeyExists("job-started"); //Error here

这是我的配置:

 <couchbase>
    <servers bucket="unittests">
      <add uri="http://localhost:8091/pools" />
      <add uri="http://localhost:11211/pools" />
    </servers>
  </couchbase>

这真的只是开始了一个桶是一个memcache桶。

快速更新 如果我使用get而不是exists,它就会起作用。

0 个答案:

没有答案