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 120 sec.
Reviewed: https:/ /review. opencontrail. org/38972 github. com/Juniper/ contrail- controller/ commit/ da8b071da4fc11d 15026b9544206f0 9cdb0afb26
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit da8b071da4fc11d 15026b9544206f0 9cdb0afb26
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 120 sec.
Change-Id: I86bbcd357d80c6 bf25ae36e9f092c a212088b3e6
closes-bug: #1721416