'Is there a concurrency problem with the session API in the Apache IoTDB?

I execute multiple requests concurrently. Each request uses the following code:

session.open 
... 
session.close() 

I'm not sure whether it will cause concurrency problems. Apache IoTDB version: 0.13 If someone knows it, please let me know.



Solution 1:[1]

You can bind each request to a Session or use SessionPool. There should be no concurrency problem.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Wade Pena