From 96e8753e5647100138b87ae27036e407a0cef818 Mon Sep 17 00:00:00 2001 From: Andrew MacBean Date: Wed, 30 Jul 2014 12:57:04 +0000 Subject: QPID-5928: [Java Broker] Further enhancements and feedback changes for initial implementation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614644 13f79535-47bb-0310-9956-ffa450edef68 --- .../js/qpid/management/virtualhost/bdb_ha/show.js | 65 +++++++++++++--------- .../java/resources/virtualhost/bdb_ha/show.html | 46 +++++---------- .../java/resources/virtualhostnode/bdb/add.html | 14 ----- .../bdb_ha/add/existinggroup/add.html | 16 +----- .../virtualhostnode/bdb_ha/add/newgroup/add.html | 15 +---- 5 files changed, 54 insertions(+), 102 deletions(-) (limited to 'qpid/java/bdbstore/src') diff --git a/qpid/java/bdbstore/src/main/java/resources/js/qpid/management/virtualhost/bdb_ha/show.js b/qpid/java/bdbstore/src/main/java/resources/js/qpid/management/virtualhost/bdb_ha/show.js index d95d223e2d..9cf6bdea66 100644 --- a/qpid/java/bdbstore/src/main/java/resources/js/qpid/management/virtualhost/bdb_ha/show.js +++ b/qpid/java/bdbstore/src/main/java/resources/js/qpid/management/virtualhost/bdb_ha/show.js @@ -20,47 +20,60 @@ define(["qpid/common/util", "dojo/query", "dojo/domReady!"], function (util, query) { - var fields = [ "storeUnderfullSize", "storeOverfullSize", "permittedNodes"]; - var syncPolicies = ["sync", "no_sync", "write_no_sync"]; var localTransactionSynchronizationPolicy = "localTransactionSynchronizationPolicy"; var remoteTransactionSynchronizationPolicy = "remoteTransactionSynchronizationPolicy"; + var fields = [ "storeUnderfullSize", "storeOverfullSize"]; + function BDB(data) { util.buildUI(data.containerNode, data.parent, "virtualhost/bdb_ha/show.html", fields, this); - for(var i=0; i"; + } + } + this["permittedNodes"].innerHTML = permittedNodesMarkup ; + var localSyncPolicy = data[localTransactionSynchronizationPolicy].toLowerCase(); var remoteSyncPolicy = data[remoteTransactionSynchronizationPolicy].toLowerCase(); - for(var i=0; i
Permitted Nodes:
-
+

-
Before each transaction commit returns to the caller the following will be true:
-
-
At the master node, the node will have received the required minimum number of acknowledgements from the replica nodes and the transaction will have been:
-
- - -
- -
- - -
- -
- - +
+
Local Transaction Sync Policy:
+
+ SYNC (the transaction will be written and synchronized to the disk; highest durability) + WRITE_NO_SYNC (the transaction will be written only; the synchronization will be performed later) + NO_SYNC (write later; the transaction will be written and synchronized later; lowest durability)
-
-
At the required minimum number od replica nodes, the transaction will have been:
-
- - -
- -
- - -
- -
- - +
+
Remote Transaction Sync Policy:
+
+ SYNC (the transaction will be written and synchronized to the disk; highest durability) + WRITE_NO_SYNC (the transaction will be written only; the synchronization will be performed later) + NO_SYNC (write later; the transaction will be written and synchronized later; lowest durability)
-
diff --git a/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb/add.html b/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb/add.html index b47a0b0cf2..a12c910ab1 100644 --- a/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb/add.html +++ b/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb/add.html @@ -19,20 +19,6 @@ - -->
-
-
Name*:
-
- -
-
Store path*:
diff --git a/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/existinggroup/add.html b/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/existinggroup/add.html index fc1b979d70..de38b553e8 100644 --- a/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/existinggroup/add.html +++ b/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/existinggroup/add.html @@ -41,7 +41,7 @@
New node details -
-
Node Name*:
-
- -
-
Address*:
diff --git a/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/newgroup/add.html b/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/newgroup/add.html index 4517675835..02542a28ce 100644 --- a/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/newgroup/add.html +++ b/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/add/newgroup/add.html @@ -17,20 +17,7 @@ ~ under the License. -->
-
-
Node name*:
-
- -
-
+
Group name*:
-- cgit v1.2.1