How Ozone manages write operations

The client requests a block from the Ozone Manager (OM) to write a key. The OM returns the Block ID and the corresponding DataNodes for the client to write data.

The following steps explain how Ozone manages write operations:

  1. The client requests a block from the OM to write a key. The request includes the key, the data to write, the pipeline type, and the replication count.
  2. The OM finds the blocks that match the request and returns them to the client.
  3. The client connects to the DataNodes associated with the returned block information and writes the data.
  4. After writing the data, the client updates the block information on the OM.
  5. The OM records the associated key information.