Timebase-client library error when executing "OVER TIME" #255
-
Hi @alex-karpovich , NOTE: All the below queries work fine in the Timebase shell. Issue occurs only when executing using the code with timebase-client library. We are using timebase-client 6.1.17 version which is the latest version available in maven. Also we are using version 6.1.19 for Timebase server.
The market_volume stream data is as below:
As seen in above data, the last record in the market_volume stream for symbol EURUSD is for venue EBS
below is the code snippet used for executing the query
On executing the above query even after reaching the last record, the timebase cursor stays open. And it gives back the first record again and goes into the loop. We are not getting any response here and the thread keeps running. On debugging further I can see that even after reaching the last record the "while(cursor.next())" is not returning END_OF_STREAM. Inside
NOTE: The query works fine with other venues in where clause like below:
It also works fine when we remove the "where clause" for "venue" like below (which is our default query which gets executed).
Issue occurs only when adding where clause with the last record as value. In our case "venue=EBS" Can you please look into this issue, as its resulting into lot of open cursors in timebase. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Greetings, @ShivaniSK I will push fix soon. |
Beta Was this translation helpful? Give feedback.
Greetings, @ShivaniSK
Please use https://github.com/finos/TimeBase-CE/releases/tag/6.1.20