-
Notifications
You must be signed in to change notification settings - Fork 25
fix: handle case where Future.cause() is null in FutureGroup #52
fix: handle case where Future.cause() is null in FutureGroup #52
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是彻底修复上次那个hang住的问题了吗?
@@ -72,7 +72,7 @@ function java_client_get_next_version() | |||
esac | |||
|
|||
if [ ${versions[2]} == "SNAPSHOT" ]; then | |||
echo ${versions[0]}.${versions[1]}.SNAPSHOT-$staging_branch | |||
echo ${versions[0]}.${versions[1]}-$staging_branch-SNAPSHOT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里SNAPSHOT为什么要放在后面?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nexus 只把末尾是 snapshot 的当做 snapshot 包。
1.12.SNAPSHOT 是 snapshot,但是 1.12.SNAPSHOT-thrift-0.11.0-inlined 会被认作是 release。1.12-thrift-0.11.0-inlined-SNAPSHOT 就是正确的 snapshot。亲测。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那么pom.xml里面现在也要改为 1.12-thrift-0.11.0-inlined-SNAPSHOT 吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已改
waitAllCompleteOrOneFail
will throwNullPointException
when timeout expired in current implementation. BecauseFuture.cause()
could be null when the result is not available in time.This SNAPSHOT version was deployed on one of our users' environment (c3srv-xiaoai/ai_profile_data).