Details
-
Bug
-
Status: Closed
-
Test Blocker
-
Resolution: Fixed
-
6.5.0
-
Untriaged
-
Unknown
Description
Transactions are timing out in YCSB on recent mad-hatter build 6.5.0-3216 while latest couchbase-transactions-1.0.0-alpha.3.jar dowloaded from (https://hub.internal.couchbase.com/confluence/pages/viewpage.action?spaceKey=SDK&title=Transactions ).
Based on logs It looks like transactions are failing while creating/retrieving Subdoc's . Not sure its a SDK/Server kv issue . Please take a look at the detailed logs attached
Please find implementation details and SDK/transaction logs (attached) .
YCSB Implementation details in github -
https://github.com/couchbaselabs/YCSB/tree/couchbase3-transactions-playground
Error Snippet -
"Transaction logger:14/Thread-1/257f6fd1-75d8-4969-a40f-ddc2b839975c starting attempt 3/026fae55-b851-4ebd-86b7-65fbd04c1139
Transaction logger:14/Thread-1/257f6fd1-75d8-4969-a40f-ddc2b839975c/026fae55-b851-4ebd-86b7-65fbd04c1139 getting doc usertable:user6873002678636213555
_Transaction logger:14/Thread-1/257f6fd1-75d8-4969-a40f-ddc2b839975c/026fae55-b851-4ebd-86b7-65fbd04c1139 caught exception 'com.couchbase.client.core.error.RequestTimeoutException: SubdocGetRequest {"retried":13,"reason":"TIMEOUT","requestId":23,"timeoutMs":2500,"service":
{"bucket":"bucket-1","type":"kv","key":"usertable:user6873002678636213555","cid":0},"cancelled":true,"coreId":1,"completed":true}' in asyncInternal, rethrowing to rollback_
"
Hi Graham - Please find attached transaction logs and cbcollect logs for analysis .
You can also run YCSB by following the build instructions on your local . Please replace the host ip as needed .
Command to load docs :
bin/ycsb load couchbase3 -P workloads/workloadta -p writeallfields=true -threads 1 -p couchbase.host=172.23.109.175 -p couchbase.bucket=bucket-1 -p couchbase.upsert=true -p couchbase.password=password -p operationcount=100 -p recordcount=100 -p couchbase.transactionsEnabled=false
Command to run transactions :
bin/ycsb run couchbase3 -P workloads/workloadta -p writeallfields=true -threads 1 -p couchbase.host=172.23.109.175 -p couchbase.bucket=bucket-1 -p couchbase.upsert=true -p couchbase.password=password -p operationcount=100 -p recordcount=100 -p couchbase.transactionsEnabled=true > ycsb_transactions.log