Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you disconnect WSO2 DAS from the database it is currently configured with and connect it to a different database type, the index data stored in DAS may get corrupted if no data migration is carried out. In order to avoid this, reindex the data by following the steps given below.

  1. Shut down the WSO2 DAS server.
  2. Remove all the index data stored in theĀ <DAS_HOME>/repository/data directory.
  3. In theĀ <DAS_HOME>/repository/conf/analytics/local-shard-allocation-config.conf file, change the mode for all the shards from NORMAL to INIT.
  4. Restart the WSO2 DAS server.

Storing Index Data