Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

[TRAFODION-2821] Trafodion core code base needs to be thread safe #1493

Merged
merged 2 commits into from Mar 23, 2018

Commits on Mar 22, 2018

  1. [TRAFODION-2821] Trafodion core code base needs to be thread safe

    Java exceptions thrown while calling the java methods from JNI in
    Trafodion are stored in the current context. However in a multi-threaded
    ESP environment, these exceptions should be stored in thread specific
    variable to enable error handling to be thread safe. Otherwise, the JNI
    errors could be overwritten by the JNI errors from another thread.
    
    Also streamlined JNI error handling by extending the getExceptionDetails()
    methods to log the errors also.
    
    Incorporated error handling in SequenceFileReader JNI methods.
    selvaganesang committed Mar 22, 2018
    Copy the full SHA
    073cf68 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. [TRAFODION-2821] Trafodion core code base needs to be thread safe

    Fixes as per review comments and missed out changes in the commit 073cf68
    selvaganesang committed Mar 23, 2018
    Copy the full SHA
    cc97254 View commit details
    Browse the repository at this point in the history