[GitHub] [carbondata] NamanRastogi opened a new pull request #3266: [WIP] Concurrent Datamap Creation is not synced across different sessions

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

[GitHub] [carbondata] NamanRastogi opened a new pull request #3266: [WIP] Concurrent Datamap Creation is not synced across different sessions

GitBox
NamanRastogi opened a new pull request #3266: [WIP] Concurrent Datamap Creation is not synced across different sessions
URL: https://github.com/apache/carbondata/pull/3266
 
 
   **Problem**: Create (preaggregate) datamap from two or more concurrent sessions. One session successfully creates the datamap and other fails on the create table command (create table command being called from `DataMapProvider.initMeta` from `CarbonCreateDataMapCommand.processMetadata`)
   
   **Solution**: Update the last modified time of `SCHEMAS_MODIFIED_TIME_FILE` after the datamap creation is finished.
   
    - [x] Any interfaces changed?  ->  No
    - [x] Any backward compatibility impacted?  ->  No
    - [x] Document update required?  ->  No
    - [x] Testing done  ->  Yes
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

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