Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1774

[MTDCS]use hashCode() instead of random to make the stmtHandle is unique

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3-incubating
    • None
    • connectivity-dcs
    • None

    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.

      Attachments

        Activity

          People

            weiqxu Weiqing Xu
            weiqxu Weiqing Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: