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/37426 github. com/Juniper/ contrail- controller/ commit/ 0bc99a776cfdfb8 a1007fcea7b0b12 b108260e3a
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 0bc99a776cfdfb8 a1007fcea7b0b12 b108260e3a
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