Comment 59 for bug 1596630

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/26287
Committed: http://github.org/Juniper/contrail-controller/commit/59e23f4c5a0f38bb2bbe3a23cedb4b01281aec2d
Submitter: Zuul
Branch: master

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)

Conflicts:
 src/analytics/db_handler.cc
 src/analytics/db_handler.h
 src/analytics/generator.cc
 src/analytics/main.cc
 src/analytics/options.cc
 src/analytics/options.h
 src/analytics/protobuf_collector.cc
 src/analytics/test/db_handler_mock.h
 src/analytics/viz_collector.cc
 src/analytics/viz_collector.h

Conflicts:
 src/database/cassandra/cql/cql_if.cc

Conflicts:
 src/analytics/db_handler.cc
 src/analytics/db_handler.h
 src/analytics/viz_collector.cc

Change-Id: Ic9afa3935e0e87f5317fb4a015069cd669c0621f
(cherry picked from commit e1e4610d702105ca548cd3d6c27dd1c05ea83fd8)