If a table creation returns a timeout error from library, collector will
retry again after 10 seconds while cassandra will go ahead and create the
table. This may lead to race condition if the second attempt is made before
the first request can finish successfully. Hence, increase the request
timeout for schema creation commands to 40 sec.
Reviewed: https:/ /review. opencontrail. org/37425 github. com/Juniper/ contrail- controller/ commit/ 9fc9d8088daeef0 30fb09ca6334a4f aaf2983c4c
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit 9fc9d8088daeef0 30fb09ca6334a4f aaf2983c4c
Author: mkheni <email address hidden>
Date: Fri Nov 10 15:40:31 2017 -0800
Increase request_timeout for Schema creation.
If a table creation returns a timeout error from library, collector will
retry again after 10 seconds while cassandra will go ahead and create the
table. This may lead to race condition if the second attempt is made before
the first request can finish successfully. Hence, increase the request
timeout for schema creation commands to 40 sec.
Change-Id: I86bbcd357d80c6 bf25ae36e9f092c a212088b3e6
closes-bug: #1721416