Revision 45988
Added by Sandro La Bruzzo about 7 years ago
MongoPublisherStoreDAO.java | ||
---|---|---|
141 | 141 |
if (storeInfo == null) { |
142 | 142 |
return false; |
143 | 143 |
} else { |
144 |
db.getCollection(storeId).deleteMany(Filters.eq(OAIConfigurationReader.SET_FIELD, set));
|
|
145 |
this.mongoSetCollection.dropSet(dbName, set);
|
|
144 |
db.getCollection(storeId).deleteMany(Filters.eq(OAIConfigurationReader.SET_FIELD, this.mongoSetCollection.normalizeSetSpec(set)));
|
|
145 |
this.mongoSetCollection.dropSet(dbName, set);
|
|
146 | 146 |
log.debug("Deleted set " + set + " from oaistore " + storeId + ", db: " + dbName); |
147 | 147 |
return true; |
148 | 148 |
} |
Also available in: Unified diff
fixed drop oai set