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 2022/10/08 11:34:08 UTC

[GitHub] [iotdb] THUMarkLau commented on pull request #7300: fix issue 5884

THUMarkLau commented on PR #7300:
URL: https://github.com/apache/iotdb/pull/7300#issuecomment-1272298469

   For `CrossSpaceCompactionWriter`, multiple threads may write to multiple different `TsFileIOWriter`, if we synchronized them with a single object, it may lead to performance decrease. It's better to maintain a global array, which map sub-task-id to the writer they are using. When thread writes data, it only needs to synchronized the writer it is using.


-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org