config-perf: improve api-server startup time during db resync.
In cassandra walk(), get_range() was already fetching the row, use it.
In _dbe_resync(), read only the props+refs from object row since only
that is required.
Since persisted type in db is with underscore, account for that and
reduce amount of autogeneration needed.
Reviewed: https:/ /review. opencontrail. org/8559 github. org/Juniper/ contrail- controller/ commit/ 8537d5ae0667285 a8b641c01b89811 da74949f40
Committed: http://
Submitter: Zuul
Branch: master
commit 8537d5ae0667285 a8b641c01b89811 da74949f40
Author: Hampapur Ajay <email address hidden>
Date: Wed Mar 25 17:52:55 2015 -0700
config-perf: improve api-server startup time during db resync.
In cassandra walk(), get_range() was already fetching the row, use it.
In _dbe_resync(), read only the props+refs from object row since only
that is required.
Since persisted type in db is with underscore, account for that and
reduce amount of autogeneration needed.
Change-Id: I8d62c3849ba118 f26a17d6ca84ecd dcb912595fc
Closes-Bug: #1435619