Update the collector column families from Ascii to UTF8
Cassandra returns InvalidRequestException when collector
tries to add a column and if the column data contains
unicode characters.
The issue is seen when any resource is created or deleted and
the resource name has unicode characters.
This patch fixes the issue by changing the collector column
family validation types from AsciiType to UTF8Type.
The patch also takes care of upgrading the existing column families
if they exist in the db.
Reviewed: https:/ /review. opencontrail. org/8433 github. org/Juniper/ contrail- controller/ commit/ 358765ed4e89430 414284185f0acd4 f149aeba73
Committed: http://
Submitter: Zuul
Branch: master
commit 358765ed4e89430 414284185f0acd4 f149aeba73
Author: Numan Siddique <email address hidden>
Date: Wed Mar 18 15:42:02 2015 +0530
Update the collector column families from Ascii to UTF8
Cassandra returns InvalidRequestE xception when collector
tries to add a column and if the column data contains
unicode characters.
The issue is seen when any resource is created or deleted and
the resource name has unicode characters.
This patch fixes the issue by changing the collector column
family validation types from AsciiType to UTF8Type.
The patch also takes care of upgrading the existing column families
if they exist in the db.
Change-Id: I54ae9e756f7f67 ce684ef9e3ba557 038bc8f8731
Closes-bug: #1433021