commit 59e23f4c5a0f38bb2bbe3a23cedb4b01281aec2d
Author: Megh Bhatt <email address hidden>
Date: Sun Nov 6 22:47:56 2016 -0800
Options to control database writes from contrail-collector
COMMIT 1:
Add database/cassandra options to contrail-collector
1. Add disable_all_writes, disable_statistics_writes,
disable_messages_writes options under DATABASE section
to control writes to database from collector.
2. Add introspect commands to disable/enable these options.
3. Add compaction_strategy option under CASSANDRA section
to control the compaction strategy to be used for
analytics tables created by the collector.
Closes-Bug: #1638088
COMMIT 2:
Fix build error with queue_task_test
Closes-Bug: 1596630
(cherry picked from commit d285623cd5ba8783bd389114babab55c077907db)
(cherry picked from commit c5da4cf09399a6983a0b7fc44220c6b6c3ed3c6a)
COMMIT 3:
Fix cql_if_test
Add missing compaction_strategy arguments to Static/DynamicCfCreate
called from cql_if_test
Closes-Bug: #1641260
(cherry picked from commit 8d5498f53454b51b73b1f6df117b3d1c8648d364)
COMMIT 4:
Disable message keyword writes
Add a DATABASE.enable_db_message_keyword_writes flag to control
message keyword table writes, which are now disabled by default
Closes-Bug: #1641261
(cherry picked from commit fc8a43f56f4c5355b73479e83e5ce716962f8049)
Reviewed: https:/ /review. opencontrail. org/26287 github. org/Juniper/ contrail- controller/ commit/ 59e23f4c5a0f38b b2bbe3a23cedb4b 01281aec2d
Committed: http://
Submitter: Zuul
Branch: master
commit 59e23f4c5a0f38b b2bbe3a23cedb4b 01281aec2d
Author: Megh Bhatt <email address hidden>
Date: Sun Nov 6 22:47:56 2016 -0800
Options to control database writes from contrail-collector
COMMIT 1:
Add database/cassandra options to contrail-collector
1. Add disable_all_writes, disable_ statistics_ writes, messages_ writes options under DATABASE section
disable_
to control writes to database from collector.
2. Add introspect commands to disable/enable these options.
3. Add compaction_strategy option under CASSANDRA section
to control the compaction strategy to be used for
analytics tables created by the collector.
Closes-Bug: #1638088
COMMIT 2:
Fix build error with queue_task_test
Closes-Bug: 1596630 3bd389114babab5 5c077907db)
(cherry picked from commit d285623cd5ba878
(cherry picked from commit c5da4cf09399a69 83a0b7fc44220c6 b6c3ed3c6a)
COMMIT 3:
Fix cql_if_test
Add missing compaction_strategy arguments to Static/ DynamicCfCreate
called from cql_if_test
Closes-Bug: #1641260 b73b1f6df117b3d 1c8648d364)
(cherry picked from commit 8d5498f53454b51
COMMIT 4:
Disable message keyword writes
Add a DATABASE. enable_ db_message_ keyword_ writes flag to control
message keyword table writes, which are now disabled by default
Closes-Bug: #1641261 5b73479e83e5ce7 16962f8049)
(cherry picked from commit fc8a43f56f4c535
Conflicts: db_handler. cc db_handler. h generator. cc main.cc options. cc options. h protobuf_ collector. cc test/db_ handler_ mock.h viz_collector. cc viz_collector. h
src/analytics/
src/analytics/
src/analytics/
src/analytics/
src/analytics/
src/analytics/
src/analytics/
src/analytics/
src/analytics/
src/analytics/
Conflicts: cassandra/ cql/cql_ if.cc
src/database/
Conflicts: db_handler. cc db_handler. h viz_collector. cc
src/analytics/
src/analytics/
src/analytics/
Change-Id: Ic9afa3935e0e87 f5317fb4a015069 cd669c0621f a548cd3d6c27dd1 c05ea83fd8)
(cherry picked from commit e1e4610d702105c