[
https://issues.apache.org/jira/browse/SCB-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang updated SCB-1495:
------------------------------
Description:
Current DB only supports instance id less then 35, we should add a check in the
Omega side to throw a message once the instance id longger then 35.
Here is the setting of the serviceid in the [ServiceConfig
|https://github.com/apache/servicecomb-pack/blob/master/omega/omega-context/src/main/java/org/apache/servicecomb/pack/omega/context/ServiceConfig.java],
we just need check the length and through IllegalArgument Exception here.
was:Current DB only supports instance id less then 35, we should add a check
in the Omega side to throw a message once the instance id longger then 35.
> Verify the instanceId size
> ---------------------------
>
> Key: SCB-1495
> URL: https://issues.apache.org/jira/browse/SCB-1495
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Saga
> Affects Versions: pack-0.5.0
> Reporter: Willem Jiang
> Priority: Major
> Labels: newbie
>
> Current DB only supports instance id less then 35, we should add a check in
> the Omega side to throw a message once the instance id longger then 35.
> Here is the setting of the serviceid in the [ServiceConfig
> |https://github.com/apache/servicecomb-pack/blob/master/omega/omega-context/src/main/java/org/apache/servicecomb/pack/omega/context/ServiceConfig.java],
> we just need check the length and through IllegalArgument Exception here.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)