cartridge-java icon indicating copy to clipboard operation
cartridge-java copied to clipboard

Need comments about the not refreshing metadata

Open ArtDu opened this issue 3 years ago • 1 comments

What was the motivation for making non-updatable metadata and will there be any problems with that?

Example: a)

  1. Metadata has been obtained
  2. A third-party application removes the space in the Tarantool
  3. Next, we want to do some kind of operation through tarantoolClient.space(spaceName), there will be an internal Tarantool error, but how much we need to worry that we have invalid metadata

b)

  1. Metadata has been obtained
  2. A third-party application adds a new space namedSpace
  3. Can we use tarantoolClient.space(namedSpace)?

ArtDu avatar Dec 01 '21 15:12 ArtDu

I think we can consider it an enchancement. We should first identify the scenarios of refreshing metadata and then create RFC on how we can improve this.

vrogach2020 avatar Dec 30 '21 09:12 vrogach2020