]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: ship transaction (not op) to replicas
authorSage Weil <sage@newdream.net>
Thu, 28 May 2009 18:23:43 +0000 (11:23 -0700)
committerSage Weil <sage@newdream.net>
Thu, 28 May 2009 18:23:43 +0000 (11:23 -0700)
commit1f87d007e2f86eb3aaf494257c84e42006f84f75
tree8a0ebcc98b394accb7669bc1202a46cf19d8bd46
parent8eb0c4e5676606c980dbb7b34ebb7882f478b8d1
osd: ship transaction (not op) to replicas

This simplifies the code path on the replica.  It avoids duplicating
computation, which can be a win even for trivial ops when snaps are
involved.  For active objects, it will avoid the computation as well.

Currently parallel execution will still happen if you specify a flag.
However, an object method should probably also be able to specify ||
execution is better in cases where the operation is deterministic and
|| exec will mean less data over the network.

Disable unused vector<T*> template, since it confuses the
vector<const char *> encoder.
src/include/encoding.h
src/include/rados.h
src/messages/MOSDSubOp.h
src/os/ObjectStore.h
src/osd/PG.cc
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h