{"push_id":1424665689,"size":4,"distinct_size":4,"ref":"refs/heads/xleases","head":"870f80f54c34d04d4a0fd0ea31b6d626a79b35da","before":"e241dcde14483567f83d01dfeb36caa30576d305","commits":[{"sha":"88633af035b8894188567bdb8138c4d2609fa74c","author":{"name":"Nir Soffer","email":"7cf8f3b76f384713d1505797627ca298fb418a16@redhat.com"},"message":"xleases: Add and remove sanlock resource\n\nWhen adding a lease, write a sanlock resource. When removing a lease,\nsince we don't have yet a sanlock API for removing a resource, write a\ndummy resource with empty lockspace and resource name.\n\nUnfinished: adding and removing resource is not atomic yet, we need to\nmark the record as stale before modifying storage, and mark as used only\nif the operation was successful.\n\nSanlock is not available yet on python 3, but this module and the tests\nare compatible with python 3 using fakesanlock.\n\nChange-Id: I02a0f538f217481a4e8585fd6c8045e20d9b4c69\nSigned-off-by: Nir Soffer <nsoffer@redhat.com>","distinct":true,"url":"https://api.github.com/repos/nirs/vdsm/commits/88633af035b8894188567bdb8138c4d2609fa74c"},{"sha":"193f855d9167e0ac4cfe8f456dd977a045af7040","author":{"name":"Nir Soffer","email":"7cf8f3b76f384713d1505797627ca298fb418a16@redhat.com"},"message":"xleases: Use six.PY2 instead of reinventing it\n\nWe used our own PY2 constant, but we are using now six.\n\nChange-Id: Id8d48a61304d3942e1bcb9e25d7caf0ad4159e0f\nSigned-off-by: Nir Soffer <nsoffer@redhat.com>","distinct":true,"url":"https://api.github.com/repos/nirs/vdsm/commits/193f855d9167e0ac4cfe8f456dd977a045af7040"},{"sha":"346f0ea804dafec3ba30a618fc2b82a88b554e50","author":{"name":"Nir Soffer","email":"7cf8f3b76f384713d1505797627ca298fb418a16@redhat.com"},"message":"xleases: Add failing tests for storage operations\n\nTo handle failures during lease storage operations, we need to mark a\nlease record in the index a stale before we try to change storage.  This\npatch add the failing tests and mark them as broken.\n\nChange-Id: If0d3d03b920079d41ab0a26b89d1fbce3dba33ff\nSigned-off-by: Nir Soffer <nsoffer@redhat.com>","distinct":true,"url":"https://api.github.com/repos/nirs/vdsm/commits/346f0ea804dafec3ba30a618fc2b82a88b554e50"},{"sha":"870f80f54c34d04d4a0fd0ea31b6d626a79b35da","author":{"name":"Nir Soffer","email":"7cf8f3b76f384713d1505797627ca298fb418a16@redhat.com"},"message":"xleases: Robust sanlock resources management\n\nTreat sanlock resources on storage as the one and only truth.  Before\ncreating or removing sanlock resources, mark the lease record as stale.\nIf sanlock operation succeeded, mark the lease record as used or free.\n\nIf vdsm is killed, the host loses power or sanlock operation fails,\nstorage can be in this state:\n\n- No change on storage\n- Stale lease record, sanlock resource may exists or not\n- Used lease record, sanlock resource exists\n- Free lease record, sanlock resource does not exist\n\nThe next time we try to create or remove the same lease_id we can repair\nthe stale lease record by reading the sanlock resource from storage.\nRepairing stale record is not implemented yet.\n\nChange-Id: I78d9588a84b620f95ce917d93376060a898c96c7\nSigned-off-by: Nir Soffer <nsoffer@redhat.com>","distinct":true,"url":"https://api.github.com/repos/nirs/vdsm/commits/870f80f54c34d04d4a0fd0ea31b6d626a79b35da"}]}
{"actor":{"display_login":"nirs"}}