All Products
Search
Document Center

Microservices Engine:Reset data in a ZooKeeper instance

Last Updated:Mar 11, 2026

When stale or junk data accumulates across znodes in a ZooKeeper instance, deleting nodes individually becomes impractical. Microservices Engine (MSE) provides a one-click reset that clears all znode data and restores the instance to its initial state.

Important

Resetting permanently deletes all znode data in the instance. Instance configurations are not affected. The instance restarts during the reset and is unavailable for approximately 5 minutes. Export any data you need before you proceed.

Choose a cleanup approach

Select the approach that matches the scope of your cleanup:

ApproachWhen to useImpact
Delete individual znodesOnly specific paths contain unwanted dataMinimal; no restart required
Reset data (this topic)Most or all znode data is stale and a fresh start is neededAll znode data is deleted; instance restarts (~5 min)
Import and export dataRestore specific data after a resetNo data loss if exported beforehand

Prerequisites

Before you begin, make sure that you have:

Reset all znode data

  1. Log on to the MSE console and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the target instance.

  4. In the left-side navigation pane, choose Data Management > Znodes.

  5. On the Znodes page, click Reset Data.

  6. In the Reset Data dialog box, review the warning, enter the last four digits of the instance ID to confirm, and then click OK. The instance restarts and is unavailable during the reset. After approximately 5 minutes, all znode data is cleared and the instance returns to its initial state.

Verify that the reset succeeded

After the instance status returns to Running, go to Data Management > Znodes and confirm that the znode tree shows the initial state.

Related operations

  • To restore specific data, import it from a previously exported file. See Import and export data.

  • To reduce future data accumulation, periodically review and delete unused znodes on the Znodes page.