Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Couchbase操作员问题_Couchbase - Fatal编程技术网

Couchbase操作员问题

Couchbase操作员问题,couchbase,Couchbase,Couchbase操作员(enterprise 1.2)舵图出现问题 对于新的couchbase集群,以下问题总是发生 couchbase操作符couchbase-operator-0.1.2 1.2 time="2019-06-25T04:22:14Z" level=error msg="failed to reconcile: unable to get buckets from cluster: [Client error `unmarshal json response`: json:

Couchbase操作员(enterprise 1.2)舵图出现问题

对于新的couchbase集群,以下问题总是发生

couchbase操作符couchbase-operator-0.1.2 1.2

time="2019-06-25T04:22:14Z" level=error msg="failed to reconcile: unable to get buckets from cluster: [Client error `unmarshal json response`: json: cannot unmarsh
al number 897.8978978978979 into Go struct field BucketBasicStats.diskFetches of type int], [Client error `unmarshal json response`: json: cannot unmarshal number
897.8978978978979 into Go struct field BucketBasicStats.diskFetches of type int], [Client error `unmarshal json response`: json: cannot unmarshal number 897.897897
8978979 into Go struct field BucketBasicStats.diskFetches of type int]" cluster-name=couchbase-cluster-couchbase-cluster module=cluster
time="2019-06-25T04:22:22Z" level=error msg="failed to reconcile: unable to get buckets from cluster: [Client error `unmarshal json response`: json: cannot unmarsh
al number 575.7622377622378 into Go struct field BucketBasicStats.diskFetches of type int], [Client error `unmarshal json response`: json: cannot unmarshal number
575.7622377622378 into Go struct field BucketBasicStats.diskFetches of type int], [Client error `unmarshal json response`: json: cannot unmarshal number 575.762237
7622378 into Go struct field BucketBasicStats.diskFetches of type int]" cluster-name=couchbase-cluster-couchbase-cluster module=cluster

更新:这是现在修复

哦,那是个好主意!是的,看起来diskFetches实际上是每秒的速率,而不是客户端代码假定的整数计数器

目前我们无能为力,但我已经标记为一个关键补丁,很快将出现在1.2.1中。为您提供信息,操作员在执行任何存储桶操作(如果操作失败)之前确保集群大小正确、平衡且健康,因此您的数据是安全的

我建议您在集群定义中将spec.disableBucketManagement设置为true,并使用UI或客户端SDK创建bucket,这将完全避免这种情况,直到我们得到热修复