Quick Search:

jump to detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

trunk 27 3

latest revision download trunk

27 annotated / raw | Diffs: previous, other | Lines: 257 ( +3, -2 )

Created: 2007-07-06 14:27:43 -0500 (10 months ago) | Author: rklahn | Changeset: 27

Fixes BRUCE-1. http://jira.codehaus.org/browse/BRUCE-1

To prevent double posting, a snapshot will now consider the current transaction as
'in-progress'. A side effect of this is that the slaves may be one transaction behind the master
during periods of low volume.

To fix the side effect, a 'GenerateSnapshotThread' has been added, which generates a snapshot
once every configurable miliseconds (by default, 1000ms, or 1s). This snapshot is taken within
a transaction with no other changes, so it does not matter that its transaction gets processed
or not.

An interesting side effect of the side effect fix is this: There will always be a snapshot once
every N miliseconds to process, and this should make replication lag to the slaves more
predictable, and thus, more monitorable. Particularly so during periods of very low volume.

Some other minor changes included in this checkin:

* ReplicationDaemon names the GenerateSnapshotThread, so I made it name the LogSwitchThread too.
* TidsBetweenSnapshotSet now has a meaningful toString() method.

-fin-

Branch point for: 0.5

3 new annotated / raw | Lines: 256 ( +256, -0 )

Created: 2007-06-27 14:02:14 -0500 (10 months ago) | Author: lanceball | Changeset: 3

Initial import of bruce source

latest revision download root:

124 annotated / raw | Diffs: previous, other | Lines: 213 ( +12, -28 )

Created: 2007-11-30 12:11:48 -0600 (5 months 14 days ago) | Author: rklahn | Changeset: 124

Chnages in support of failover

Properties

 svn:keywords = Id

106 annotated / raw | Diffs: previous, other | Lines: 229 ( +1, -8 )

Created: 2007-11-08 19:38:56 -0600 (6 months ago) | Author: rklahn | Changeset: 106

Some changes for replication failover. More to follow

Properties

 svn:keywords = Id

85 annotated / raw | Diffs: previous, other | Lines: 236 ( +0, -21 )

Created: 2007-09-06 17:19:38 -0500 (8 months ago) | Author: rklahn | Changeset: 85

Copied to: branches/1.0/javasrc/com/netblue/bruce/Snapshot.java 86

Major change: Large transaction support

Minor changes along the way:
* Snapshot.tIDsBetweenSnapshots() no longer in use, and dropped
* Drop mortal user remenents at the end of MortalUserCanModifyTableTest.


Properties

 svn:keywords = Id

78 annotated / raw | Diffs: previous, other | Lines: 257 ( +1, -1 )

Created: 2007-09-04 20:24:54 -0500 (8 months ago) | Author: rklahn | Changeset: 78

svn:keywords=Id missing on many source files

Properties

 svn:keywords = Id

Open Source License registered to the Codehaus Project. This license of FishEye is provided to support the development of Codehaus only.
Atlassian FishEye, Subversion, CVS & Perforce analysis. (Version:1.5.1 Build:build-296 2008-04-24 ) - Administration - Page generated 2008-05-16 02:53 -0500