diff options
| author | Damien F. Katz <damien@apache.org> | 2008-04-23 00:25:23 +0000 | 
|---|---|---|
| committer | Damien F. Katz <damien@apache.org> | 2008-04-23 00:25:23 +0000 | 
| commit | 689f9830b50ac6b7a673ce467626c6d2deef645c (patch) | |
| tree | 2a321ba63b940883d1b4373a34dc181709c4e92a /share/www/replicator.html | |
| parent | 6949f81ae419c5d10131c71732ca0637ef7d234d (diff) | |
Replicator optmizations and fix for unnecessary document copy during re-replication
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@650705 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/replicator.html')
| -rw-r--r-- | share/www/replicator.html | 14 | 
1 files changed, 4 insertions, 10 deletions
diff --git a/share/www/replicator.html b/share/www/replicator.html index 684826ce..25ede91d 100644 --- a/share/www/replicator.html +++ b/share/www/replicator.html @@ -82,12 +82,8 @@ specific language governing permissions and limitations under the License.            $.couch.replicate(source, target, {              success: function(resp) {                $.each(resp.history, function(idx, record) { -                $("<tr><th></th><td class='seq'></td>" + -                  "<td class='read'></td><td class='copied'></td></tr>") -                  .find("th").text(record.start_time).end() -                  .find("td.seq").text(record.start_last_seq + "–" + record.end_last_seq).end() -                  .find("td.read").text(record.docs_read + " (" + record.read_errors + " errors)").end() -                  .find("td.copied").text(record.docs_copied + " (" + record.copy_errors + " errors)").end() +                $("<tr><th></th></tr>") +                  .find("th").text(JSON.stringify(record)).end()                    .appendTo("#records tbody.content");                });                $("#records tbody tr").removeClass("odd").filter(":odd").addClass("odd"); @@ -136,10 +132,7 @@ specific language governing permissions and limitations under the License.        <table id="records" class="listing">          <caption>Replication History</caption>          <thead><tr> -          <th>When</th> -          <th>Sequences</th> -          <th>Documents read</th> -          <th>Documents copied</th> +          <th>Event</th>          </tr></thead>          <tbody class="content"></tbody>          <tbody class="footer"><tr> @@ -148,5 +141,6 @@ specific language governing permissions and limitations under the License.        </table>      </div> +    <div id="dump"></div>    </body>  </html>  | 
