Skip to content

Please confirm my understanding of RemoteBucketBuilder.build(K, Supplier) #492

Answered by vladimir-bukhtoyarov
sp00m asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @sp00m

Current javadoc for config is little bit inncorect. It should be changed like this: [The Supplier] will be called if and only if it detected that bucket is not persisted by any reason like was never persisted before, persisted but then expired, persisted but then explicitly removed, or persisted but lost because of any storage problem.

The words above have following outcome according to configuration replacement: if you plan to use configuration replacement then your config supplier should return as fresh configuration as it possible, otherwise there is risk to lose the config change when bucket with changed configuration bacomes expired and then becomes ressurected with lega…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sp00m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants