You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/12/13 02:34:21 UTC

[GitHub] [incubator-iotdb] jt2594838 opened a new pull request #650: [IOTDB-361]Refactor session management

jt2594838 opened a new pull request #650: [IOTDB-361]Refactor session management
URL: https://github.com/apache/incubator-iotdb/pull/650
 
 
   1. Remove uses of ThreadLocals in TSServiceImpl
   2. TS_SessionHandles are replaced with sessionIds
   3. TSOperationHandles are replaced with queryIds
   
   To remove the constraint of serving each client with a separate thread, ThreadLocals in TSServiceImpl are removed. Instead, each session (connection) will be given a sessionId as the unique identifier. In every request that needs authentication, the sessionId must be passed along with to indicate who the client is.
   
   This also fundamentally supports query management in the distributed version.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services