Status: Accepted
Owner: ----
Labels: Type-Enhancement
New issue 397 by [email protected]: Network implementation and bitarrays
http://code.google.com/p/ganeti/issues/detail?id=397
The Python code uses the bitarray module *only* as a validation tool during
LU execution. The actual storage for reservations and ext_reservations is a
plain string, and whenever we for example want to add a new reservations,
we:
- initialise a bitarray from the string type
- try to reserve the new ip
- serialise the updated bitarray
It would make much more sense to keep the reservations in memory, so that
in these cases, and also in case of querying, we don't keep converting
string→bitarray.
Also, the Haskell code could as well keep this in memory as a bitarray, and
validate it on load.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings