Details
-
Bug
-
Resolution: Incomplete
-
Critical
-
None
-
2.6.0
-
None
-
None
-
debian, mint, mac
-
1
Description
Hi there,
we are facing strange bug in your PHP plugin, we have tested against the latest version of extension too 2.6.0 (your JIRA affected versions field doesn't allow to select it).
Basically we can't upsert more than 17 object properties per doc using mutateIn operation (works with less but not with more), see below is how you can reproduce it:
$authenticator = new \Couchbase\PasswordAuthenticator();
|
$authenticator->username('user')->password('pass');
|
|
$cluster = new \Couchbase\Cluster("couchbase://127.0.0.1");
|
$cluster->authenticate($authenticator);
|
$bucket = $cluster->openBucket('bucket_name');
|
|
$mutateIn = $bucket->mutateIn('test');
|
|
for($i=1;$i<= 17;$i++)
|
{
|
$mutateIn->upsert('key_'.$i, 'val_'.$i, true);
|
}
|
$res = $mutateIn->execute();
|
Once run you will get:
LCB_SUBDOC_INVALID_COMBO: An invalid combination of commands was specified
|
Please advise.