Re: [PR] [INLONG-11002][SDK] Transform SQL support Fibonacci function [inlong]

2024-11-04 Thread via GitHub


github-actions[bot] commented on PR #11003:
URL: https://github.com/apache/inlong/pull/11003#issuecomment-2456067374

   This PR is stale because it has been open for 60 days with no activity.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]数据同步时jobmanager报错 [inlong]

2024-11-04 Thread via GitHub


github-actions[bot] commented on issue #11456:
URL: https://github.com/apache/inlong/issues/11456#issuecomment-2456144251

   Hello @qwe123520, thank you for opening your first issue in InLong 🧡 We will 
respond as soon as possible ⏳
   If this is a bug report, please provide screenshots or error logs for us to 
reproduce your issue, so we can do our best to fix it.
   If you have any questions in the meantime, you can also ask us on the 
[InLong Discussions](https://github.com/apache/inlong/discussions) 🔍


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [INLONG-11453][SDK] notifyHBControl function array out of bounds [inlong]

2024-11-04 Thread via GitHub


gosonzhang merged PR #11454:
URL: https://github.com/apache/inlong/pull/11454


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



(inlong) branch master updated: [INLONG-11453][SDK] notifyHBControl function array out of bounds (#11454)

2024-11-04 Thread gosonzhang
This is an automated email from the ASF dual-hosted git repository.

gosonzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
 new d9fd8bf820 [INLONG-11453][SDK] notifyHBControl function array out of 
bounds (#11454)
d9fd8bf820 is described below

commit d9fd8bf820a277903d22fad163801b1678373c88
Author: Goson Zhang <4675...@qq.com>
AuthorDate: Tue Nov 5 11:32:27 2024 +0800

[INLONG-11453][SDK] notifyHBControl function array out of bounds (#11454)



Co-authored-by: gosonzhang 
---
 .../main/java/org/apache/inlong/sdk/dataproxy/network/ClientMgr.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/network/ClientMgr.java
 
b/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/network/ClientMgr.java
index abb204517b..c891788465 100644
--- 
a/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/network/ClientMgr.java
+++ 
b/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/network/ClientMgr.java
@@ -770,9 +770,7 @@ public class ClientMgr {
 logger.info("HBClient:" + item.getKey() + ";" + 
item.getValue());
 }
 boolean isLoadSwitch = false;
-
-// int smallSize = listData.size() < listHB.size() ? 
listData.size() : listHB.size();
-int smallSize = 1;
+int smallSize = Math.min(Math.min(listData.size(), listHB.size()), 
1);
 for (int i = 0; i < smallSize; i++) {
 if ((listData.get(i).getValue() - listHB.get(i).getValue()) >= 
this.loadThreshold) {
 isLoadSwitch = true;



Re: [PR] [INLONG-11457][SDK] Optimize SequentialID class implementation [inlong]

2024-11-04 Thread via GitHub


gosonzhang merged PR #11458:
URL: https://github.com/apache/inlong/pull/11458


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org