dzitkowskik / mini-dos

Project for Distributed Operating Systems at Warsaw University of Technology (Mathematics and Computer Science department) Winter 2015
Apache License 2.0
0 stars 0 forks source link

Don't insert/delete metadata if task fails #82

Open davidmigloz opened 8 years ago

davidmigloz commented 8 years ago

In master methods:

Currently, if an insert/delete/create table task fails, metadata modifications in master are not rollbacked.

For example, if client send a create table, coordinator node sends metadata to master and master saved it. But if then the create operation fails in nodes, this metadata is not deleted from master, so it believes that this new table exists.