This restores performance to levels before
https://git.opendaylight.org/gerrit/#/c/43473/
Change-Id: I03e935d1a1d3a4774610db6421c5705c56e26800
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
daoEntry.put(SubKeys.REGDATE, new Date(timestamp));
}
+ ILispDAO xtrIdTable = (ILispDAO) daoEntry.get(SubKeys.XTRID_RECORDS);
XtrId xtrId = ((MappingRecord) daoEntry.get(SubKeys.RECORD)).getXtrId();
- if (xtrId != null) {
- ILispDAO xtrIdTable = getXtrIdTable(eid, (ILispDAO) daoEntry.get(SubKeys.XTRID_RECORDS));
+ if (xtrIdTable != null && xtrId != null) {
ExtendedMappingRecord extRecord = (ExtendedMappingRecord) xtrIdTable.getSpecific(xtrId,
SubKeys.EXT_RECORD);
if (extRecord != null) {