You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Weiqing Xu (JIRA)" <ji...@apache.org> on 2016/01/22 07:32:39 UTC
[jira] [Updated] (TRAFODION-1774) [MT-DCS]use hashCode() instead of
random to make the stmtHandle is unique
[ https://issues.apache.org/jira/browse/TRAFODION-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weiqing Xu updated TRAFODION-1774:
----------------------------------
Description: Now, MT-DCS use random.nextInt(1000) to generator a number for statement which used as stmtHandle. However it can't make sure the value it unique for echo statement. hashCode() could be used instead of random. (was: Now, MT-DCS use random.nextInt(1000) to generator a number for statement which used as stmtHandle. However it can't make sure the value it unique for echo statement. )
> [MT-DCS]use hashCode() instead of random to make the stmtHandle is unique
> -------------------------------------------------------------------------
>
> Key: TRAFODION-1774
> URL: https://issues.apache.org/jira/browse/TRAFODION-1774
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: connectivity-dcs
> Affects Versions: 1.3-incubating
> Reporter: Weiqing Xu
>
> Now, MT-DCS use random.nextInt(1000) to generator a number for statement which used as stmtHandle. However it can't make sure the value it unique for echo statement. hashCode() could be used instead of random.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)