Skip to content

[Bug] 当并发创建会话时,EngineRef判断当前引擎数量为空时,会不会导致并发创建引擎? #1951

@shenbinglife

Description

@shenbinglife

Code of Conduct

Search before asking

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

Describe the bug

当并发创建会话时,EngineRef判断当前引擎数量为空时,会不会导致并发创建引擎?

getServerHost(zkClient, engineSpace).getOrElse {
create(zkClient, extraEngineLog)
}

这段代码在并发上是不是有问题?

Affects Version(s)

1.5.0

Kyuubi Server Log Output

No response

Kyuubi Engine Log Output

No response

Kyuubi Server Configurations

No response

Kyuubi Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions