Versions Compared

Key

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

...

BE in USE_ REMOTE_ DATA type

cooldown will trigger metadata synchronization. First read the UPLOADING in the directory specified in S3_ REPLICA_ ID file, read the TabletMeta file on S3 according to the ID, check the existing data range on S3 according to it (which VERSIONS have been uploaded), pull down the ROWSET metadata of the specified VESION, and replace the corresponding VERSION fragment in the local TabletMeta.

After the local metadata is updated, the local corresponding data can be deletedSince the remote TabletMeta may add or delete Rowsets, the local TabletMeta may not match the remote TabletMeta, that is, the specified file cannot be found when reading the remote data. In this case, you need to trigger the TabletMeta synchronization operation to merge the remote TabletMeta, and then continue the reading operation.

Scheduling

specific implementation steps and approximate scheduling.