restate icon indicating copy to clipboard operation
restate copied to clipboard

Use global metadata wrapper when writing metadata for provisioning the cluster

Open tillrohrmann opened this issue 8 months ago • 2 comments

When provisioning the cluster we are writing some metadata to the metadata store. In case that the write succeeds, we should be able to directly update the MetadataManager to avoid having to fetch it from the metadata store. This is a minor optimization.

This fixes https://github.com/restatedev/restate/issues/3170.

This PR is based on #3164.

tillrohrmann avatar Apr 17 '25 15:04 tillrohrmann

I guess this needs a rebase. Let's do that after I merge my stack.

AhmedSoliman avatar Apr 25 '25 14:04 AhmedSoliman

I've rebased it on main now.

tillrohrmann avatar Apr 25 '25 20:04 tillrohrmann