don't create index_trace PersistentHashMap for indices that have no snapshots support
(cherry picked from commit ee9d8a6)