Comment 5 for bug 1927186

Revision history for this message
Ilya Popov (ilya-p) wrote (last edit ):

Looks like there are 2 possible options to change in code:

1. Put common variables to common key-value like redis. And cinder volume on start will check value there (if there is one - it will read it from redis, if there is no value - it will recalculate and put it there)

2. Listen RPC messages (sm like notification) and change internal values accordingly. It is less good option as we get smth like diffs of values (e.g we've seen that the volume created and we have to increse local value). This calculation will be less accurate.

Or we have to store it in DB