[GitHub] [carbondata] shivamasn commented on a change in pull request #3140: [CARBONDATA-3307] Fix Performance Issue in No Sort

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] shivamasn commented on a change in pull request #3140: [CARBONDATA-3307] Fix Performance Issue in No Sort

GitBox
shivamasn commented on a change in pull request #3140: [CARBONDATA-3307] Fix Performance Issue in No Sort
URL: https://github.com/apache/carbondata/pull/3140#discussion_r263326140
 
 

 ##########
 File path: processing/src/main/java/org/apache/carbondata/processing/store/CarbonFactDataHandlerColumnar.java
 ##########
 @@ -195,7 +195,7 @@ public void initialise() throws CarbonDataWriterException {
    * @param row
    * @throws CarbonDataWriterException
    */
-  public void addDataToStore(CarbonRow row) throws CarbonDataWriterException {
+  public synchronized void addDataToStore(CarbonRow row) throws CarbonDataWriterException {
 
 Review comment:
   @qiuchenjian yes...we are synchronizing only in case of no sort.

----------------------------------------------------------------
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:
[hidden email]


With regards,
Apache Git Services