GitHub user kunal642 opened a pull request:
https://github.com/apache/carbondata/pull/1708
[CARBONDATA-1928] Seperate the properties for timeout and retries for load
flow
**Analysis:** Currently the property that is used to configure the lock
retry count and the interval between retries is common for all the locks.
This will be problematic when the user has configured the retries to 10/20
for concurrent loading. This property will be affecting other lock behaviours
also, all other locks would have to retry for 10 times too.
**Solution:**
1. Change the name of the "carbon.load.metadata.lock.retries" property to
"carbon.concurrent.lock.retries" AND "carbon.concurrent.lock.retry.timeout.sec"
2. introduce a new property for all other locks
"carbon.lock.retries" AND "carbon.lock.retry.timeout.sec"
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [X] Any interfaces changed?
Property change
- [X] Any backward compatibility impacted?
Yes
- [X] Document update required?
Yes
- [X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
- [X] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kunal642/carbondata tablestatus_lock_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1708.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1708
----
commit 165d09312d501556b356b4dba660588fb79a8231
Author: kunal642 <kunalkapoor642@...>
Date: 2017-12-20T16:43:10Z
seperate the properties for timeout and retries for load flow
----
---