Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
7.1.0
-
Enterprise Edition 7.1.0 build 1773
-
Untriaged
-
Centos 64-bit
-
1
-
No
Description
STEPS
Cluster consists of 1 kv and eventing node each.
Version - 7.0.2 - 6703
Create and deploy multiple eventing handlers.
Load docs into source bucket and verify mutations are processed or not.
Disable auto-failover, enable n2n encryption and enforce tls.
Pause and resume handlers to align with the encryption level.
Perform offline upgrade of the cluster to 7.1.0 - 1773.
OBSERVATION
Function scope is empty for upgraded handler.
curl -XGET -k https://Administrator:password@10.112.190.102:18096/api/v1/functions/f1 |
{
|
"appcode": "function OnUpdate(doc, meta) {\n log(\"Doc created/updated\", meta.id);\n}\n\nfunction OnDelete(meta, options) {\n log(\"Doc deleted/expired\", meta.id);\n}", |
"depcfg": { |
"source_bucket": "src_bucket", |
"source_scope": "_default", |
"source_collection": "_default", |
"metadata_bucket": "metadata", |
"metadata_scope": "_default", |
"metadata_collection": "_default" |
},
|
"version": "evt-7.0.2-6703-ee", |
"enforce_schema": false, |
"handleruuid": 2278728796, |
"function_instance_id": "1MpHT2", |
"appname": "f1", |
"settings": { |
"dcp_stream_boundary": "everything", |
"deployment_status": true, |
"description": "", |
"execution_timeout": 60, |
"language_compatibility": "6.6.2", |
"log_level": "INFO", |
"n1ql_consistency": "none", |
"num_timer_partitions": 128, |
"processing_status": true, |
"timer_context_size": 1024, |
"user_prefix": "eventing", |
"worker_count": 1 |
},
|
"function_scope": {} |