Fix NullPointer bugs in node invalidation; and add MDataCenter table.