Details
-
Bug
-
Resolution: Fixed
-
Test Blocker
-
5.5.0
-
Local burito cluster
172.16.12.67 -> eventing
172.16.12.68 -> data
Description
Steps :
- Create 2 node cluster with one eventing and one KV
- Create 6 buckets for source and destination buckets , 1 Meta data
- Deploy 3 functions bucket op, cron timer, doc timer
- Start populating data in source buckets , wait till all the buckets have around 50K documents
- Deploy all three handler codes
- Wait till bucket has around 600k documents
- Undeploy all the methods in the following order bucket op, cron timers, doc timers
Note:- Mutations are always running
Observations:
- All 3 methods got undeployed from UI but http://172.16.12.67:8091/_p/event/getDeployedApps api has doc time {"doc_timer_op":""}. It never get undeployed.
- Also see lot of cron timer in the metadata bucket.
Stats after undeploying all the handlers
[
|
{
|
"event_processing_stats": { |
"CRON_TIMER_EVENTS": 1350853, |
"DCP_DELETION": 1350853, |
"DCP_MUTATION": 2159606, |
"DCP_SNAPSHOT": 1578578, |
"DCP_STREAMREQ": 1024, |
"DOC_TIMER_EVENTS": 958403, |
"TIMERS_IN_PAST": 178266 |
},
|
"events_remaining": { |
"dcp_backlog": 0 |
},
|
"execution_stats": { |
"agg_queue_size": 0, |
"doc_timer_create_failure": 64534, |
"on_delete_failure": 0, |
"on_delete_success": 1220542, |
"on_update_failure": 0, |
"on_update_success": 954028 |
},
|
"failure_stats": { |
"bucket_op_exception_count": 342207, |
"checkpoint_failure_count": 0, |
"n1ql_op_exception_count": 0, |
"timeout_count": 0 |
},
|
"function_name": "doc_timer_op", |
"lcb_exception_stats": { |
"13": 342207 |
},
|
"planner_stats": [ |
{
|
"host_name": "172.16.12.67:8096", |
"start_vb": 0, |
"vb_count": 1024 |
}
|
],
|
"vb_distribution_stats": { |
"172.16.12.67:8096": { |
"worker_doc_timer_op_0": "[0-170]", |
"worker_doc_timer_op_1": "[171-341]", |
"worker_doc_timer_op_2": "[342-512]", |
"worker_doc_timer_op_3": "[513-683]", |
"worker_doc_timer_op_4": "[684-853]", |
"worker_doc_timer_op_5": "[854-1023]" |
}
|
},
|
"worker_pids": { |
"worker_doc_timer_op_0": 18837, |
"worker_doc_timer_op_1": 18838, |
"worker_doc_timer_op_2": 18839, |
"worker_doc_timer_op_3": 18840, |
"worker_doc_timer_op_4": 18841, |
"worker_doc_timer_op_5": 18842 |
}
|
}
|
]
|