taosdata / taosdata/TDengine

TDEngine 3.3.4.8: Problem running UDFs

Open
#29,706 10 comments 1 reaction 2 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

Bug Description
We're experiencing a problem when running UDFs in our TDEngine instance, version 3.3.4.8. The problem is as follows.
When trying to run an UDF, we getting the error in the image.

Image

I've checked the logs from the /var/logs/udfdlog.0:

2/07 14:36:46.555687 01165474 C UDF setup request. seq num: 9, udf name: fibonacci
02/07 14:36:46.555713 01165474 C UDF udfd expired, check for new version. existing udf fibonacci udf version 0, udf created time 0
02/07 14:36:46.555996 00000137 C UDF ERROR udfd rpc error. code: Sync leader is unreachable
02/07 14:36:46.556013 01165474 C UDF ERROR can not retrieve udf from mnode. udf name fibonacci

The mnodes are ok:

Image

The querying functionalities are working as expected.

Image

The only problem we're experiencing is the one with the UDFs.

I've deleted the UDF and created again, nothing worked.

To Reproduce
Not very easy to reproduce.

Expected Behavior
UDF properly working.
Image

Environment (please complete the following information):

  • TD 3.3.4.8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.