Skip to content

[Bug] [Zeta ] Repeatedly releasing #7210

@jackyyyyyssss

Description

@jackyyyyyssss

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Repeatedly releasing solt Zeta will call releaseTaskGroupResource after the normal task is completed
Release PipeResource This will result in duplicate release of solt
image

releaseTaskGroupResource Should it be for optimizing the release of resources during idle tasks in CDC, and should it only be used for CDC tasks
#6526

SeaTunnel Version

dev

SeaTunnel Config

no

Running Command

no

Error Exception

2024-07-16 10:43:20,411 WARN  org.apache.seatunnel.engine.server.resourcemanager.opeartion.ReleaseSlotOperation - wrong target release operation with job 865423301965512705 and slot profile SlotProfile{worker=[localhost]:5801, slotID=2, ownerJobID=865423301965512705, assigned=true, resourceProfile=ResourceProfile{cpu=CPU{core=0}, heapMemory=Memory{bytes=0}}, sequence='45b4e9f2-bbe0-4776-8f72-ea4ded8cf9a1'}, exception: org.apache.seatunnel.engine.server.service.slot.WrongTargetSlotException: Not exist this slot in slot service, slot profile: SlotProfile{worker=[localhost]:5801, slotID=2, ownerJobID=865423301965512705, assigned=true, resourceProfile=ResourceProfile{cpu=CPU{core=0}, heapMemory=Memory{bytes=0}}, sequence='45b4e9f2-bbe0-4776-8f72-ea4ded8cf9a1'}
	at org.apache.seatunnel.engine.server.service.slot.DefaultSlotService.releaseSlot(DefaultSlotService.java:166)
	at org.apache.seatunnel.engine.server.resourcemanager.opeartion.ReleaseSlotOperation.run(ReleaseSlotOperation.java:53)
	at com.hazelcast.spi.impl.operationservice.Operation.call(Operation.java:189)
	at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.call(OperationRunnerImpl.java:273)
	at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:248)
	at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:213)
	at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:175)
	at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:139)
	at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.executeRun(OperationThread.java:123)
	at com.hazelcast.internal.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:102)

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions