Merge lp://qastaging/~jaypipes/drizzle/publisher-read-manifest into lp://qastaging/~drizzle-trunk/drizzle/development
Status: | Rejected |
---|---|
Rejected by: | Monty Taylor |
Proposed branch: | lp://qastaging/~jaypipes/drizzle/publisher-read-manifest |
Merge into: | lp://qastaging/~drizzle-trunk/drizzle/development |
Prerequisite: | lp://qastaging/~jaypipes/drizzle/replication-testing |
Diff against target: | 274 lines |
To merge this branch: | bzr merge lp://qastaging/~jaypipes/drizzle/publisher-read-manifest |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Aker | Needs Fixing | ||
Eric Day (community) | Approve | ||
Drizzle Developers | Pending | ||
Review via email:
|
Description of the change
Adds test cases to replication test suite for checking
startup when a corrupted manifest file is present, as
well as a good publisher manifest is present. Changes
the TransactionLogP
error and disable the publisher plugin properly.
Unmerged revisions
- 1443. By Jay Pipes <jpipes@serialcoder>
-
Adds test cases to replication test suite for checking
startup when a corrupted manifest file is present, as
well as a good publisher manifest is present. Changes
the TransactionLogPublisher constructor to throw a proper
error and disable the publisher plugin properly. - 1442. By Jay Pipes <jpipes@serialcoder>
-
Connect replication test suite into main transaction_log test suite
- 1441. By Jay Pipes <jpipes@serialcoder>
-
Adds a custom test suite and framework for testing the replication pieces. The first test case tests basic functionality of creating and writing a serialized publisher manifest file.
- 1440. By Jay Pipes <jpipes@serialcoder>
-
Publisher manifest file now written to disk properly (was using incorrect ByteSize() instead of std::string:
:size() . Also, manifest is read on startup - 1439. By Jay Pipes <jpipes@serialcoder>
-
Merge Monty build fixes
- 1438. By Jay Pipes <jpipes@serialcoder>
-
remove references to /drizzled/
message/ replication. pb.h - 1437. By Jay Pipes <jpipes@serialcoder>
-
Moves replication.proto out of /drizzled/message and into /plugin/
transaction_ log/ since it is implementation- specific. - 1436. By Jay Pipes <jpipes@serialcoder>
-
Remove unused ZeroCopyStream buffer
- 1435. By Jay Pipes <jpipes@serialcoder>
-
TransactionLogP
ublisher now writes manifest file to disk and syncs on close - 1434. By Jay Pipes <jpipes@serialcoder>
-
Merge trunk and resolve conflicts
++ For exception handling :) Personally I don't like the use of std::runtime_ error() since it accepts a string argument, which encourages building of strings as exception messages. This can itself lead to exceptions being throw and then you don't even get a proper message. Moving forward, we might want to create an exception type that uses a static sized buffer so there is less risk of string throwing exceptions.