Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.5.0
-
Toy build provided by gautham
-
Untriaged
-
Centos 64-bit
-
Checked with @abhishek, there are no relevant logs that could be used to debug this.
-
No
Description
Steps to Repro:
1) Created 3 function :- bucket op, cron timer and doc timer
2) Cron timer handler code.
function OnUpdate(doc, meta) {
|
//log('creating document on dst : ', meta.id); |
var expiry = Math.round((new Date()).getTime() / 1000) + 5; |
cronTimer(NDtimerCallbackCreate, meta.id, expiry);
|
}
|
function OnDelete(meta) {
|
//log('deleting document: ', meta.id); |
var expiry = Math.round((new Date()).getTime() / 1000) + 180; |
cronTimer(NDtimerCallbackN1QL, meta.id, expiry);
|
}
|
function NDtimerCallbackCreate(docid, expiry) {
|
dst_bucket3[docid] = 'from NDtimerCallbackCreate'; |
}
|
function NDtimerCallbackN1QL(docid, expiry) {
|
delete dst_bucket3[docid];
|
}
|
3) Created 3 million docs on all the source buckets.
4) All the docs got created on bucket op and doc timer destination buckets.
5) 2 docs were missing on dst bucket of cron timer.
Abhishek Singh did a initial triage. It was seen 2 of docs created on metadata bucket for those mutations had null value.
{
|
"id": "cron_timer_op::2017-12-14T15:05:05Z",
|
"key": [
|
null,
|
null,
|
null
|
],
|
"value": null
|
},
|
{
|
"id": "cron_timer_op::2017-12-14T15:07:11Z",
|
"key": [
|
null,
|
null,
|
null
|
],
|
"value": null
|
},
|
Attachments
Issue Links
- relates to
-
MB-27375 Eventing: Observed many cron_timer_create_failures
- Closed