apache / apache/linkis

[bug][CGS][entrance] parallelgroup cache not updated when entrance instance goes offline

Open
#5,407 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.4k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/linkis/issues) and found no similar issues.

### Linkis Component

- [ ] linkis-commons
- [x] linkis-computation-governance
- [ ] linkis-dist
- [ ] linkis-engineconn-plugin
- [ ] linkis-extensions
- [ ] linkis-orchestrator
- [ ] linkis-public-enhancements
- [ ] linkis-spring-cloud-services
- [ ] linkis-web

### Description

When an Entrance instance goes offline, the ParallelGroup cache is not updated, causing incorrect calculation of user task concurrency. This affects task scheduling and resource management.

### Steps to reproduce

1. Start multiple Entrance instances
2. Trigger tasks to build ParallelGroup cache
3. Stop one Entrance instance
4. Check task concurrency calculation

### Expected behavior

The ParallelGroup cache should be updated when Entrance instances go online/offline, ensuring correct concurrency calculation.

### Your environment

- Linkis version used: 1.19.0
- Environment name and version:
- hadoop-3.3.4
- hive-2.3.3
- spark-2.4.3/3.3.0
- scala-2.11.12
- jdk 1.8.0_xxx

### Anything else

This PR includes additional enhancements and bug fixes from the 1.18.0 and 1.19.0 releases.

### Are you willing to submit a PR?

- [x] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.