Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.0.0
-
6.0.0-1643
-
Untriaged
-
Centos 64-bit
-
Yes
Description
Scripts to Repro
./testrunner -i /tmp/testexec.32170.ini -p get-cbcollect-info=True -t eventing.eventing_sanity.EventingSanity.test_doc_timer_events_from_handler_code_with_n1ql,nodes_init=4,services_init=kv-eventing-eventing:index-eventing:n1ql,dataset=default,groups=simple,reset_services=True,skip_cleanup=True,vbuckets=135
|
./testrunner -i /tmp/testexec.32170.ini -p get-cbcollect-info=True -t eventing.eventing_sanity.EventingSanity.test_cron_timer_events_from_handler_code_with_n1ql,nodes_init=4,services_init=kv-eventing-eventing:index-eventing:n1ql,dataset=default,groups=simple,reset_services=True,skip_cleanup=True,vbuckets=535
|
Log : http://qa.sc.couchbase.com/job/test_suite_executor/92127/consoleText
I retried the test on local cluster and left the cluster for 2 hours , the destination bucket ran into hard out of memory error.
I have marked this bug critical even though n1ql is beta and non default vbucket is not suggested for customers. Feel free to reduce the priority if its related to those.
Logs attached.
Handler Code
function OnUpdate(doc,meta) {
|
var expiry = new Date();
|
expiry.setSeconds(expiry.getSeconds() + 5);
|
var context = {docID : meta.id, random_text : "e6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh07Aumoe6cZZGHuh07Aumoe6cZZGHuh07Aumoe6"};
|
createTimer(timerCallback, expiry, meta.id, context);
|
}
|
function timerCallback(context) {
|
var query = INSERT INTO dst_bucket ( KEY, VALUE ) VALUES ( UUID() ,'timerCallback');
|
// query.execQuery();
|
}
|