not sure it is a bug or our db has some issues.
We can run other cortex features pretty quickly (such as survey, surveyScore) but for some features such as Screen_Active it take forever and stucked into getting raw data step.
[INFO:feature_types:_wrapper2] Processing raw feature "lamp.screen_state"...
[INFO:feature_types:_wrapper2] No saved raw data found, getting new...
I looked into the couchDB and it return the error below:
[error] 2022-02-17T03:01:09.030902Z nonode@nohost <0.13411.7> -------- Invalid Index Def [{<<"map">>,{[{<<"fields">>,{[{<<"#parent">>,<<"desc">>},{<<"sensor">>,<<"desc">>},{<<"timestamp">>,<<"desc">>}]}},{<<"partial_filter_selector">>,{[]}}]}},{<<"reduce">>,<<"_count">>}]. Error: error, Reason: {badmatch,undefined}
[error] 2022-02-17T03:01:09.031004Z nonode@nohost <0.13411.7> -------- Invalid Index Def [{<<"map">>,{[{<<"fields">>,{[{<<"#parent">>,<<"desc">>},{<<"timestamp">>,<<"desc">>}]}},{<<"partial_filter_selector">>,{[]}}]}},{<<"reduce">>,<<"_count">>}]. Error: error, Reason: {badmatch,undefined}
[error] 2022-02-17T03:01:09.031114Z nonode@nohost <0.13411.7> -------- Invalid Index Def [{<<"map">>,{[{<<"fileds">>,{[]}}]}},{<<"reduce">>,<<"_count">>}]. Error: error, Reason: {badmatch,undefined}
Does anyone know how to fix this issue?
Thanks,
Chunlei