Derby
  1. Derby
  2. DERBY-2017

Client driver can insert and commit partial data when a LOB stream throws IOException or does not match the specified length

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.6.1.0
    • Component/s: JDBC, Network Client
    • Labels:
      None
    • Urgency:
      Normal
    • Issue & fix info:
      High Value Fix, Repro attached
    • Bug behavior facts:
      Data corruption, Wrong query result

      Description

      When a LOB stream throws an exception or does not match the specified length, the client driver does not raise an exception until it has finished executing the statement. Therefore, the statement will be executed (and possibly committed) on the server even though the client reports that the statement failed.

      1. derby-2017-5a-binary_tests.diff
        22 kB
        Kristian Waagan
      2. derby-2017-4a-remove_test_workaround.diff
        1 kB
        Kristian Waagan
      3. derby-2017-3c-fix.diff
        57 kB
        Kristian Waagan
      4. derby-2017-3b-fix.diff
        56 kB
        Kristian Waagan
      5. derby-2017-3a-fix.stat
        0.9 kB
        Kristian Waagan
      6. derby-2017-3a-fix.diff
        41 kB
        Kristian Waagan
      7. derby-2017-2b-regression-test.diff
        36 kB
        Kristian Waagan
      8. derby-2017-stream_status_preview.diff
        45 kB
        Kristian Waagan
      9. derby-2017-2a-regression_test.diff
        9 kB
        Kristian Waagan
      10. derby2017_try1.diff
        3 kB
        Mayuresh Nirhali
      11. Derby_2017_v1.diff
        2 kB
        Saurabh Vyas
      12. Derby_2017_v1.stat
        0.2 kB
        Saurabh Vyas
      13. StreamErrRepro.java
        2 kB
        Knut Anders Hatlen

        Issue Links

          Activity

            People

            • Assignee:
              Kristian Waagan
              Reporter:
              Knut Anders Hatlen
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development