contrail-collector: schema change across versions hangs the collector

Bug #1508540 reported by Raj Reddy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Raj Reddy
R2.21.x
Fix Committed
High
Raj Reddy
Trunk
Fix Committed
High
Raj Reddy

Bug Description

schema change across versions triggers 'update column family' and that cause the contrail-collector to hang [or take a very very long time] in update column family.

Need to investigate if this 'update' can be removed

Tags: analytics
Raj Reddy (rajreddy)
Changed in juniperopenstack:
importance: Undecided → High
Raj Reddy (rajreddy)
Changed in juniperopenstack:
assignee: nobody → Raj Reddy (rajreddy)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/14954
Submitter: Raj Reddy (<email address hidden>)

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

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

commit e0486e27f46a7fef81a5a6d550223fd3259248dd
Author: Raj Reddy <email address hidden>
Date: Fri Nov 6 16:39:19 2015 -0800

for sql-like CFs, we allow schema to be changed, but we don't need
to call update_columnfamily, as that would unnecessarily try to
update all the data to new schema taking a whole lot of time.
for nosql CFs, we don't allow the schema to be changed, initialization
of collector will fail.

Change-Id: I8c882974f499b4c6fd32e7e50d7bc36abeb16145
Closes-Bug: #1508540

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/14983
Submitter: Raj Reddy (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14983
Committed: http://github.org/Juniper/contrail-controller/commit/a4deb8312a11385f0762b6f34cdcc8715611c162
Submitter: Zuul
Branch: R2.20

commit a4deb8312a11385f0762b6f34cdcc8715611c162
Author: Raj Reddy <email address hidden>
Date: Fri Nov 6 16:39:19 2015 -0800

for sql-like CFs, we allow schema to be changed, but we don't need
to call update_columnfamily, as that would unnecessarily try to
update all the data to new schema taking a whole lot of time.
for nosql CFs, we don't allow the schema to be changed, initialization
of collector will fail.

Change-Id: I8c882974f499b4c6fd32e7e50d7bc36abeb16145
Closes-Bug: #1508540
(cherry picked from commit e0486e27f46a7fef81a5a6d550223fd3259248dd)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/16321
Submitter: Raj Reddy (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/16321
Committed: http://github.org/Juniper/contrail-controller/commit/a7f9ca34a994a15cf62a9fb6b38a9037a4a93825
Submitter: Zuul
Branch: R2.21.x

commit a7f9ca34a994a15cf62a9fb6b38a9037a4a93825
Author: Raj Reddy <email address hidden>
Date: Fri Nov 6 16:39:19 2015 -0800

for sql-like CFs, we allow schema to be changed, but we don't need
to call update_columnfamily, as that would unnecessarily try to
update all the data to new schema taking a whole lot of time.
for nosql CFs, we don't allow the schema to be changed, initialization
of collector will fail.

Change-Id: I8c882974f499b4c6fd32e7e50d7bc36abeb16145
Closes-Bug: #1508540
(cherry picked from commit e0486e27f46a7fef81a5a6d550223fd3259248dd)

information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.