Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.6.0, 7.2.4
-
7.2.4-7070
7.6.0-2054
-
Triaged
-
Linux x86_64
-
0
-
Yes
Description
Steps:
- Single node cluster with services KV, Index, N1ql
- Create Ephemeral bucket (ejection type does not matter)
- Run cbimport of travel-sample.zip
# /opt/couchbase/bin/cbimport json -u Administrator -p password -f sample -c 172.23.108.72:8091 -b default -d file:///opt/couchbase/samples/travel-sample.zip
Observation:
From 7.2.4, it fails with the error,
JSON import failed: unexpected status code 400 for 'POST' request to '/pools/default/buckets/default', {"errors":{"evictionPolicy":"Eviction policy cannot be updated for ephemeral buckets","replicaNumber":"Warning: you do not have enough data servers or server groups to support this number of replicas."},"summaries":{"ramSummary":{"total":1897922560,"otherBuckets":0,"nodesCount":1,"perNodeMegs":1810,"thisAlloc":1897922560,"thisUsed":13933248,"free":0},"hddSummary":{"total":32046432256,"otherData":3525107514,"otherBuckets":0,"thisUsed":34,"free":28521324742}}}
|
Matt Hall pointed out that this could be possibly introduced by MB-57735
Note: This works fine on 7.2.3-6709
Testrunner test:
buckettests.CreateBucketTests:
|
test_cli_bucket_maxttl_setting,bucket_type=couchbase,nodes_init=1
|
Attachments
Issue Links
- is caused by
-
MB-57735 [Import] Add an --eviction-policy flag
- Closed