Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. (cherry-picked from commit 358765e) Change-Id: I54ae9e756f7f67ce684ef9e3ba557038bc8f8731 Closes-bug: #1433021
- Loading branch information
1 parent
f15a8e7
commit 1be13eb
Showing
6 changed files
with
143 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters