Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.2.0
-
None
-
lscpu :
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Stepping: 10
CPU MHz: 3191.999
BogoMIPS: 6383.99
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 12288K
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves flush_l1d arch_capabilities
php -v
PHP 7.4.21 (cli) (built: Jul 22 2021 02:54:54) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
php -i | grep couchbase
Additional .ini files parsed => /usr/local/etc/php/conf.d/docker-php-ext-couchbase.ini,
couchbase
couchbase support => enabled
libcouchbase runtime version => 3.2.0 (git: c712686af5825f2f05c89112e555cd09906aa727)
libcouchbase headers version => 3.2.0 (git: c712686af5825f2f05c89112e555cd09906aa727)
couchbase.allow_fallback_to_bucket_connection => 0 => 0
couchbase.decoder.json_arrays => 1 => 1
couchbase.encoder.compression => off => off
couchbase.encoder.compression_factor => 0.0 => 0.0
couchbase.encoder.compression_threshold => 0 => 0
couchbase.encoder.format => json => json
couchbase.log_level => WARN => WARN
couchbase.pool.max_idle_time_sec => 60 => 60
lscpu : Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 39 bits physical, 48 bits virtual CPU(s): 12 On-line CPU(s) list: 0-11 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 158 Model name: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz Stepping: 10 CPU MHz: 3191.999 BogoMIPS: 6383.99 Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 12288K Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves flush_l1d arch_capabilities php -v PHP 7.4.21 (cli) (built: Jul 22 2021 02:54:54) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies php -i | grep couchbase Additional .ini files parsed => /usr/local/etc/php/conf.d/docker-php-ext-couchbase.ini, couchbase couchbase support => enabled libcouchbase runtime version => 3.2.0 (git: c712686af5825f2f05c89112e555cd09906aa727) libcouchbase headers version => 3.2.0 (git: c712686af5825f2f05c89112e555cd09906aa727) couchbase.allow_fallback_to_bucket_connection => 0 => 0 couchbase.decoder.json_arrays => 1 => 1 couchbase.encoder.compression => off => off couchbase.encoder.compression_factor => 0.0 => 0.0 couchbase.encoder.compression_threshold => 0 => 0 couchbase.encoder.format => json => json couchbase.log_level => WARN => WARN couchbase.pool.max_idle_time_sec => 60 => 60
-
1
Description
Hi,
There is a crash when trying to insert or upsert a document with a durability option.
I've attached an example code that creates a test bucket and tries two inserts, the last one with durability option.
The code attached uses the couchbase community 6.6.0 docker image.
The crash is as following:
[cb,WARN] (server L:386 I:2919601397) <couchbase:11210> (CTX=0x5595bbeea440,memcached,SRV=0x5595bbf21c40,IX=0) Received server error EINVAL (0x4) on packet: OP=0x2, RC=0x4, SEQ=1
Fatal error: Uncaught Couchbase\BindingsException: LCB_ERR_KVENGINE_INVALID_PACKET (1031) in /usr/src/sib-hooks-proxy-api/test.php:34
Stack trace:
#0 /usr/src/sib-hooks-proxy-api/test.php(34): Couchbase\Collection->insert('6102b46741a86', Array, Object(Couchbase\InsertOptions))
#1 {main}
thrown in /usr/src/sib-hooks-proxy-api/test.php on line 34
Attachments
Issue Links
- depends on
-
CCBC-1438 Synchronous durability raises LCB_ERR_KVENGINE_INVALID_PACKET (1031)
- Resolved