Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
Build: 7.0.0 build 5046
Test: Eventing volume https://docs.google.com/document/d/1dJ6VhHtLaRLTPVKQm0EomakzUNZDz2x7xJv3JqZVuqw/edit?usp=sharing
- Create 9 node cluster ( Eventing:2 , Kv:5,index:1,query:1)
- Create 15 handlers (3 of bucket op, timer,n1ql, SBM, curl)
- deploy bucket op, timers and N1ql
- Rebalance in 1 eventing node
- Start CRUD on bucket_op where no handler are deployed
- Verify handlers
Source Bucket(n1ql_op.scope_0.coll0) : 6226696, Destination Bucket(['n1ql_op.scope_1.coll0']) : 6226691
|
Source Bucket(n1ql_op.scope_0.coll1) : 6226416, Destination Bucket(['n1ql_op.scope_1.coll1']) : 6226410
|
function OnUpdate(doc, meta) {
|
try{
|
var query = UPSERT INTO n1ql_op.scope_1.`coll0` ( KEY, VALUE ) VALUES ( $meta.id ,"n1ql insert");
|
}
|
catch(e){
|
log("Query failed: ",e)
|
}
|
}function OnDelete(meta, options) {
|
try{
|
var query = DELETE from n1ql_op.scope_1.`coll0` USE KEYS $meta.id ;
|
}
|
catch(e){
|
log("Query failed: ",e)
|
}
|
}
|
|
|
function OnUpdate(doc, meta) {
|
try{
|
var query = UPSERT INTO n1ql_op.scope_1.`coll1` ( KEY, VALUE ) VALUES ( $meta.id ,"n1ql insert");
|
}
|
catch(e){
|
log("Query failed: ",e)
|
}
|
}function OnDelete(meta, options) {
|
try{
|
var query = DELETE from n1ql_op.scope_1.`coll1` USE KEYS $meta.id ;
|
}
|
catch(e){
|
log("Query failed: ",e)
|
}
|
}
|
Attachments
Issue Links
- backports to
-
MB-46326 [Backport to 6.6.3] - Volume Test: Data missing for N1QL handlers
-
- Closed
-
- depends on
-
CCBC-1411 Further disambiguate 12009 error returned by Query into retriable-transient-errors and non-retriable-specific-errors
-
- Resolved
-
- is duplicated by
-
MB-46264 [Eventing][Windows] Data mismatch for rebalance + collection tests
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Build: 7.0.0 build 5046
Test: Eventing volume [https://docs.google.com/document/d/1dJ6VhHtLaRLTPVKQm0EomakzUNZDz2x7xJv3JqZVuqw/edit?usp=sharing] * Create 9 node cluster ( Eventing:2 , Kv:5,index:1,query:1) * Create 15 handlers (3 of bucket op, timer,n1ql, SBM, curl) * deploy bucket op, timers and N1ql * Rebalance in 1 eventing node * Start CRUD on bucket_op where no handler are deployed * Verify handlers {noformat} Source Bucket(n1ql_op.scope_0.coll0) : 6226696, Destination Bucket(['n1ql_op.scope_1.coll0']) : 6226691 {noformat} {noformat} Source Bucket(n1ql_op.scope_0.coll1) : 6226416, Destination Bucket(['n1ql_op.scope_1.coll1']) : 6226410 {noformat} |
Build: 7.0.0 build 5046
Test: Eventing volume [https://docs.google.com/document/d/1dJ6VhHtLaRLTPVKQm0EomakzUNZDz2x7xJv3JqZVuqw/edit?usp=sharing] * Create 9 node cluster ( Eventing:2 , Kv:5,index:1,query:1) * Create 15 handlers (3 of bucket op, timer,n1ql, SBM, curl) * deploy bucket op, timers and N1ql * Rebalance in 1 eventing node * Start CRUD on bucket_op where no handler are deployed * Verify handlers {noformat}Source Bucket(n1ql_op.scope_0.coll0) : 6226696, Destination Bucket(['n1ql_op.scope_1.coll0']) : 6226691 {noformat} {noformat}Source Bucket(n1ql_op.scope_0.coll1) : 6226416, Destination Bucket(['n1ql_op.scope_1.coll1']) : 6226410 {noformat} {noformat} function OnUpdate(doc, meta) { try{ var query = UPSERT INTO n1ql_op.scope_1.`coll0` ( KEY, VALUE ) VALUES ( $meta.id ,"n1ql insert"); } catch(e){ log("Query failed: ",e) } }function OnDelete(meta, options) { try{ var query = DELETE from n1ql_op.scope_1.`coll0` USE KEYS $meta.id ; } catch(e){ log("Query failed: ",e) } } {noformat} {noformat} function OnUpdate(doc, meta) { try{ var query = UPSERT INTO n1ql_op.scope_1.`coll1` ( KEY, VALUE ) VALUES ( $meta.id ,"n1ql insert"); } catch(e){ log("Query failed: ",e) } }function OnDelete(meta, options) { try{ var query = DELETE from n1ql_op.scope_1.`coll1` USE KEYS $meta.id ; } catch(e){ log("Query failed: ",e) } } {noformat} |
Assignee | Jeelan Poola [ jeelan.poola ] | Abhishek Jindal [ abhishek.jindal ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Vikas Chaudhary [ vikas.chaudhary ] |
Assignee | Vikas Chaudhary [ vikas.chaudhary ] | Abhishek Jindal [ abhishek.jindal ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Marco Greco [ marco.greco ] |
Component/s | query [ 10718 ] |
Assignee | Marco Greco [ marco.greco ] | Abhishek Jindal [ abhishek.jindal ] |
Component/s | query [ 10718 ] |
Due Date | 05/May/21 |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Vikas Chaudhary [ vikas.chaudhary ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Assignee | Vikas Chaudhary [ vikas.chaudhary ] | Sujay Gad [ JIRAUSER25279 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Assignee | Sujay Gad [ JIRAUSER25279 ] | Abhishek Jindal [ abhishek.jindal ] |
Attachment | n1ql_op_scope1_docs_difference.png [ 138699 ] |
Attachment | invalid_requests (1).png [ 138707 ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Sujay Gad [ JIRAUSER25279 ] |
Assignee | Sujay Gad [ JIRAUSER25279 ] | Abhishek Jindal [ abhishek.jindal ] |
Labels | volume-test | affects-cc-testing volume-test |
Due Date | 05/May/21 | 07/May/21 |
Attachment | queries_prior_to_deployment.png [ 139237 ] |
Attachment | n1ql_dmls.png [ 139238 ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Sujay Gad [ JIRAUSER25279 ] |
Attachment | n1ql_test0.log [ 139612 ] | |
Attachment | n1ql0.log [ 139613 ] |
Assignee | Sujay Gad [ JIRAUSER25279 ] | Abhishek Jindal [ abhishek.jindal ] |
Attachment | n1ql_test01.log [ 139616 ] | |
Attachment | n1ql01.log [ 139617 ] |
Attachment | n1ql_test02.log [ 139618 ] | |
Attachment | n1ql02.log [ 139619 ] |
Attachment | n1ql_test02.log [ 139618 ] |
Attachment | n1ql_test02.log [ 139620 ] |
Due Date | 07/May/21 | 14/May/21 |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Sujay Gad [ JIRAUSER25279 ] |
Due Date | 14/May/21 | 17/May/21 |
Assignee | Sujay Gad [ JIRAUSER25279 ] | Abhishek Jindal [ abhishek.jindal ] |
Due Date | 17/May/21 | 18/May/21 |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Ritam Sharma [ ritam.sharma ] |
Assignee | Ritam Sharma [ ritam.sharma ] | Sujay Gad [ JIRAUSER25279 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Assignee | Sujay Gad [ JIRAUSER25279 ] | Abhishek Jindal [ abhishek.jindal ] |
Due Date | 18/May/21 | 21/May/21 |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Sujay Gad [ JIRAUSER25279 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Sujay Gad [ JIRAUSER25279 ] | Abhishek Jindal [ abhishek.jindal ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Marco Greco [ marco.greco ] |
Assignee | Marco Greco [ marco.greco ] | Abhishek Jindal [ abhishek.jindal ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Marco Greco [ marco.greco ] |
Assignee | Marco Greco [ marco.greco ] | Abhishek Jindal [ abhishek.jindal ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Marco Greco [ marco.greco ] |
Assignee | Marco Greco [ marco.greco ] | Abhishek Jindal [ abhishek.jindal ] |
Assignee | Abhishek Jindal [ abhishek.jindal ] | Michael Nitschinger [ daschl ] |
Assignee | Michael Nitschinger [ daschl ] | Jeelan Poola [ jeelan.poola ] |
Due Date | 21/May/21 | 28/May/21 |
Link | This issue blocks MB-44894 [ MB-44894 ] |
Labels | affects-cc-testing volume-test | affects-cc-testing approved-for-7.0.0 volume-test |
Assignee | Jeelan Poola [ jeelan.poola ] | Marco Greco [ marco.greco ] |
Assignee | Marco Greco [ marco.greco ] | Abhishek Jindal [ abhishek.jindal ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Fix Version/s | 7.0.0 [ 17233 ] |
Fix Version/s | Cheshire-Cat [ 15915 ] |
Link | This issue relates to CBD-4565 [ CBD-4565 ] |
Vikas Chaudhary Looks like this is a dupe of recently raised
MB-45713. NMVB errors reported by query after 12 retries:_time=2021-04-27T13:42:44.085-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>CD075150-122_89131</ud> for Keyspace default:n1ql_op.scope_1.coll1. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
_time=2021-04-27T13:42:44.646-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>E7888C92-92_89275</ud> for Keyspace default:n1ql_op.scope_1.coll0. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
_time=2021-04-27T13:42:46.718-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>4F7D8E46-93_89392</ud> for Keyspace default:n1ql_op.scope_1.coll0. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
_time=2021-04-27T13:42:46.982-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>F11A45C5-101_89245</ud> for Keyspace default:n1ql_op.scope_1.coll1. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
_time=2021-04-27T13:43:27.081-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>47E3F194-103_93074</ud> for Keyspace default:n1ql_op.scope_1.coll0. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
_time=2021-04-27T13:43:36.093-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>47E3F194-103_94083</ud> for Keyspace default:n1ql_op.scope_1.coll0. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
_time=2021-04-27T13:43:49.055-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>CD075150-122_95553</ud> for Keyspace default:n1ql_op.scope_1.coll0. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
_time=2021-04-27T13:43:49.877-07:00 _level=ERROR _msg=Failed to perform UPSERT on key <ud>9F647ACB-100_95709</ud> for Keyspace default:n1ql_op.scope_1.coll1. Error - <ud>unable to complete action after 12 attemps: NOT_MY_VBUCKET</ud>
At this point in time, node .186 was being rebalanced in while the 2 KV nodes - .185 and .242 were being rebalanced out. Hence, it might be expected for upserts for a few documents to fail even after 12 retries:
021-04-27T13:29:46.878-07:00, ns_orchestrator:0:info:message(ns_1@172.23.106.253) - Starting rebalance, KeepNodes = ['ns_1@172.23.105.186','ns_1@172.23.105.190',
'ns_1@172.23.106.154','ns_1@172.23.106.182',
'ns_1@172.23.106.243','ns_1@172.23.106.253',
'ns_1@172.23.106.255','ns_1@172.23.107.89',
'ns_1@172.23.97.213','ns_1@172.23.97.214'], EjectNodes = ['ns_1@172.23.105.185',
'ns_1@172.23.106.242'], Failed over and being ejected nodes = []; no delta recovery nodes; Operation Id = 986cf2c9e706df09fbae66d4c
65c6acb