~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/Makefile.am

This patch does a few things:

* Renames the TransactionServices component in the kernel
  to ReplicationServices.
* Renames the transaction.proto to replication proto and
  updates the various programs referencing drizzled/message/transaction.pb.h
* Adds a public method to the kernel's ReplicationServices component:
  getLastAppliedTimestamp() which returns the timestamp of the last Command message
  which was successfully sent to a registered Applier plugin (the Command was "applied")
* Updates ReplicationServices::push() method to update an atomic timestamp
  when a Command is successfully applied by a replicator to an applier.

The ReplicationServices::getLastAppliedTimestamp() is critical to the upcoming
Publisher plugin, as it allows the publisher to ask the kernel when the last Command
message was applied.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
nodist_libdrizzledmessage_la_SOURCES = \
43
43
                binary_log.pb.cc \
44
44
                master_list.pb.cc \
45
 
                transaction.pb.cc \
 
45
                replication.pb.cc \
46
46
                schema.pb.cc \
47
47
                table.pb.cc
48
48
 
49
49
nodist_noinst_HEADERS= \
50
50
                binary_log.pb.h \
51
51
                master_list.pb.h \
52
 
                transaction.pb.h \
 
52
                replication.pb.h \
53
53
                schema.pb.h \
54
54
                table.pb.h
55
55
 
94
94
                schema.pb.h \
95
95
                table.pb.h \
96
96
                binary_log.pb.h \
97
 
                transaction.pb.h \
 
97
                replication.pb.h \
98
98
                master_list.pb.h
99
99
 
100
100
CLEANFILES = \
104
104
                schema.pb.cc \
105
105
                table.pb.h \
106
106
                table.pb.cc \
107
 
                transaction.pb.h \
108
 
                transaction.pb.cc \
 
107
                replication.pb.h \
 
108
                replication.pb.cc \
109
109
                master_list.pb.h \
110
110
                master_list.pb.cc
111
111