code: public void deleteStoreDefinition(String storeName) {
          // acquire write lock
          writeLock.lock();
  
          try {
              // Check if store exists
              if(!this.storeNames.contains(storeName)) {
                  throw new VoldemortException("Requested store to be deleted does not exist !");
              }
  
              // Otherwise remove from the STORES directory. Note: The version
              // argument is not required here since the
              // ConfigurationStorageEngine simply ignores this.
              this.storeDefinitionsStorageEngine.delete(storeName, null);
  
              // Update the metadata cache
              this.metadataCache.remove(storeName);
  
              // Re-initialize the store definitions. This is primarily required
              // to re-create the value for key: 'stores.xml'. This is necessary
              // for backwards compatibility.
              initStoreDefinitions(null);
          } finally {
              writeLock.unlock();
          }
      }
docs: Function to delete the specified store from Metadata store. This involves
  
  1. Remove entry from the ConfigurationStorageEngine for STORES.
  
  2. Update the metadata cache.
  
  3. Re-create the 'stores.xml' key
  
  @param storeName specifies name of the store to be deleted.