当并发创建会话时,EngineRef判断当前引擎数量为空时,会不会导致并发创建引擎? #1952
Answered
by
zhouyifan279
shenbinglife
asked this question in
Q&A
-
Code of Conduct
Search before asking
Describe the bug当并发创建会话时,EngineRef判断当前引擎数量为空时,会不会导致并发创建引擎? getServerHost(zkClient, engineSpace).getOrElse { 这段代码在并发上是不是有问题? Affects Version(s)1.5.0 Kyuubi Server Log OutputNo response Kyuubi Engine Log OutputNo response Kyuubi Server ConfigurationsNo response Kyuubi Engine ConfigurationsNo response Additional contextNo response Are you willing to submit PR?
|
Beta Was this translation helpful? Give feedback.
Answered by
zhouyifan279
Feb 21, 2022
Replies: 1 comment 5 replies
-
不会。 PS:不确定的问题可以先在Disscutions中创建问题。Issue中不适合做FAQ。 |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
yaooqinn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不会。
org.apache.kyuubi.engine.EngineRef#create
中会获取分布式锁。PS:不确定的问题可以先在Disscutions中创建问题。Issue中不适合做FAQ。