Automatic Site Publish by Buildbot
diff --git a/output/1.10.0/docs/build/compile-from-source/index.html b/output/1.10.0/docs/build/compile-from-source/index.html
index 206f9de..84346f4 100644
--- a/output/1.10.0/docs/build/compile-from-source/index.html
+++ b/output/1.10.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.10.0/docs/build/compile-from-source/"},"url":"/1.10.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.10.0/docs/build/compile-from-source/"},"url":"/1.10.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/1.11.3/docs/build/compile-from-source/index.html b/output/1.11.3/docs/build/compile-from-source/index.html
index 728f214..20db6a2 100644
--- a/output/1.11.3/docs/build/compile-from-source/index.html
+++ b/output/1.11.3/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.3/docs/build/compile-from-source/"},"url":"/1.11.3/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.3/docs/build/compile-from-source/"},"url":"/1.11.3/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/1.11.6/docs/build/compile-from-source/index.html b/output/1.11.6/docs/build/compile-from-source/index.html
index 39a15bd..310e48a 100644
--- a/output/1.11.6/docs/build/compile-from-source/index.html
+++ b/output/1.11.6/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.6/docs/build/compile-from-source/"},"url":"/1.11.6/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.6/docs/build/compile-from-source/"},"url":"/1.11.6/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/1.12.0/docs/build/compile-from-source/index.html b/output/1.12.0/docs/build/compile-from-source/index.html
index 9ce3dc6..6a8196b 100644
--- a/output/1.12.0/docs/build/compile-from-source/index.html
+++ b/output/1.12.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.0/docs/build/compile-from-source/"},"url":"/1.12.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.0/docs/build/compile-from-source/"},"url":"/1.12.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/1.12.3/docs/build/compile-from-source/index.html b/output/1.12.3/docs/build/compile-from-source/index.html
index fe5c18a..b4cbbcb 100644
--- a/output/1.12.3/docs/build/compile-from-source/index.html
+++ b/output/1.12.3/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.3/docs/build/compile-from-source/"},"url":"/1.12.3/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.3/docs/build/compile-from-source/"},"url":"/1.12.3/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/1.9.0/docs/build/compile-from-source/index.html b/output/1.9.0/docs/build/compile-from-source/index.html
index 05305f2..6023c6f 100644
--- a/output/1.9.0/docs/build/compile-from-source/index.html
+++ b/output/1.9.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.9.0/docs/build/compile-from-source/"},"url":"/1.9.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.9.0/docs/build/compile-from-source/"},"url":"/1.9.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/2.0.0/docs/build/compile-from-source/index.html b/output/2.0.0/docs/build/compile-from-source/index.html
index 1f896f0..0423503 100644
--- a/output/2.0.0/docs/build/compile-from-source/index.html
+++ b/output/2.0.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.0.0/docs/build/compile-from-source/"},"url":"/2.0.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.0.0/docs/build/compile-from-source/"},"url":"/2.0.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/2.4.0/docs/build/compile-by-docker/index.html b/output/2.4.0/docs/build/compile-by-docker/index.html
index 0faf6b3..7421854 100644
--- a/output/2.4.0/docs/build/compile-by-docker/index.html
+++ b/output/2.4.0/docs/build/compile-by-docker/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Download the docker image" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile By Docker" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Download the docker image","headline":"Compile By Docker","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-by-docker/"},"url":"/2.4.0/docs/build/compile-by-docker/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Download the docker image","headline":"Compile By Docker","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-by-docker/"},"url":"/2.4.0/docs/build/compile-by-docker/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/2.4.0/docs/build/compile-from-source/index.html b/output/2.4.0/docs/build/compile-from-source/index.html
index fef00d5..4822f0b 100644
--- a/output/2.4.0/docs/build/compile-from-source/index.html
+++ b/output/2.4.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Since 2.4.0, Pegasus supports to build both on Linux and macOS. Please don’t hesitate to contact us via Github Issues when you encountered any problem." />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Since 2.4.0, Pegasus supports to build both on Linux and macOS. Please don’t hesitate to contact us via Github Issues when you encountered any problem.","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-from-source/"},"url":"/2.4.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Since 2.4.0, Pegasus supports to build both on Linux and macOS. Please don’t hesitate to contact us via Github Issues when you encountered any problem.","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-from-source/"},"url":"/2.4.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/backup-request.html b/output/administration/backup-request.html
index 9388898..efd6b65 100644
--- a/output/administration/backup-request.html
+++ b/output/administration/backup-request.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Backup Request" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Backup Request","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/backup-request"},"url":"/administration/backup-request"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Backup Request","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/backup-request"},"url":"/administration/backup-request"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/bad-disk.html b/output/administration/bad-disk.html
index 7daa212..2290197 100644
--- a/output/administration/bad-disk.html
+++ b/output/administration/bad-disk.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Bad Disk" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Bad Disk","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/bad-disk"},"url":"/administration/bad-disk"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Bad Disk","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/bad-disk"},"url":"/administration/bad-disk"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/cold-backup.html b/output/administration/cold-backup.html
index c8f9838..67e2efd 100644
--- a/output/administration/cold-backup.html
+++ b/output/administration/cold-backup.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Cold Backup" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Cold Backup","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/cold-backup"},"url":"/administration/cold-backup"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Cold Backup","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/cold-backup"},"url":"/administration/cold-backup"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/compression.html b/output/administration/compression.html
index 3f83521..4252653 100644
--- a/output/administration/compression.html
+++ b/output/administration/compression.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compression" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Compression","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/compression"},"url":"/administration/compression"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Compression","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/compression"},"url":"/administration/compression"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/config.html b/output/administration/config.html
index ca57613..b5f4b7b 100644
--- a/output/administration/config.html
+++ b/output/administration/config.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Config" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Config","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/config"},"url":"/administration/config"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Config","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/config"},"url":"/administration/config"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/deployment.html b/output/administration/deployment.html
index b46a138..42623f3 100644
--- a/output/administration/deployment.html
+++ b/output/administration/deployment.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Deployment" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Deployment","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/deployment"},"url":"/administration/deployment"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Deployment","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/deployment"},"url":"/administration/deployment"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/duplication.html b/output/administration/duplication.html
index f6ca4c6..3d5d21a 100644
--- a/output/administration/duplication.html
+++ b/output/administration/duplication.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Duplication" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Duplication","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/duplication"},"url":"/administration/duplication"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Duplication","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/duplication"},"url":"/administration/duplication"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/experiences.html b/output/administration/experiences.html
index 3c277c1..707d86f 100644
--- a/output/administration/experiences.html
+++ b/output/administration/experiences.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Experiences" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Experiences","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/experiences"},"url":"/administration/experiences"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Experiences","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/experiences"},"url":"/administration/experiences"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/hotspot-detection.html b/output/administration/hotspot-detection.html
index 30e10fd..72c8618 100644
--- a/output/administration/hotspot-detection.html
+++ b/output/administration/hotspot-detection.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能简介 Pegasus 是一个以 hash 分片打散数据的分布式存储系统。通常情况下,流量会均匀地打在集群中的所有节点上。但是在极端情况下,比如 hashkey 设计不合理、出现了热点事件/热点用户、业务代码逻辑错误等场景下,Pegasus 单机节点往往会负载过高从而影响服务整体的可用性。于是我们设计了一套热点检测方案帮助运维人员能及时发现热点问题并找出热点流量。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Hotspot Detection" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能简介 Pegasus 是一个以 hash 分片打散数据的分布式存储系统。通常情况下,流量会均匀地打在集群中的所有节点上。但是在极端情况下,比如 hashkey 设计不合理、出现了热点事件/热点用户、业务代码逻辑错误等场景下,Pegasus 单机节点往往会负载过高从而影响服务整体的可用性。于是我们设计了一套热点检测方案帮助运维人员能及时发现热点问题并找出热点流量。","headline":"Hotspot Detection","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/hotspot-detection"},"url":"/administration/hotspot-detection"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能简介 Pegasus 是一个以 hash 分片打散数据的分布式存储系统。通常情况下,流量会均匀地打在集群中的所有节点上。但是在极端情况下,比如 hashkey 设计不合理、出现了热点事件/热点用户、业务代码逻辑错误等场景下,Pegasus 单机节点往往会负载过高从而影响服务整体的可用性。于是我们设计了一套热点检测方案帮助运维人员能及时发现热点问题并找出热点流量。","headline":"Hotspot Detection","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/hotspot-detection"},"url":"/administration/hotspot-detection"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/index.html b/output/administration/index.html
index be5862e..5f85e8e 100644
--- a/output/administration/index.html
+++ b/output/administration/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus 不仅仅只提供简单的 key value 存储接口,我们还基于稳定性考虑,增加了许多有助于高效运维的特性。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Administration" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus 不仅仅只提供简单的 key value 存储接口,我们还基于稳定性考虑,增加了许多有助于高效运维的特性。","headline":"Administration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/"},"url":"/administration/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus 不仅仅只提供简单的 key value 存储接口,我们还基于稳定性考虑,增加了许多有助于高效运维的特性。","headline":"Administration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/"},"url":"/administration/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/manual-compact.html b/output/administration/manual-compact.html
index 4f9cac7..eb7da82 100644
--- a/output/administration/manual-compact.html
+++ b/output/administration/manual-compact.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Manual Compact" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Manual Compact","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/manual-compact"},"url":"/administration/manual-compact"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Manual Compact","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/manual-compact"},"url":"/administration/manual-compact"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/meta-recovery.html b/output/administration/meta-recovery.html
index 270f645..88d4d85 100644
--- a/output/administration/meta-recovery.html
+++ b/output/administration/meta-recovery.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Meta Recovery" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Meta Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/meta-recovery"},"url":"/administration/meta-recovery"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Meta Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/meta-recovery"},"url":"/administration/meta-recovery"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/monitoring.html b/output/administration/monitoring.html
index 1142b1b..1f89d7c 100644
--- a/output/administration/monitoring.html
+++ b/output/administration/monitoring.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Monitoring" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Monitoring","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/monitoring"},"url":"/administration/monitoring"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Monitoring","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/monitoring"},"url":"/administration/monitoring"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/partition-split.html b/output/administration/partition-split.html
index f58e00c..bbc9513 100644
--- a/output/administration/partition-split.html
+++ b/output/administration/partition-split.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Hotspot Detection" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Hotspot Detection","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/partition-split"},"url":"/administration/partition-split"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Hotspot Detection","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/partition-split"},"url":"/administration/partition-split"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/rebalance.html b/output/administration/rebalance.html
index dacd59d..087690b 100644
--- a/output/administration/rebalance.html
+++ b/output/administration/rebalance.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Rebalance" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Rebalance","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rebalance"},"url":"/administration/rebalance"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Rebalance","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rebalance"},"url":"/administration/rebalance"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/remote-commands.html b/output/administration/remote-commands.html
index ae21ff3..e9762c2 100644
--- a/output/administration/remote-commands.html
+++ b/output/administration/remote-commands.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Remote Commands" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Remote Commands","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/remote-commands"},"url":"/administration/remote-commands"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Remote Commands","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/remote-commands"},"url":"/administration/remote-commands"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/replica-recovery.html b/output/administration/replica-recovery.html
index 52762fd..83b5537 100644
--- a/output/administration/replica-recovery.html
+++ b/output/administration/replica-recovery.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Replica Recovery" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Replica Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/replica-recovery"},"url":"/administration/replica-recovery"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Replica Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/replica-recovery"},"url":"/administration/replica-recovery"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/resource-management.html b/output/administration/resource-management.html
index c73f7de..228060b 100644
--- a/output/administration/resource-management.html
+++ b/output/administration/resource-management.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Resource Management" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Resource Management","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/resource-management"},"url":"/administration/resource-management"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Resource Management","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/resource-management"},"url":"/administration/resource-management"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/rolling-update.html b/output/administration/rolling-update.html
index 5f7f235..bdb9174 100644
--- a/output/administration/rolling-update.html
+++ b/output/administration/rolling-update.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Rolling Update" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Rolling Update","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rolling-update"},"url":"/administration/rolling-update"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Rolling Update","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rolling-update"},"url":"/administration/rolling-update"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/scale-in-out.html b/output/administration/scale-in-out.html
index 63f4904..9b2e6fd 100644
--- a/output/administration/scale-in-out.html
+++ b/output/administration/scale-in-out.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Scale In Out" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Scale In Out","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/scale-in-out"},"url":"/administration/scale-in-out"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Scale In Out","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/scale-in-out"},"url":"/administration/scale-in-out"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/table-env.html b/output/administration/table-env.html
index 9e435eb..7c26aee 100644
--- a/output/administration/table-env.html
+++ b/output/administration/table-env.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Table Env" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Table Env","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-env"},"url":"/administration/table-env"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Table Env","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-env"},"url":"/administration/table-env"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/table-migration.html b/output/administration/table-migration.html
index d42f6f9..f52d1e9 100644
--- a/output/administration/table-migration.html
+++ b/output/administration/table-migration.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Table Migration" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Table Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-migration"},"url":"/administration/table-migration"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Table Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-migration"},"url":"/administration/table-migration"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/table-soft-delete.html b/output/administration/table-soft-delete.html
index 82f1df0..ae6c362 100644
--- a/output/administration/table-soft-delete.html
+++ b/output/administration/table-soft-delete.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Table Soft Delete" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Table Soft Delete","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-soft-delete"},"url":"/administration/table-soft-delete"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Table Soft Delete","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-soft-delete"},"url":"/administration/table-soft-delete"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/throttling.html b/output/administration/throttling.html
index d68feb9..9bb5724 100644
--- a/output/administration/throttling.html
+++ b/output/administration/throttling.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Throttling" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Throttling","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/throttling"},"url":"/administration/throttling"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Throttling","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/throttling"},"url":"/administration/throttling"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/usage-scenario.html b/output/administration/usage-scenario.html
index aa48402..f8ec724 100644
--- a/output/administration/usage-scenario.html
+++ b/output/administration/usage-scenario.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Usage Scenario" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Usage Scenario","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/usage-scenario"},"url":"/administration/usage-scenario"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Usage Scenario","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/usage-scenario"},"url":"/administration/usage-scenario"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/whitelist.html b/output/administration/whitelist.html
index 6762e0d..e3b4f8b 100644
--- a/output/administration/whitelist.html
+++ b/output/administration/whitelist.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Whitelist" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Whitelist","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/whitelist"},"url":"/administration/whitelist"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Whitelist","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/whitelist"},"url":"/administration/whitelist"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/administration/zk-migration.html b/output/administration/zk-migration.html
index e836d44..003c9f9 100644
--- a/output/administration/zk-migration.html
+++ b/output/administration/zk-migration.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Zk Migration" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Zk Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/zk-migration"},"url":"/administration/zk-migration"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Zk Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/zk-migration"},"url":"/administration/zk-migration"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/api/geo.html b/output/api/geo.html
index 39f0ffc..3fb2e4e 100644
--- a/output/api/geo.html
+++ b/output/api/geo.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Geo" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Geo","mainEntityOfPage":{"@type":"WebPage","@id":"/api/geo"},"url":"/api/geo"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Geo","mainEntityOfPage":{"@type":"WebPage","@id":"/api/geo"},"url":"/api/geo"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/api/http.html b/output/api/http.html
index 5bf430f..61bafbf 100644
--- a/output/api/http.html
+++ b/output/api/http.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Http" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Http","mainEntityOfPage":{"@type":"WebPage","@id":"/api/http"},"url":"/api/http"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Http","mainEntityOfPage":{"@type":"WebPage","@id":"/api/http"},"url":"/api/http"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/api/index.html b/output/api/index.html
index 981ad6f..c127a28 100644
--- a/output/api/index.html
+++ b/output/api/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="这里介绍Pegasus服务所提供的用户接口。客户端可以在我们的服务接口上做二次封装。 通常你只需要通过 客户端文档 学习如何与Pegasus交互。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Api" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"这里介绍Pegasus服务所提供的用户接口。客户端可以在我们的服务接口上做二次封装。 通常你只需要通过 客户端文档 学习如何与Pegasus交互。","headline":"Api","mainEntityOfPage":{"@type":"WebPage","@id":"/api/"},"url":"/api/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"这里介绍Pegasus服务所提供的用户接口。客户端可以在我们的服务接口上做二次封装。 通常你只需要通过 客户端文档 学习如何与Pegasus交互。","headline":"Api","mainEntityOfPage":{"@type":"WebPage","@id":"/api/"},"url":"/api/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/api/redis.html b/output/api/redis.html
index 4027fde..f0bafc7 100644
--- a/output/api/redis.html
+++ b/output/api/redis.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Redis" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Redis","mainEntityOfPage":{"@type":"WebPage","@id":"/api/redis"},"url":"/api/redis"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Redis","mainEntityOfPage":{"@type":"WebPage","@id":"/api/redis"},"url":"/api/redis"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/api/single-atomic.html b/output/api/single-atomic.html
index 10d2429..1ce5815 100644
--- a/output/api/single-atomic.html
+++ b/output/api/single-atomic.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Single Atomic" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Single Atomic","mainEntityOfPage":{"@type":"WebPage","@id":"/api/single-atomic"},"url":"/api/single-atomic"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Single Atomic","mainEntityOfPage":{"@type":"WebPage","@id":"/api/single-atomic"},"url":"/api/single-atomic"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/api/ttl.html b/output/api/ttl.html
index c458e95..1691898 100644
--- a/output/api/ttl.html
+++ b/output/api/ttl.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Ttl" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Ttl","mainEntityOfPage":{"@type":"WebPage","@id":"/api/ttl"},"url":"/api/ttl"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Ttl","mainEntityOfPage":{"@type":"WebPage","@id":"/api/ttl"},"url":"/api/ttl"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/clients/cpp-client.html b/output/clients/cpp-client.html
index cf5e1cb..bd82daa 100644
--- a/output/clients/cpp-client.html
+++ b/output/clients/cpp-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Cpp Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Cpp Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/cpp-client"},"url":"/clients/cpp-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Cpp Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/cpp-client"},"url":"/clients/cpp-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/clients/index.html b/output/clients/index.html
index 4799dfd..bf87c49 100644
--- a/output/clients/index.html
+++ b/output/clients/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前提供以下多种客户端支持:" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Clients" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前提供以下多种客户端支持:","headline":"Clients","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/"},"url":"/clients/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前提供以下多种客户端支持:","headline":"Clients","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/"},"url":"/clients/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
@@ -766,7 +754,7 @@
<td><a href="https://github.com/apache/incubator-pegasus/tree/master/go-client">https://github.com/apache/incubator-pegasus/tree/master/go-client</a></td>
</tr>
<tr>
- <td>Python3</td>
+ <td>Python</td>
<td><a href="https://github.com/apache/incubator-pegasus/tree/master/python-client">https://github.com/apache/incubator-pegasus/tree/master/python-client</a></td>
</tr>
<tr>
diff --git a/output/clients/java-client.html b/output/clients/java-client.html
index d2ea94f..5bc7520 100644
--- a/output/clients/java-client.html
+++ b/output/clients/java-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Java Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Java Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/java-client"},"url":"/clients/java-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Java Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/java-client"},"url":"/clients/java-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/clients/node-client.html b/output/clients/node-client.html
index 4d6ad8b..ca33642 100644
--- a/output/clients/node-client.html
+++ b/output/clients/node-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Node Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Node Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/node-client"},"url":"/clients/node-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Node Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/node-client"},"url":"/clients/node-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/clients/python-client.html b/output/clients/python-client.html
index e4f51de..6566f12 100644
--- a/output/clients/python-client.html
+++ b/output/clients/python-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Python Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Python Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python-client"},"url":"/clients/python-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Python Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python-client"},"url":"/clients/python-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
- class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ <a href="/clients/python-client"
+ class="is-active">
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
- class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ <a href="/clients/python-client"
+ class="navbar-item is-active">
+ Python Client
</a>
<a href="/clients/node-client"
@@ -740,7 +728,7 @@
<section class="hero is-info lg:mr-3">
<div class="hero-body">
- <p class="title is-size-2 is-centered"></p>
+ <p class="title is-size-2 is-centered">Python Client</p>
</div>
</section>
<section class="section" style="padding-top: 2rem;">
diff --git a/output/clients/python2-client.html b/output/clients/python2-client.html
deleted file mode 100644
index 772bf4d..0000000
--- a/output/clients/python2-client.html
+++ /dev/null
@@ -1,1282 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Pegasus | Python2 Client</title>
- <link rel="stylesheet" href="/assets/css/app.css">
- <link rel="shortcut icon" href="/assets/images/favicon.ico">
- <link rel="stylesheet" href="/assets/css/utilities.min.css">
- <link rel="stylesheet" href="/assets/css/docsearch.v3.css">
- <script src="/assets/js/jquery.min.js"></script>
- <script src="/assets/js/all.min.js"></script>
- <script src="/assets/js/docsearch.v3.js"></script>
- <!-- Begin Jekyll SEO tag v2.8.0 -->
-<title>Python2 Client | Pegasus</title>
-<meta name="generator" content="Jekyll v4.3.2" />
-<meta property="og:title" content="Python2 Client" />
-<meta property="og:locale" content="en_US" />
-<meta name="description" content="pegasus python client" />
-<meta property="og:description" content="pegasus python client" />
-<meta property="og:site_name" content="Pegasus" />
-<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
-<meta name="twitter:card" content="summary" />
-<meta property="twitter:title" content="Python2 Client" />
-<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"pegasus python client","headline":"Python2 Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python2-client"},"url":"/clients/python2-client"}</script>
-<!-- End Jekyll SEO tag -->
-</head>
-
-
-<body>
- <div class="dashboard is-full-height">
- <!-- left panel -->
- <div class="dashboard-panel is-medium is-hidden-mobile pl-0">
- <div class="dashboard-panel-header has-text-centered">
- <a href="/">
- <img src="/assets/images/pegasus-logo-inv.png" style="width: 80%;">
- </a>
-
- </div>
- <div class="dashboard-panel-main is-scrollable pl-6">
-
-
-<aside class="menu">
-
- <p class="menu-label">The Pegasus documentation</p>
- <ul class="menu-list">
-
- <li>
- <a href="/docs/downloads"
- class="">
- Downloads
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Building Pegasus</p>
- <ul class="menu-list">
-
- <li>
- <a href="/docs/build/compile-by-docker"
- class="">
- Compile by docker (recommended)
- </a>
- </li>
-
- <li>
- <a href="/docs/build/compile-from-source"
- class="">
- Compile from source
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Client Libs</p>
- <ul class="menu-list">
-
- <li>
- <a href="/clients/java-client"
- class="">
- Java Client
- </a>
- </li>
-
- <li>
- <a href="/clients/cpp-client"
- class="">
- C++ Client
- </a>
- </li>
-
- <li>
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="">
- Golang Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python2-client"
- class="is-active">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/node-client"
- class="">
- NodeJS Client
- </a>
- </li>
-
- <li>
- <a href="/clients/scala-client"
- class="">
- Scala Client
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Tools</p>
- <ul class="menu-list">
-
- <li>
- <a href="/docs/tools/shell"
- class="">
- Pegasus Shell
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="">
- Admin CLI
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/pegic"
- class="">
- Pegasus data access CLI
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">API</p>
- <ul class="menu-list">
-
- <li>
- <a href="/api/ttl"
- class="">
- TTL(Time To Live)
- </a>
- </li>
-
- <li>
- <a href="/api/single-atomic"
- class="">
- Single-Atomic Operations
- </a>
- </li>
-
- <li>
- <a href="/api/redis"
- class="">
- Redis Adaption
- </a>
- </li>
-
- <li>
- <a href="/api/geo"
- class="">
- GEO Support
- </a>
- </li>
-
- <li>
- <a href="/api/http"
- class="">
- HTTP API
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Admin</p>
- <ul class="menu-list">
-
- <li>
- <a href="/administration/deployment"
- class="">
- Deployment
- </a>
- </li>
-
- <li>
- <a href="/administration/config"
- class="">
- Configurations
- </a>
- </li>
-
- <li>
- <a href="/administration/rebalance"
- class="">
- Rebalance
- </a>
- </li>
-
- <li>
- <a href="/administration/monitoring"
- class="">
- Monitoring
- </a>
- </li>
-
- <li>
- <a href="/administration/rolling-update"
- class="">
- Rolling-Update
- </a>
- </li>
-
- <li>
- <a href="/administration/scale-in-out"
- class="">
- Scale-in and Scale-out
- </a>
- </li>
-
- <li>
- <a href="/administration/resource-management"
- class="">
- Resource Management
- </a>
- </li>
-
- <li>
- <a href="/administration/cold-backup"
- class="">
- Cold Backup
- </a>
- </li>
-
- <li>
- <a href="/administration/meta-recovery"
- class="">
- Metadata Recovery
- </a>
- </li>
-
- <li>
- <a href="/administration/replica-recovery"
- class="">
- Replica Data Recovery
- </a>
- </li>
-
- <li>
- <a href="/administration/zk-migration"
- class="">
- Zookeeper Migration
- </a>
- </li>
-
- <li>
- <a href="/administration/table-migration"
- class="">
- Table Migration
- </a>
- </li>
-
- <li>
- <a href="/administration/table-soft-delete"
- class="">
- Table Soft-Delete
- </a>
- </li>
-
- <li>
- <a href="/administration/table-env"
- class="">
- Table Environment Variables
- </a>
- </li>
-
- <li>
- <a href="/administration/remote-commands"
- class="">
- Remote Command
- </a>
- </li>
-
- <li>
- <a href="/administration/partition-split"
- class="">
- Partition-Split
- </a>
- </li>
-
- <li>
- <a href="/administration/duplication"
- class="">
- Duplication
- </a>
- </li>
-
- <li>
- <a href="/administration/compression"
- class="">
- Data Compression
- </a>
- </li>
-
- <li>
- <a href="/administration/throttling"
- class="">
- Throttling
- </a>
- </li>
-
- <li>
- <a href="/administration/experiences"
- class="">
- Experiences
- </a>
- </li>
-
- <li>
- <a href="/administration/manual-compact"
- class="">
- Manual Compact
- </a>
- </li>
-
- <li>
- <a href="/administration/usage-scenario"
- class="">
- Usage Scenario
- </a>
- </li>
-
- <li>
- <a href="/administration/bad-disk"
- class="">
- Bad Disk Repair
- </a>
- </li>
-
- <li>
- <a href="/administration/whitelist"
- class="">
- Whitelist
- </a>
- </li>
-
- <li>
- <a href="/administration/backup-request"
- class="">
- Backup Request
- </a>
- </li>
-
- <li>
- <a href="/administration/hotspot-detection"
- class="">
- Hotspot Detection
- </a>
- </li>
-
- </ul>
-
-</aside>
- </div>
- </div>
-
- <!-- main section -->
- <div class="dashboard-main is-scrollable">
- <nav class="navbar is-hidden-desktop">
- <div class="navbar-brand">
- <a href="/" class="navbar-item">
- <!-- Pegasus Icon -->
- <img src="/assets/images/pegasus-square.png">
- </a>
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<a class="button is-light is-outlined is-inverted" href="/zh/clients/python2-client"><strong>中</strong></a>
-
- </div>
- <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navMenu">
- <!-- Appears in mobile mode only -->
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- </a>
- </div>
- <div class="navbar-menu" id="navMenu">
- <div class="navbar-end">
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- The Pegasus documentation
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/docs/downloads"
- class="navbar-item ">
- Downloads
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Building Pegasus
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/docs/build/compile-by-docker"
- class="navbar-item ">
- Compile by docker (recommended)
- </a>
-
- <a href="/docs/build/compile-from-source"
- class="navbar-item ">
- Compile from source
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Client Libs
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/clients/java-client"
- class="navbar-item ">
- Java Client
- </a>
-
- <a href="/clients/cpp-client"
- class="navbar-item ">
- C++ Client
- </a>
-
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="navbar-item ">
- Golang Client
- </a>
-
- <a href="/clients/python2-client"
- class="navbar-item is-active">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
- </a>
-
- <a href="/clients/node-client"
- class="navbar-item ">
- NodeJS Client
- </a>
-
- <a href="/clients/scala-client"
- class="navbar-item ">
- Scala Client
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Tools
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/docs/tools/shell"
- class="navbar-item ">
- Pegasus Shell
- </a>
-
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="navbar-item ">
- Admin CLI
- </a>
-
- <a href="https://github.com/pegasus-kv/pegic"
- class="navbar-item ">
- Pegasus data access CLI
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- API
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/api/ttl"
- class="navbar-item ">
- TTL(Time To Live)
- </a>
-
- <a href="/api/single-atomic"
- class="navbar-item ">
- Single-Atomic Operations
- </a>
-
- <a href="/api/redis"
- class="navbar-item ">
- Redis Adaption
- </a>
-
- <a href="/api/geo"
- class="navbar-item ">
- GEO Support
- </a>
-
- <a href="/api/http"
- class="navbar-item ">
- HTTP API
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Admin
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/administration/deployment"
- class="navbar-item ">
- Deployment
- </a>
-
- <a href="/administration/config"
- class="navbar-item ">
- Configurations
- </a>
-
- <a href="/administration/rebalance"
- class="navbar-item ">
- Rebalance
- </a>
-
- <a href="/administration/monitoring"
- class="navbar-item ">
- Monitoring
- </a>
-
- <a href="/administration/rolling-update"
- class="navbar-item ">
- Rolling-Update
- </a>
-
- <a href="/administration/scale-in-out"
- class="navbar-item ">
- Scale-in and Scale-out
- </a>
-
- <a href="/administration/resource-management"
- class="navbar-item ">
- Resource Management
- </a>
-
- <a href="/administration/cold-backup"
- class="navbar-item ">
- Cold Backup
- </a>
-
- <a href="/administration/meta-recovery"
- class="navbar-item ">
- Metadata Recovery
- </a>
-
- <a href="/administration/replica-recovery"
- class="navbar-item ">
- Replica Data Recovery
- </a>
-
- <a href="/administration/zk-migration"
- class="navbar-item ">
- Zookeeper Migration
- </a>
-
- <a href="/administration/table-migration"
- class="navbar-item ">
- Table Migration
- </a>
-
- <a href="/administration/table-soft-delete"
- class="navbar-item ">
- Table Soft-Delete
- </a>
-
- <a href="/administration/table-env"
- class="navbar-item ">
- Table Environment Variables
- </a>
-
- <a href="/administration/remote-commands"
- class="navbar-item ">
- Remote Command
- </a>
-
- <a href="/administration/partition-split"
- class="navbar-item ">
- Partition-Split
- </a>
-
- <a href="/administration/duplication"
- class="navbar-item ">
- Duplication
- </a>
-
- <a href="/administration/compression"
- class="navbar-item ">
- Data Compression
- </a>
-
- <a href="/administration/throttling"
- class="navbar-item ">
- Throttling
- </a>
-
- <a href="/administration/experiences"
- class="navbar-item ">
- Experiences
- </a>
-
- <a href="/administration/manual-compact"
- class="navbar-item ">
- Manual Compact
- </a>
-
- <a href="/administration/usage-scenario"
- class="navbar-item ">
- Usage Scenario
- </a>
-
- <a href="/administration/bad-disk"
- class="navbar-item ">
- Bad Disk Repair
- </a>
-
- <a href="/administration/whitelist"
- class="navbar-item ">
- Whitelist
- </a>
-
- <a href="/administration/backup-request"
- class="navbar-item ">
- Backup Request
- </a>
-
- <a href="/administration/hotspot-detection"
- class="navbar-item ">
- Hotspot Detection
- </a>
-
- </div>
- </div>
-
- </div>
- </div>
-</nav>
-
-<nav class="navbar is-hidden-mobile">
- <div class="navbar-start w-full">
- <div class="navbar-item pl-0 w-full">
- <!--TODO(wutao): Given the limitation of docsearch that couldn't handle multiple input,
- I make searchbox only shown in desktop. Fix this issue when docsearch.js v3 released.
- Related issue: https://github.com/algolia/docsearch/issues/230-->
- <div id="docsearch"></div>
- </div>
- </div>
- <div class="navbar-end">
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<a class="button is-light is-outlined is-inverted" href="/zh/clients/python2-client"><strong>中</strong></a>
-
- </div>
- </div>
-</nav>
-
- <section class="hero is-info lg:mr-3">
- <div class="hero-body">
-
- <p class="title is-size-2 is-centered">Python2 Client</p>
- </div>
- </section>
- <section class="section" style="padding-top: 2rem;">
- <div class="content">
- <h1 id="pegasus-python-client">pegasus python client</h1>
-
-<h2 id="项目地址">项目地址</h2>
-
-<p><a href="https://github.com/XiaoMi/pegasus-python-client">https://github.com/XiaoMi/pegasus-python-client</a></p>
-
-<h2 id="版本要求">版本要求</h2>
-
-<p>Python 2.*</p>
-
-<h2 id="安装">安装</h2>
-
-<p><code class="language-plaintext highlighter-rouge">pip install pypegasus</code></p>
-
-<h2 id="使用">使用</h2>
-
-<p>pegasus python client使用了<a href="https://github.com/twisted/twisted">twisted</a>, 编写的代码会带有twisted的影子。</p>
-
-<h3 id="示例">示例</h3>
-
-<p>完整的示例请参考<a href="https://github.com/XiaoMi/pegasus-python-client/blob/master/sample.py">sample</a>。以下是简单的示例:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#!/usr/bin/env python
-# coding:utf-8
-
-from pypegasus.pgclient import Pegasus
-
-from twisted.internet import reactor
-from twisted.internet.defer import inlineCallbacks
-
-
-@inlineCallbacks
-def basic_test():
- # init
- c = Pegasus(['127.0.0.1:34601', '127.0.0.1:34602'], 'temp')
-
- suc = yield c.init()
- if not suc:
- reactor.stop()
- print('ERROR: connect pegasus server failed')
- return
-
- # set
- try:
- ret = yield c.set('hkey1', 'skey1', 'value', 0, 500)
- print('set ret: ', ret)
- except Exception as e:
- print(e)
-
- # get
- ret = yield c.get('hkey1', 'skey1')
- print('get ret: ', ret)
-
- reactor.stop()
-
-
-if __name__ == "__main__":
- reactor.callWhenRunning(basic_test)
- reactor.run()
-</code></pre></div></div>
-
-<h3 id="log配置文件">log配置文件</h3>
-
-<p>pegasus python client使用了<a href="https://docs.python.org/2/library/logging.html">logging</a>日志包,默认配置如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[loggers]
-keys=root
-[logger_root]
-level=INFO
-handlers=hand01
-propagate=0
-[handlers]
-keys=hand01
-[handler_hand01]
-class=handlers.RotatingFileHandler
-formatter=form01
-args=('pegasus.log', 'a', 100*1024*1024, 10)
-[formatters]
-keys=form01
-[formatter_form01]
-format=%(asctime)s [%(thread)d] [%(levelname)s] %(filename)s:%(lineno)d %(message)s
-datefmt=%Y-%m-%d %H:%M:%S
-</code></pre></div></div>
-
-<p>如果用户有定制需求,可以在自己的代码目录添加配置文件<code class="language-plaintext highlighter-rouge">logger.conf</code></p>
-
-<h3 id="api说明">API说明</h3>
-
-<h4 id="初始化">初始化</h4>
-
-<p>初始化先构造Pegasus对象,在使用init函数完成初始化:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class Pegasus(object):
- """
- Pegasus client class.
- """
-
- def __init__(self, meta_addrs=None, table_name='',
- timeout=DEFAULT_TIMEOUT):
- """
- :param meta_addrs: (list) pagasus meta servers list.
- example: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603']
- :param table_name: (str) table name/app name used in pegasus.
- :param timeout: (int) default timeout in milliseconds when communicate with meta sever and replica server.
- """
-</code></pre></div></div>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> def init(self):
- """
- Initialize the client before you can use it.
-
- :return: (DeferredList) True when initialized succeed, others when failed.
- """
-</code></pre></div></div>
-
-<h4 id="ttl">ttl</h4>
-
-<p>判断key的剩余的ttl时间</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def ttl(self, hash_key, sort_key, timeout=0):
- """
- Get ttl(time to live) of the data.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, int>) (code, ttl)
- code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- ttl: in seconds, -1 means forever.
- """
-</code></pre></div></div>
-
-<h4 id="exist">exist</h4>
-
-<p>判断key是否存在</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def exist(self, hash_key, sort_key, timeout=0):
- """
- Check value exist.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="set">set</h4>
-
-<p>插入一条数据(若已存在则会覆盖)</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def set(self, hash_key, sort_key, value, ttl=0, timeout=0):
- """
- Set value to be stored in <hash_key, sort_key>.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param value: (str) value to be stored under <hash_key, sort_key>.
- :param ttl: (int) ttl(time to live) in seconds of this data.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="multi_set">multi_set</h4>
-
-<p>同时写一条hashkey的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_set(self, hash_key, sortkey_value_dict, ttl=0, timeout=0):
- """
- Set multiple sort_keys-values under hash_key to be stored.
-
- :param hash_key: (str) which hash key used for this API.
- :param sortkey_value_dict: (dict) <sort_key, value> pairs in dict.
- :param ttl: (int) ttl(time to live) in seconds of these data.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, _>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="get">get</h4>
-
-<p>获取一条数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get(self, hash_key, sort_key, timeout=0):
- """
- Get value stored in <hash_key, sort_key>.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, str>) (code, value).
- code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- value: data stored in this <hash_key, sort_key>
- """
-</code></pre></div></div>
-
-<h4 id="multi_get">multi_get</h4>
-
-<p>同时读一条hashkey的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get(self, hash_key,
- sortkey_set,
- max_kv_count=100,
- max_kv_size=1000000,
- no_value=False,
- timeout=0):
- """
- Get multiple values stored in <hash_key, sortkey> pairs.
-
- :param hash_key: (str) which hash key used for this API.
- :param sortkey_set: (set) sort keys in set.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param no_value: (bool) whether to fetch value of these keys.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, dict>) (code, kvs)
- code: error_types.ERR_OK.value when data got succeed.
- kvs: <sort_key, value> pairs in dict.
- """
-</code></pre></div></div>
-
-<h4 id="multi_get_opt">multi_get_opt</h4>
-
-<p>同时读一条hashkey的多条sortkey数据, 读取的数据根据<code class="language-plaintext highlighter-rouge">multi_get_options</code>参数指定的模式确定。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get_opt(self, hash_key,
- start_sort_key, stop_sort_key,
- multi_get_options,
- max_kv_count=100,
- max_kv_size=1000000,
- timeout=0):
- """
- Get multiple values stored in hash_key, and sort key range in [start_sort_key, stop_sort_key) as default.
-
- :param hash_key: (str) which hash key used for this API.
- :param start_sort_key: (str) returned k-v pairs is start from start_sort_key.
- :param stop_sort_key: (str) returned k-v pairs is stop at stop_sort_key.
- :param multi_get_options: (MultiGetOptions) configurable multi_get options.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, dict>) (code, kvs)
- code: error_types.ERR_OK.value when data got succeed.
- kvs: <sort_key, value> pairs in dict.
- """
-</code></pre></div></div>
-
-<p>其中,<code class="language-plaintext highlighter-rouge">MultiGetOptions</code>可以指定sortkey的范围、是否包含边界、子串匹配、是否返回value、是否逆序等,具体定义如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class MultiGetOptions(object):
- """
- configurable options for multi_get.
- """
-
- def __init__(self):
- self.start_inclusive = True
- self.stop_inclusive = False
- self.sortkey_filter_type = filter_type.FT_NO_FILTER
- self.sortkey_filter_pattern = ""
- self.no_value = False
- self.reverse = False
-
-class filter_type:
- FT_NO_FILTER = 0
- FT_MATCH_ANYWHERE = 1
- FT_MATCH_PREFIX = 2
- FT_MATCH_POSTFIX = 3
-</code></pre></div></div>
-
-<h4 id="remove">remove</h4>
-
-<p>删除一条数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def remove(self, hash_key, sort_key, timeout=0):
- """
- Remove the entire <hash_key, sort_key>-value in pegasus.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="multi_del">multi_del</h4>
-
-<p>批量删除一个hashkey下的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_del(self, hash_key, sortkey_set, timeout=0):
- """
- Remove multiple entire <hash_key, sort_key>-values in pegasus.
-
- :param hash_key: (str) which hash key used for this API.
- :param sortkey_set: (set) sort keys in set.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, int>) (code, count).
- code: error_types.ERR_OK.value when data got succeed.
- count: count of deleted k-v pairs.
- """
-</code></pre></div></div>
-
-<h4 id="sort_key_count">sort_key_count</h4>
-
-<p>获取一个hashkey下的sortkey数量</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def sort_key_count(self, hash_key, timeout=0):
- """
- Get the total sort key count under the hash_key.
-
- :param hash_key: (str) which hash key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, count>) (code, count)
- code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- value: total sort key count under the hash_key.
- """
-</code></pre></div></div>
-
-<h4 id="get_sort_keys">get_sort_keys</h4>
-
-<p>获取一个hashkey下的sortkey值</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_sort_keys(self, hash_key,
- max_kv_count=100,
- max_kv_size=1000000,
- timeout=0):
- """
- Get multiple sort keys under hash_key.
-
- :param hash_key: (str) which hash key used for this API.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, set>) (code, ks)
- code: error_types.ERR_OK.value when data got succeed.
- ks: <sort_key, ign> pairs in dict, ign will always be empty str.
- """
-</code></pre></div></div>
-
-<h4 id="get_scanner">get_scanner</h4>
-
-<p>获取scanner对象,用于指定范围的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_scanner(self, hash_key,
- start_sort_key, stop_sort_key,
- scan_options):
- """
- Get scanner for hash_key, start from start_sort_key, and stop at stop_sort_key.
- Whether the scanner include the start_sort_key and stop_sort_key is configurable by scan_options
-
- :param hash_key: (str) which hash key used for this API.
- :param start_sort_key: (str) returned scanner is start from start_sort_key.
- :param stop_sort_key: (str) returned scanner is stop at stop_sort_key.
- :param scan_options: (ScanOptions) configurable scan options.
- :return: (PegasusScanner) scanner, instance of PegasusScanner.
- """
-</code></pre></div></div>
-
-<p>其中,<code class="language-plaintext highlighter-rouge">ScanOptions</code>可以指定是否包含边界、超时时间、一次从replica server批量获取的sortkey-value数量等,具体定义如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class ScanOptions(object):
- """
- configurable options for scan.
- """
-
- def __init__(self):
- self.timeout_millis = 5000
- self.batch_size = 1000
- self.start_inclusive = True
- self.stop_inclusive = False
- self.snapshot = None # for future use
-</code></pre></div></div>
-
-<h4 id="get_unordered_scanners">get_unordered_scanners</h4>
-
-<p>一次性获取多个scanner,用于整个table的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_unordered_scanners(self, max_split_count, scan_options):
- """
- Get scanners for the whole pegasus table.
-
- :param max_split_count: (int) max count of scanners will be returned.
- :param scan_options: (ScanOptions) configurable scan options.
- :return: (list) instance of PegasusScanner list.
- each scanner in this list can scan separate part of the whole pegasus table.
- """
-</code></pre></div></div>
-
-<h4 id="scanner对象">scanner对象</h4>
-
-<p>用于数据扫描的对象,由<code class="language-plaintext highlighter-rouge">get_scanner</code>和<code class="language-plaintext highlighter-rouge">get_unordered_scanners</code>返回。使用它的<code class="language-plaintext highlighter-rouge">next</code>函数执行扫描过程。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class PegasusScanner(object):
- """
- Pegasus scanner class, used for scanning data in pegasus table.
- """
-</code></pre></div></div>
-
-<h4 id="get_next">get_next</h4>
-
-<p>获取扫描得到的数据,需要循环执行,直到返回<code class="language-plaintext highlighter-rouge">None</code>结束扫描。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_next(self):
- """
- scan the next k-v pair for the scanner.
-
- :return: (tuple<tuple<hash_key, sort_key>, value> or None)
- all the sort_keys returned by this API are in ascend order.
- """
-</code></pre></div></div>
-
- </div>
- </section>
- <footer class="footer">
- <div class="container">
- <div class="content is-small has-text-centered">
- <div style="margin-bottom: 20px;">
- <a href="http://incubator.apache.org">
- <img src="/assets/images/egg-logo.png"
- width="15%"
- alt="Apache Incubator"/>
- </a>
- </div>
- Copyright © 2023 <a href="http://www.apache.org">The Apache Software Foundation</a>.
- Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
- 2.0</a>.
- <br><br>
-
- Apache Pegasus is an effort undergoing incubation at The Apache Software Foundation (ASF),
- sponsored by the Apache Incubator. Incubation is required of all newly accepted projects
- until a further review indicates that the infrastructure, communications, and decision making process
- have stabilized in a manner consistent with other successful ASF projects. While incubation status is
- not necessarily a reflection of the completeness or stability of the code, it does indicate that the
- project has yet to be fully endorsed by the ASF.
-
- <br><br>
- Apache Pegasus, Pegasus, Apache, the Apache feather logo, and the Apache Pegasus project logo are either
- registered trademarks or trademarks of The Apache Software Foundation in the United States and other
- countries.
- </div>
- </div>
-</footer>
- </div>
-
- <!-- right panel -->
- <div class="dashboard-panel is-small is-scrollable is-hidden-mobile">
- <p class="menu-label">
- <span class="icon">
- <i class="fa fa-bars" aria-hidden="true"></i>
- </span>
- Table of contents
-</p>
-<ul class="menu-list">
- <li><a href="#pegasus-python-client">pegasus python client</a>
- <ul>
- <li><a href="#项目地址">项目地址</a></li>
- <li><a href="#版本要求">版本要求</a></li>
- <li><a href="#安装">安装</a></li>
- <li><a href="#使用">使用</a>
- <ul>
- <li><a href="#示例">示例</a></li>
- <li><a href="#log配置文件">log配置文件</a></li>
- <li><a href="#api说明">API说明</a>
- <ul>
- <li><a href="#初始化">初始化</a></li>
- <li><a href="#ttl">ttl</a></li>
- <li><a href="#exist">exist</a></li>
- <li><a href="#set">set</a></li>
- <li><a href="#multi_set">multi_set</a></li>
- <li><a href="#get">get</a></li>
- <li><a href="#multi_get">multi_get</a></li>
- <li><a href="#multi_get_opt">multi_get_opt</a></li>
- <li><a href="#remove">remove</a></li>
- <li><a href="#multi_del">multi_del</a></li>
- <li><a href="#sort_key_count">sort_key_count</a></li>
- <li><a href="#get_sort_keys">get_sort_keys</a></li>
- <li><a href="#get_scanner">get_scanner</a></li>
- <li><a href="#get_unordered_scanners">get_unordered_scanners</a></li>
- <li><a href="#scanner对象">scanner对象</a></li>
- <li><a href="#get_next">get_next</a></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
-</ul>
-
- </div>
- </div>
-
- <script src="/assets/js/app.js" type="text/javascript"></script>
- <script>
- docsearch({
- container: '#docsearch',
- appId: 'QRN30RBW0S',
- indexName: 'pegasus-apache',
- apiKey: 'd3a3252fa344359766707a106c4ed88f',
- debug: true
- });
- </script>
-
-</body>
-
-</html>
\ No newline at end of file
diff --git a/output/clients/python3-client.html b/output/clients/python3-client.html
deleted file mode 100644
index 8fa2c23..0000000
--- a/output/clients/python3-client.html
+++ /dev/null
@@ -1,1283 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Pegasus | Python3 Client</title>
- <link rel="stylesheet" href="/assets/css/app.css">
- <link rel="shortcut icon" href="/assets/images/favicon.ico">
- <link rel="stylesheet" href="/assets/css/utilities.min.css">
- <link rel="stylesheet" href="/assets/css/docsearch.v3.css">
- <script src="/assets/js/jquery.min.js"></script>
- <script src="/assets/js/all.min.js"></script>
- <script src="/assets/js/docsearch.v3.js"></script>
- <!-- Begin Jekyll SEO tag v2.8.0 -->
-<title>Python3 Client | Pegasus</title>
-<meta name="generator" content="Jekyll v4.3.2" />
-<meta property="og:title" content="Python3 Client" />
-<meta property="og:locale" content="en_US" />
-<meta name="description" content="pegasus python client" />
-<meta property="og:description" content="pegasus python client" />
-<meta property="og:site_name" content="Pegasus" />
-<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
-<meta name="twitter:card" content="summary" />
-<meta property="twitter:title" content="Python3 Client" />
-<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"pegasus python client","headline":"Python3 Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python3-client"},"url":"/clients/python3-client"}</script>
-<!-- End Jekyll SEO tag -->
-</head>
-
-
-<body>
- <div class="dashboard is-full-height">
- <!-- left panel -->
- <div class="dashboard-panel is-medium is-hidden-mobile pl-0">
- <div class="dashboard-panel-header has-text-centered">
- <a href="/">
- <img src="/assets/images/pegasus-logo-inv.png" style="width: 80%;">
- </a>
-
- </div>
- <div class="dashboard-panel-main is-scrollable pl-6">
-
-
-<aside class="menu">
-
- <p class="menu-label">The Pegasus documentation</p>
- <ul class="menu-list">
-
- <li>
- <a href="/docs/downloads"
- class="">
- Downloads
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Building Pegasus</p>
- <ul class="menu-list">
-
- <li>
- <a href="/docs/build/compile-by-docker"
- class="">
- Compile by docker (recommended)
- </a>
- </li>
-
- <li>
- <a href="/docs/build/compile-from-source"
- class="">
- Compile from source
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Client Libs</p>
- <ul class="menu-list">
-
- <li>
- <a href="/clients/java-client"
- class="">
- Java Client
- </a>
- </li>
-
- <li>
- <a href="/clients/cpp-client"
- class="">
- C++ Client
- </a>
- </li>
-
- <li>
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="">
- Golang Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python2-client"
- class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="is-active">
- Python3 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/node-client"
- class="">
- NodeJS Client
- </a>
- </li>
-
- <li>
- <a href="/clients/scala-client"
- class="">
- Scala Client
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Tools</p>
- <ul class="menu-list">
-
- <li>
- <a href="/docs/tools/shell"
- class="">
- Pegasus Shell
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="">
- Admin CLI
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/pegic"
- class="">
- Pegasus data access CLI
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">API</p>
- <ul class="menu-list">
-
- <li>
- <a href="/api/ttl"
- class="">
- TTL(Time To Live)
- </a>
- </li>
-
- <li>
- <a href="/api/single-atomic"
- class="">
- Single-Atomic Operations
- </a>
- </li>
-
- <li>
- <a href="/api/redis"
- class="">
- Redis Adaption
- </a>
- </li>
-
- <li>
- <a href="/api/geo"
- class="">
- GEO Support
- </a>
- </li>
-
- <li>
- <a href="/api/http"
- class="">
- HTTP API
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">Admin</p>
- <ul class="menu-list">
-
- <li>
- <a href="/administration/deployment"
- class="">
- Deployment
- </a>
- </li>
-
- <li>
- <a href="/administration/config"
- class="">
- Configurations
- </a>
- </li>
-
- <li>
- <a href="/administration/rebalance"
- class="">
- Rebalance
- </a>
- </li>
-
- <li>
- <a href="/administration/monitoring"
- class="">
- Monitoring
- </a>
- </li>
-
- <li>
- <a href="/administration/rolling-update"
- class="">
- Rolling-Update
- </a>
- </li>
-
- <li>
- <a href="/administration/scale-in-out"
- class="">
- Scale-in and Scale-out
- </a>
- </li>
-
- <li>
- <a href="/administration/resource-management"
- class="">
- Resource Management
- </a>
- </li>
-
- <li>
- <a href="/administration/cold-backup"
- class="">
- Cold Backup
- </a>
- </li>
-
- <li>
- <a href="/administration/meta-recovery"
- class="">
- Metadata Recovery
- </a>
- </li>
-
- <li>
- <a href="/administration/replica-recovery"
- class="">
- Replica Data Recovery
- </a>
- </li>
-
- <li>
- <a href="/administration/zk-migration"
- class="">
- Zookeeper Migration
- </a>
- </li>
-
- <li>
- <a href="/administration/table-migration"
- class="">
- Table Migration
- </a>
- </li>
-
- <li>
- <a href="/administration/table-soft-delete"
- class="">
- Table Soft-Delete
- </a>
- </li>
-
- <li>
- <a href="/administration/table-env"
- class="">
- Table Environment Variables
- </a>
- </li>
-
- <li>
- <a href="/administration/remote-commands"
- class="">
- Remote Command
- </a>
- </li>
-
- <li>
- <a href="/administration/partition-split"
- class="">
- Partition-Split
- </a>
- </li>
-
- <li>
- <a href="/administration/duplication"
- class="">
- Duplication
- </a>
- </li>
-
- <li>
- <a href="/administration/compression"
- class="">
- Data Compression
- </a>
- </li>
-
- <li>
- <a href="/administration/throttling"
- class="">
- Throttling
- </a>
- </li>
-
- <li>
- <a href="/administration/experiences"
- class="">
- Experiences
- </a>
- </li>
-
- <li>
- <a href="/administration/manual-compact"
- class="">
- Manual Compact
- </a>
- </li>
-
- <li>
- <a href="/administration/usage-scenario"
- class="">
- Usage Scenario
- </a>
- </li>
-
- <li>
- <a href="/administration/bad-disk"
- class="">
- Bad Disk Repair
- </a>
- </li>
-
- <li>
- <a href="/administration/whitelist"
- class="">
- Whitelist
- </a>
- </li>
-
- <li>
- <a href="/administration/backup-request"
- class="">
- Backup Request
- </a>
- </li>
-
- <li>
- <a href="/administration/hotspot-detection"
- class="">
- Hotspot Detection
- </a>
- </li>
-
- </ul>
-
-</aside>
- </div>
- </div>
-
- <!-- main section -->
- <div class="dashboard-main is-scrollable">
- <nav class="navbar is-hidden-desktop">
- <div class="navbar-brand">
- <a href="/" class="navbar-item">
- <!-- Pegasus Icon -->
- <img src="/assets/images/pegasus-square.png">
- </a>
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<a class="button is-light is-outlined is-inverted" href="/zh/clients/python3-client"><strong>中</strong></a>
-
- </div>
- <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navMenu">
- <!-- Appears in mobile mode only -->
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- </a>
- </div>
- <div class="navbar-menu" id="navMenu">
- <div class="navbar-end">
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- The Pegasus documentation
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/docs/downloads"
- class="navbar-item ">
- Downloads
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Building Pegasus
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/docs/build/compile-by-docker"
- class="navbar-item ">
- Compile by docker (recommended)
- </a>
-
- <a href="/docs/build/compile-from-source"
- class="navbar-item ">
- Compile from source
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Client Libs
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/clients/java-client"
- class="navbar-item ">
- Java Client
- </a>
-
- <a href="/clients/cpp-client"
- class="navbar-item ">
- C++ Client
- </a>
-
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="navbar-item ">
- Golang Client
- </a>
-
- <a href="/clients/python2-client"
- class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item is-active">
- Python3 Client
- </a>
-
- <a href="/clients/node-client"
- class="navbar-item ">
- NodeJS Client
- </a>
-
- <a href="/clients/scala-client"
- class="navbar-item ">
- Scala Client
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Tools
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/docs/tools/shell"
- class="navbar-item ">
- Pegasus Shell
- </a>
-
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="navbar-item ">
- Admin CLI
- </a>
-
- <a href="https://github.com/pegasus-kv/pegic"
- class="navbar-item ">
- Pegasus data access CLI
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- API
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/api/ttl"
- class="navbar-item ">
- TTL(Time To Live)
- </a>
-
- <a href="/api/single-atomic"
- class="navbar-item ">
- Single-Atomic Operations
- </a>
-
- <a href="/api/redis"
- class="navbar-item ">
- Redis Adaption
- </a>
-
- <a href="/api/geo"
- class="navbar-item ">
- GEO Support
- </a>
-
- <a href="/api/http"
- class="navbar-item ">
- HTTP API
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Admin
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/administration/deployment"
- class="navbar-item ">
- Deployment
- </a>
-
- <a href="/administration/config"
- class="navbar-item ">
- Configurations
- </a>
-
- <a href="/administration/rebalance"
- class="navbar-item ">
- Rebalance
- </a>
-
- <a href="/administration/monitoring"
- class="navbar-item ">
- Monitoring
- </a>
-
- <a href="/administration/rolling-update"
- class="navbar-item ">
- Rolling-Update
- </a>
-
- <a href="/administration/scale-in-out"
- class="navbar-item ">
- Scale-in and Scale-out
- </a>
-
- <a href="/administration/resource-management"
- class="navbar-item ">
- Resource Management
- </a>
-
- <a href="/administration/cold-backup"
- class="navbar-item ">
- Cold Backup
- </a>
-
- <a href="/administration/meta-recovery"
- class="navbar-item ">
- Metadata Recovery
- </a>
-
- <a href="/administration/replica-recovery"
- class="navbar-item ">
- Replica Data Recovery
- </a>
-
- <a href="/administration/zk-migration"
- class="navbar-item ">
- Zookeeper Migration
- </a>
-
- <a href="/administration/table-migration"
- class="navbar-item ">
- Table Migration
- </a>
-
- <a href="/administration/table-soft-delete"
- class="navbar-item ">
- Table Soft-Delete
- </a>
-
- <a href="/administration/table-env"
- class="navbar-item ">
- Table Environment Variables
- </a>
-
- <a href="/administration/remote-commands"
- class="navbar-item ">
- Remote Command
- </a>
-
- <a href="/administration/partition-split"
- class="navbar-item ">
- Partition-Split
- </a>
-
- <a href="/administration/duplication"
- class="navbar-item ">
- Duplication
- </a>
-
- <a href="/administration/compression"
- class="navbar-item ">
- Data Compression
- </a>
-
- <a href="/administration/throttling"
- class="navbar-item ">
- Throttling
- </a>
-
- <a href="/administration/experiences"
- class="navbar-item ">
- Experiences
- </a>
-
- <a href="/administration/manual-compact"
- class="navbar-item ">
- Manual Compact
- </a>
-
- <a href="/administration/usage-scenario"
- class="navbar-item ">
- Usage Scenario
- </a>
-
- <a href="/administration/bad-disk"
- class="navbar-item ">
- Bad Disk Repair
- </a>
-
- <a href="/administration/whitelist"
- class="navbar-item ">
- Whitelist
- </a>
-
- <a href="/administration/backup-request"
- class="navbar-item ">
- Backup Request
- </a>
-
- <a href="/administration/hotspot-detection"
- class="navbar-item ">
- Hotspot Detection
- </a>
-
- </div>
- </div>
-
- </div>
- </div>
-</nav>
-
-<nav class="navbar is-hidden-mobile">
- <div class="navbar-start w-full">
- <div class="navbar-item pl-0 w-full">
- <!--TODO(wutao): Given the limitation of docsearch that couldn't handle multiple input,
- I make searchbox only shown in desktop. Fix this issue when docsearch.js v3 released.
- Related issue: https://github.com/algolia/docsearch/issues/230-->
- <div id="docsearch"></div>
- </div>
- </div>
- <div class="navbar-end">
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<a class="button is-light is-outlined is-inverted" href="/zh/clients/python3-client"><strong>中</strong></a>
-
- </div>
- </div>
-</nav>
-
- <section class="hero is-info lg:mr-3">
- <div class="hero-body">
-
- <p class="title is-size-2 is-centered">Python3 Client</p>
- </div>
- </section>
- <section class="section" style="padding-top: 2rem;">
- <div class="content">
- <h1 id="pegasus-python-client">pegasus python client</h1>
-
-<h2 id="项目地址">项目地址</h2>
-
-<p><a href="https://github.com/apache/incubator-pegasus/tree/master/python-client">https://github.com/apache/incubator-pegasus/tree/master/python-client</a></p>
-
-<h2 id="版本要求">版本要求</h2>
-
-<p>Python 3.7+</p>
-
-<h2 id="安装">安装</h2>
-
-<p><code class="language-plaintext highlighter-rouge">pip3 install pypegasus3</code></p>
-
-<h2 id="使用">使用</h2>
-
-<p>pegasus python3 client 从 python2-client 改动而来,对原有的接口参数做了破坏性改动,由<code class="language-plaintext highlighter-rouge">str</code>改为<code class="language-plaintext highlighter-rouge">bytes</code>,并不再支持 python2 环境。</p>
-
-<p>其他使用方法与 python2 客户端无差异</p>
-
-<h3 id="示例">示例</h3>
-
-<p>完整的示例请参考<a href="https://github.com/apache/incubator-pegasus/tree/master/python-client/sample.py">sample</a>。以下是简单的示例:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#!/usr/bin/env python
-# coding:utf-8
-
-from pypegasus.pgclient import Pegasus
-
-from twisted.internet import reactor
-from twisted.internet.defer import inlineCallbacks
-
-
-@inlineCallbacks
-def basic_test():
- # init
- c = Pegasus(['127.0.0.1:34601', '127.0.0.1:34602'], 'temp')
-
- suc = yield c.init()
- if not suc:
- reactor.stop()
- print('ERROR: connect pegasus server failed')
- return
-
- # set
- try:
- ret = yield c.set('hkey1', 'skey1', 'value', 0, 500)
- print('set ret: ', ret)
- except Exception as e:
- print(e)
-
- # get
- ret = yield c.get('hkey1', 'skey1')
- print('get ret: ', bytes.decode(ret))
-
- reactor.stop()
-
-
-if __name__ == "__main__":
- reactor.callWhenRunning(basic_test)
- reactor.run()
-</code></pre></div></div>
-
-<h3 id="log配置文件">log配置文件</h3>
-
-<p>pegasus python client使用了<a href="https://docs.python.org/2/library/logging.html">logging</a>日志包,默认配置如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[loggers]
-keys=root
-[logger_root]
-level=INFO
-handlers=hand01
-propagate=0
-[handlers]
-keys=hand01
-[handler_hand01]
-class=handlers.RotatingFileHandler
-formatter=form01
-args=('pegasus.log', 'a', 100*1024*1024, 10)
-[formatters]
-keys=form01
-[formatter_form01]
-format=%(asctime)s [%(thread)d] [%(levelname)s] %(filename)s:%(lineno)d %(message)s
-datefmt=%Y-%m-%d %H:%M:%S
-</code></pre></div></div>
-
-<p>如果用户有定制需求,可以在自己的代码目录添加配置文件<code class="language-plaintext highlighter-rouge">logger.conf</code></p>
-
-<h3 id="api说明">API说明</h3>
-
-<h4 id="初始化">初始化</h4>
-
-<p>初始化先构造Pegasus对象,在使用init函数完成初始化:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class Pegasus(object):
- """
- Pegasus client class.
- """
-
- def __init__(self, meta_addrs=None, table_name='',
- timeout=DEFAULT_TIMEOUT):
- """
- :param meta_addrs: (list) pagasus meta servers list.
- example: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603']
- :param table_name: (bytes) table name/app name used in pegasus.
- :param timeout: (int) default timeout in milliseconds when communicate with meta sever and replica server.
- """
-</code></pre></div></div>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> def init(self):
- """
- Initialize the client before you can use it.
-
- :return: (DeferredList) True when initialized succeed, others when failed.
- """
-</code></pre></div></div>
-
-<h4 id="ttl">ttl</h4>
-
-<p>判断key的剩余的ttl时间</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def ttl(self, hash_key, sort_key, timeout=0):
- """
- Get ttl(time to live) of the data.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sort_key: (bytes) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, int>) (code, ttl)
- code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- ttl: in seconds, -1 means forever.
- """
-</code></pre></div></div>
-
-<h4 id="exist">exist</h4>
-
-<p>判断key是否存在</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def exist(self, hash_key, sort_key, timeout=0):
- """
- Check value exist.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sort_key: (bytes) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="set">set</h4>
-
-<p>插入一条数据(若已存在则会覆盖)</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def set(self, hash_key, sort_key, value, ttl=0, timeout=0):
- """
- Set value to be stored in <hash_key, sort_key>.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sort_key: (bytes) which sort key used for this API.
- :param value: (bytes) value to be stored under <hash_key, sort_key>.
- :param ttl: (int) ttl(time to live) in seconds of this data.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="multi_set">multi_set</h4>
-
-<p>同时写一条hashkey的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_set(self, hash_key, sortkey_value_dict, ttl=0, timeout=0):
- """
- Set multiple sort_keys-values under hash_key to be stored.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sortkey_value_dict: (dict) <sort_key, value> pairs in dict.
- :param ttl: (int) ttl(time to live) in seconds of these data.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, _>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="get">get</h4>
-
-<p>获取一条数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get(self, hash_key, sort_key, timeout=0):
- """
- Get value stored in <hash_key, sort_key>.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sort_key: (bytes) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, bytes>) (code, value).
- code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- value: data stored in this <hash_key, sort_key>
- """
-</code></pre></div></div>
-
-<h4 id="multi_get">multi_get</h4>
-
-<p>同时读一条hashkey的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get(self, hash_key,
- sortkey_set,
- max_kv_count=100,
- max_kv_size=1000000,
- no_value=False,
- timeout=0):
- """
- Get multiple values stored in <hash_key, sortkey> pairs.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sortkey_set: (set) sort keys in set.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param no_value: (bool) whether to fetch value of these keys.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, dict>) (code, kvs)
- code: error_types.ERR_OK.value when data got succeed.
- kvs: <sort_key, value> pairs in dict.
- """
-</code></pre></div></div>
-
-<h4 id="multi_get_opt">multi_get_opt</h4>
-
-<p>同时读一条hashkey的多条sortkey数据, 读取的数据根据<code class="language-plaintext highlighter-rouge">multi_get_options</code>参数指定的模式确定。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get_opt(self, hash_key,
- start_sort_key, stop_sort_key,
- multi_get_options,
- max_kv_count=100,
- max_kv_size=1000000,
- timeout=0):
- """
- Get multiple values stored in hash_key, and sort key range in [start_sort_key, stop_sort_key) as default.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param start_sort_key: (bytes) returned k-v pairs is start from start_sort_key.
- :param stop_sort_key: (bytes) returned k-v pairs is stop at stop_sort_key.
- :param multi_get_options: (MultiGetOptions) configurable multi_get options.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, dict>) (code, kvs)
- code: error_types.ERR_OK.value when data got succeed.
- kvs: <sort_key, value> pairs in dict.
- """
-</code></pre></div></div>
-
-<p>其中,<code class="language-plaintext highlighter-rouge">MultiGetOptions</code>可以指定sortkey的范围、是否包含边界、子串匹配、是否返回value、是否逆序等,具体定义如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class MultiGetOptions(object):
- """
- configurable options for multi_get.
- """
-
- def __init__(self):
- self.start_inclusive = True
- self.stop_inclusive = False
- self.sortkey_filter_type = filter_type.FT_NO_FILTER
- self.sortkey_filter_pattern = ""
- self.no_value = False
- self.reverse = False
-
-class filter_type:
- FT_NO_FILTER = 0
- FT_MATCH_ANYWHERE = 1
- FT_MATCH_PREFIX = 2
- FT_MATCH_POSTFIX = 3
-</code></pre></div></div>
-
-<h4 id="remove">remove</h4>
-
-<p>删除一条数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def remove(self, hash_key, sort_key, timeout=0):
- """
- Remove the entire <hash_key, sort_key>-value in pegasus.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sort_key: (bytes) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="multi_del">multi_del</h4>
-
-<p>批量删除一个hashkey下的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_del(self, hash_key, sortkey_set, timeout=0):
- """
- Remove multiple entire <hash_key, sort_key>-values in pegasus.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param sortkey_set: (set) sort keys in set.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, int>) (code, count).
- code: error_types.ERR_OK.value when data got succeed.
- count: count of deleted k-v pairs.
- """
-</code></pre></div></div>
-
-<h4 id="sort_key_count">sort_key_count</h4>
-
-<p>获取一个hashkey下的sortkey数量</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def sort_key_count(self, hash_key, timeout=0):
- """
- Get the total sort key count under the hash_key.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, count>) (code, count)
- code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- value: total sort key count under the hash_key.
- """
-</code></pre></div></div>
-
-<h4 id="get_sort_keys">get_sort_keys</h4>
-
-<p>获取一个hashkey下的sortkey值</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_sort_keys(self, hash_key,
- max_kv_count=100,
- max_kv_size=1000000,
- timeout=0):
- """
- Get multiple sort keys under hash_key.
-
- :param hash_key: (bytes) which hash key used for this API.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, set>) (code, ks)
- code: error_types.ERR_OK.value when data got succeed.
- ks: <sort_key, ign> pairs in dict, ign will always be empty bytes.
- """
-</code></pre></div></div>
-
-<h4 id="get_scanner">get_scanner</h4>
-
-<p>获取scanner对象,用于指定范围的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_scanner(self, hash_key,
- start_sort_key, stop_sort_key,
- scan_options):
- """
- Get scanner for hash_key, start from start_sort_key, and stop at stop_sort_key.
- Whether the scanner include the start_sort_key and stop_sort_key is configurable by scan_options
-
- :param hash_key: (bytes) which hash key used for this API.
- :param start_sort_key: (bytes) returned scanner is start from start_sort_key.
- :param stop_sort_key: (bytes) returned scanner is stop at stop_sort_key.
- :param scan_options: (ScanOptions) configurable scan options.
- :return: (PegasusScanner) scanner, instance of PegasusScanner.
- """
-</code></pre></div></div>
-
-<p>其中,<code class="language-plaintext highlighter-rouge">ScanOptions</code>可以指定是否包含边界、超时时间、一次从replica server批量获取的sortkey-value数量等,具体定义如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class ScanOptions(object):
- """
- configurable options for scan.
- """
-
- def __init__(self):
- self.timeout_millis = 5000
- self.batch_size = 1000
- self.start_inclusive = True
- self.stop_inclusive = False
- self.snapshot = None # for future use
-</code></pre></div></div>
-
-<h4 id="get_unordered_scanners">get_unordered_scanners</h4>
-
-<p>一次性获取多个scanner,用于整个table的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_unordered_scanners(self, max_split_count, scan_options):
- """
- Get scanners for the whole pegasus table.
-
- :param max_split_count: (int) max count of scanners will be returned.
- :param scan_options: (ScanOptions) configurable scan options.
- :return: (list) instance of PegasusScanner list.
- each scanner in this list can scan separate part of the whole pegasus table.
- """
-</code></pre></div></div>
-
-<h4 id="scanner对象">scanner对象</h4>
-
-<p>用于数据扫描的对象,由<code class="language-plaintext highlighter-rouge">get_scanner</code>和<code class="language-plaintext highlighter-rouge">get_unordered_scanners</code>返回。使用它的<code class="language-plaintext highlighter-rouge">next</code>函数执行扫描过程。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class PegasusScanner(object):
- """
- Pegasus scanner class, used for scanning data in pegasus table.
- """
-</code></pre></div></div>
-
-<h4 id="get_next">get_next</h4>
-
-<p>获取扫描得到的数据,需要循环执行,直到返回<code class="language-plaintext highlighter-rouge">None</code>结束扫描。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_next(self):
- """
- scan the next k-v pair for the scanner.
- :return: (tuple<tuple<hash_key, sort_key>, value> or None)
- all the sort_keys returned by this API are in ascend order.
- """
-</code></pre></div></div>
-
- </div>
- </section>
- <footer class="footer">
- <div class="container">
- <div class="content is-small has-text-centered">
- <div style="margin-bottom: 20px;">
- <a href="http://incubator.apache.org">
- <img src="/assets/images/egg-logo.png"
- width="15%"
- alt="Apache Incubator"/>
- </a>
- </div>
- Copyright © 2023 <a href="http://www.apache.org">The Apache Software Foundation</a>.
- Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
- 2.0</a>.
- <br><br>
-
- Apache Pegasus is an effort undergoing incubation at The Apache Software Foundation (ASF),
- sponsored by the Apache Incubator. Incubation is required of all newly accepted projects
- until a further review indicates that the infrastructure, communications, and decision making process
- have stabilized in a manner consistent with other successful ASF projects. While incubation status is
- not necessarily a reflection of the completeness or stability of the code, it does indicate that the
- project has yet to be fully endorsed by the ASF.
-
- <br><br>
- Apache Pegasus, Pegasus, Apache, the Apache feather logo, and the Apache Pegasus project logo are either
- registered trademarks or trademarks of The Apache Software Foundation in the United States and other
- countries.
- </div>
- </div>
-</footer>
- </div>
-
- <!-- right panel -->
- <div class="dashboard-panel is-small is-scrollable is-hidden-mobile">
- <p class="menu-label">
- <span class="icon">
- <i class="fa fa-bars" aria-hidden="true"></i>
- </span>
- Table of contents
-</p>
-<ul class="menu-list">
- <li><a href="#pegasus-python-client">pegasus python client</a>
- <ul>
- <li><a href="#项目地址">项目地址</a></li>
- <li><a href="#版本要求">版本要求</a></li>
- <li><a href="#安装">安装</a></li>
- <li><a href="#使用">使用</a>
- <ul>
- <li><a href="#示例">示例</a></li>
- <li><a href="#log配置文件">log配置文件</a></li>
- <li><a href="#api说明">API说明</a>
- <ul>
- <li><a href="#初始化">初始化</a></li>
- <li><a href="#ttl">ttl</a></li>
- <li><a href="#exist">exist</a></li>
- <li><a href="#set">set</a></li>
- <li><a href="#multi_set">multi_set</a></li>
- <li><a href="#get">get</a></li>
- <li><a href="#multi_get">multi_get</a></li>
- <li><a href="#multi_get_opt">multi_get_opt</a></li>
- <li><a href="#remove">remove</a></li>
- <li><a href="#multi_del">multi_del</a></li>
- <li><a href="#sort_key_count">sort_key_count</a></li>
- <li><a href="#get_sort_keys">get_sort_keys</a></li>
- <li><a href="#get_scanner">get_scanner</a></li>
- <li><a href="#get_unordered_scanners">get_unordered_scanners</a></li>
- <li><a href="#scanner对象">scanner对象</a></li>
- <li><a href="#get_next">get_next</a></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
-</ul>
-
- </div>
- </div>
-
- <script src="/assets/js/app.js" type="text/javascript"></script>
- <script>
- docsearch({
- container: '#docsearch',
- appId: 'QRN30RBW0S',
- indexName: 'pegasus-apache',
- apiKey: 'd3a3252fa344359766707a106c4ed88f',
- debug: true
- });
- </script>
-
-</body>
-
-</html>
\ No newline at end of file
diff --git a/output/clients/scala-client.html b/output/clients/scala-client.html
index 16ad01f..7d761c5 100644
--- a/output/clients/scala-client.html
+++ b/output/clients/scala-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Scala Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Scala Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/scala-client"},"url":"/clients/scala-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Scala Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/scala-client"},"url":"/clients/scala-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/community/index.html b/output/community/index.html
index 3d8b6c4..0c101c7 100644
--- a/output/community/index.html
+++ b/output/community/index.html
@@ -18,11 +18,11 @@
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Pegasus Community" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","headline":"Pegasus Community","mainEntityOfPage":{"@type":"WebPage","@id":"/community/"},"url":"/community/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","headline":"Pegasus Community","mainEntityOfPage":{"@type":"WebPage","@id":"/community/"},"url":"/community/"}</script>
<!-- End Jekyll SEO tag -->
</head>
diff --git a/output/docs/build/compile-by-docker/index.html b/output/docs/build/compile-by-docker/index.html
index a354fde..12585e3 100644
--- a/output/docs/build/compile-by-docker/index.html
+++ b/output/docs/build/compile-by-docker/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Download the docker image" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile By Docker" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Download the docker image","headline":"Compile By Docker","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/build/compile-by-docker/"},"url":"/docs/build/compile-by-docker/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Download the docker image","headline":"Compile By Docker","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/build/compile-by-docker/"},"url":"/docs/build/compile-by-docker/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/docs/build/compile-from-source/index.html b/output/docs/build/compile-from-source/index.html
index ccd005a..c7e87f7 100644
--- a/output/docs/build/compile-from-source/index.html
+++ b/output/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Since 2.4.0, Pegasus supports to build both on Linux and macOS. Please don’t hesitate to contact us via Github Issues when you encountered any problem." />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Since 2.4.0, Pegasus supports to build both on Linux and macOS. Please don’t hesitate to contact us via Github Issues when you encountered any problem.","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/build/compile-from-source/"},"url":"/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Since 2.4.0, Pegasus supports to build both on Linux and macOS. Please don’t hesitate to contact us via Github Issues when you encountered any problem.","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/build/compile-from-source/"},"url":"/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -615,14 +608,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/docs/downloads/index.html b/output/docs/downloads/index.html
index 12f03b7..d20c8b5 100644
--- a/output/docs/downloads/index.html
+++ b/output/docs/downloads/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="We recommend downloading the signed source release that follows ASF Release Policy: To verify the integrity of the release, check the following: Verify the checksum by downloading the Package and the Checksum file, and running the following command: On Linux: sha512sum -c apache-pegasus-2.4.0-incubating-src.zip.sha512 On MacOS: shasum -a 512 -c apache-pegasus-2.4.0-incubating-src.zip.sha512 Verify the signature by downloading the Package and the Signature file, and doing the following: Import the KEYS file to the GPG keychain by running gpg --import KEYS Run gpg --verify apache-pegasus-2.4.0-incubating-src.zip.asc apache-pegasus-2.4.0-incubating-src.zip" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Downloads" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"We recommend downloading the signed source release that follows ASF Release Policy: To verify the integrity of the release, check the following: Verify the checksum by downloading the Package and the Checksum file, and running the following command: On Linux: sha512sum -c apache-pegasus-2.4.0-incubating-src.zip.sha512 On MacOS: shasum -a 512 -c apache-pegasus-2.4.0-incubating-src.zip.sha512 Verify the signature by downloading the Package and the Signature file, and doing the following: Import the KEYS file to the GPG keychain by running gpg --import KEYS Run gpg --verify apache-pegasus-2.4.0-incubating-src.zip.asc apache-pegasus-2.4.0-incubating-src.zip","headline":"Downloads","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/downloads/"},"url":"/docs/downloads/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"We recommend downloading the signed source release that follows ASF Release Policy: To verify the integrity of the release, check the following: Verify the checksum by downloading the Package and the Checksum file, and running the following command: On Linux: sha512sum -c apache-pegasus-2.4.0-incubating-src.zip.sha512 On MacOS: shasum -a 512 -c apache-pegasus-2.4.0-incubating-src.zip.sha512 Verify the signature by downloading the Package and the Signature file, and doing the following: Import the KEYS file to the GPG keychain by running gpg --import KEYS Run gpg --verify apache-pegasus-2.4.0-incubating-src.zip.asc apache-pegasus-2.4.0-incubating-src.zip","headline":"Downloads","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/downloads/"},"url":"/docs/downloads/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/docs/en/administration/index.html b/output/docs/en/administration/index.html
index 0d4d260..71bfc56 100644
--- a/output/docs/en/administration/index.html
+++ b/output/docs/en/administration/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Index" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Index","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/en/administration/"},"url":"/docs/en/administration/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Index","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/en/administration/"},"url":"/docs/en/administration/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -141,14 +141,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/docs/index.html b/output/docs/index.html
index e0a47d2..7bc5f99 100644
--- a/output/docs/index.html
+++ b/output/docs/index.html
@@ -18,11 +18,11 @@
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Docs" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","headline":"Docs","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/"},"url":"/docs/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","headline":"Docs","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/"},"url":"/docs/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -98,16 +98,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -477,14 +470,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/docs/tools/shell/index.html b/output/docs/tools/shell/index.html
index 0086aaa..2caf6ed 100644
--- a/output/docs/tools/shell/index.html
+++ b/output/docs/tools/shell/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus提供了Shell工具,用于查看集群相关信息,创建/删除表,操作数据等。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Shell" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus提供了Shell工具,用于查看集群相关信息,创建/删除表,操作数据等。","headline":"Shell","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/tools/shell/"},"url":"/docs/tools/shell/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus提供了Shell工具,用于查看集群相关信息,创建/删除表,操作数据等。","headline":"Shell","mainEntityOfPage":{"@type":"WebPage","@id":"/docs/tools/shell/"},"url":"/docs/tools/shell/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="">
- Python2 Client
- </a>
- </li>
-
- <li>
- <a href="/clients/python3-client"
- class="">
- Python3 Client
+ Python Client
</a>
</li>
@@ -479,14 +472,9 @@
Golang Client
</a>
- <a href="/clients/python2-client"
+ <a href="/clients/python-client"
class="navbar-item ">
- Python2 Client
- </a>
-
- <a href="/clients/python3-client"
- class="navbar-item ">
- Python3 Client
+ Python Client
</a>
<a href="/clients/node-client"
diff --git a/output/feed.xml b/output/feed.xml
index cc2b5a1..2f47084 100644
--- a/output/feed.xml
+++ b/output/feed.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2023-11-23T14:51:44+00:00</updated><id>/feed.xml</id><title type="html">Pegasus</title><entry><title type="html">Pegasus Server 2.0.0 来了</title><link href="/2020/06/19/pegasus-2.0.0-is-out.html" rel="alternate" type="text/html" title="Pegasus Server 2.0.0 来了" /><published>2020-06-19T00:00:00+00:00</published><updated>2020-06-19T00:00:00+00:00</updated><id>/2020/06/19/pegasus-2.0.0-is-out</id><content type="html" xml:base="/2020/06/19/pegasus-2.0.0-is-out.html"><![CDATA[<p>Pegasus Server 又发布新版本了!在去年的几个版本演进中,我们把工作的重点放在了Pegasus的服务稳定性上。在今年的 2.0.0 版本中,我们更进一步,提供了如下几个能够显著减少延迟和抖动的机制。</p>
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2023-11-23T14:57:08+00:00</updated><id>/feed.xml</id><title type="html">Pegasus</title><entry><title type="html">Pegasus Server 2.0.0 来了</title><link href="/2020/06/19/pegasus-2.0.0-is-out.html" rel="alternate" type="text/html" title="Pegasus Server 2.0.0 来了" /><published>2020-06-19T00:00:00+00:00</published><updated>2020-06-19T00:00:00+00:00</updated><id>/2020/06/19/pegasus-2.0.0-is-out</id><content type="html" xml:base="/2020/06/19/pegasus-2.0.0-is-out.html"><![CDATA[<p>Pegasus Server 又发布新版本了!在去年的几个版本演进中,我们把工作的重点放在了Pegasus的服务稳定性上。在今年的 2.0.0 版本中,我们更进一步,提供了如下几个能够显著减少延迟和抖动的机制。</p>
<blockquote>
<p>Github Release: <a href="https://github.com/apache/incubator-pegasus/releases/tag/v2.0.0">https://github.com/apache/incubator-pegasus/releases/tag/v2.0.0</a></p>
diff --git a/output/overview/architecture.html b/output/overview/architecture.html
index be64722..4c5b6a9 100644
--- a/output/overview/architecture.html
+++ b/output/overview/architecture.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Architecture" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Architecture","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/architecture"},"url":"/overview/architecture"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Architecture","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/architecture"},"url":"/overview/architecture"}</script>
<!-- End Jekyll SEO tag -->
</head>
diff --git a/output/overview/background/index.html b/output/overview/background/index.html
index dbd6cd1..6edfb79 100644
--- a/output/overview/background/index.html
+++ b/output/overview/background/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Background" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Background","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/background/"},"url":"/overview/background/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Background","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/background/"},"url":"/overview/background/"}</script>
<!-- End Jekyll SEO tag -->
</head>
diff --git a/output/overview/benchmark/index.html b/output/overview/benchmark/index.html
index e414791..d48a3c1 100644
--- a/output/overview/benchmark/index.html
+++ b/output/overview/benchmark/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Benchmark" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Benchmark","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/benchmark/"},"url":"/overview/benchmark/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Benchmark","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/benchmark/"},"url":"/overview/benchmark/"}</script>
<!-- End Jekyll SEO tag -->
</head>
diff --git a/output/overview/data-model/index.html b/output/overview/data-model/index.html
index 649f848..4bfcd31 100644
--- a/output/overview/data-model/index.html
+++ b/output/overview/data-model/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Data Model" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Data Model","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/data-model/"},"url":"/overview/data-model/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Data Model","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/data-model/"},"url":"/overview/data-model/"}</script>
<!-- End Jekyll SEO tag -->
</head>
diff --git a/output/overview/index.html b/output/overview/index.html
index 96f474e..4ce45ff 100644
--- a/output/overview/index.html
+++ b/output/overview/index.html
@@ -18,11 +18,11 @@
<meta property="og:locale" content="en" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Overview" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","headline":"Overview","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/"},"url":"/overview/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","headline":"Overview","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/"},"url":"/overview/"}</script>
<!-- End Jekyll SEO tag -->
</head>
diff --git a/output/overview/onebox/index.html b/output/overview/onebox/index.html
index ed7976c..7f99b3f 100644
--- a/output/overview/onebox/index.html
+++ b/output/overview/onebox/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="TRANSLATING" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Onebox" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Onebox","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/onebox/"},"url":"/overview/onebox/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"TRANSLATING","headline":"Onebox","mainEntityOfPage":{"@type":"WebPage","@id":"/overview/onebox/"},"url":"/overview/onebox/"}</script>
<!-- End Jekyll SEO tag -->
</head>
diff --git a/output/sitemap.xml b/output/sitemap.xml
index 5578a3f..442993a 100644
--- a/output/sitemap.xml
+++ b/output/sitemap.xml
@@ -2,255 +2,247 @@
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>/community/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/2.4.0/docs/build/compile-by-docker/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/2.4.0/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/backup-request</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/bad-disk</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/cold-backup</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/compression</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/config</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/deployment</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/duplication</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/experiences</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/partition-split</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/docs/en/administration/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/manual-compact</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/meta-recovery</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/monitoring</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/rebalance</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/remote-commands</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/replica-recovery</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/resource-management</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/rolling-update</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/scale-in-out</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/table-env</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/table-migration</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/table-soft-delete</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/throttling</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/usage-scenario</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/whitelist</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/zk-migration</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/api/geo</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/api/http</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/api/redis</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/api/single-atomic</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/api/ttl</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/docs/build/compile-by-docker/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/clients/cpp-client</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/clients/java-client</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/clients/node-client</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/clients/python-client</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/clients/scala-client</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/docs/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/docs/downloads/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/1.10.0/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/1.11.3/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/1.11.6/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/1.12.0/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/1.12.3/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/1.9.0/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/2.0.0/docs/build/compile-from-source/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/administration/hotspot-detection</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/api/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/clients/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
-</url>
-<url>
-<loc>/clients/python2-client</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
-</url>
-<url>
-<loc>/clients/python3-client</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/docs/tools/shell/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/overview/architecture</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/overview/background/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/overview/benchmark/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/overview/data-model/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/overview/onebox/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/overview/</loc>
-<lastmod>2023-11-23T14:51:44+00:00</lastmod>
+<lastmod>2023-11-23T14:57:08+00:00</lastmod>
</url>
<url>
<loc>/2017/11/21/meta-server-design.html</loc>
diff --git a/output/zh/1.10.0/docs/build/compile-from-source/index.html b/output/zh/1.10.0/docs/build/compile-from-source/index.html
index b0eb55a..ba270e6 100644
--- a/output/zh/1.10.0/docs/build/compile-from-source/index.html
+++ b/output/zh/1.10.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.10.0/docs/build/compile-from-source/"},"url":"/1.10.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.10.0/docs/build/compile-from-source/"},"url":"/1.10.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/1.11.3/docs/build/compile-from-source/index.html b/output/zh/1.11.3/docs/build/compile-from-source/index.html
index 76b4261..4a3f82a 100644
--- a/output/zh/1.11.3/docs/build/compile-from-source/index.html
+++ b/output/zh/1.11.3/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.3/docs/build/compile-from-source/"},"url":"/1.11.3/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.3/docs/build/compile-from-source/"},"url":"/1.11.3/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/1.11.6/docs/build/compile-from-source/index.html b/output/zh/1.11.6/docs/build/compile-from-source/index.html
index 4070d59..3974eb2 100644
--- a/output/zh/1.11.6/docs/build/compile-from-source/index.html
+++ b/output/zh/1.11.6/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.6/docs/build/compile-from-source/"},"url":"/1.11.6/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.11.6/docs/build/compile-from-source/"},"url":"/1.11.6/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/1.12.0/docs/build/compile-from-source/index.html b/output/zh/1.12.0/docs/build/compile-from-source/index.html
index 557eb4a..66f68b3 100644
--- a/output/zh/1.12.0/docs/build/compile-from-source/index.html
+++ b/output/zh/1.12.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.0/docs/build/compile-from-source/"},"url":"/1.12.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.0/docs/build/compile-from-source/"},"url":"/1.12.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/1.12.3/docs/build/compile-from-source/index.html b/output/zh/1.12.3/docs/build/compile-from-source/index.html
index 8635bfb..22b3cd7 100644
--- a/output/zh/1.12.3/docs/build/compile-from-source/index.html
+++ b/output/zh/1.12.3/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.3/docs/build/compile-from-source/"},"url":"/1.12.3/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.12.3/docs/build/compile-from-source/"},"url":"/1.12.3/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/1.9.0/docs/build/compile-from-source/index.html b/output/zh/1.9.0/docs/build/compile-from-source/index.html
index 1c11fbe..03702c0 100644
--- a/output/zh/1.9.0/docs/build/compile-from-source/index.html
+++ b/output/zh/1.9.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.9.0/docs/build/compile-from-source/"},"url":"/1.9.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/1.9.0/docs/build/compile-from-source/"},"url":"/1.9.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/2.0.0/docs/build/compile-from-source/index.html b/output/zh/2.0.0/docs/build/compile-from-source/index.html
index 94897e9..aada5b8 100644
--- a/output/zh/2.0.0/docs/build/compile-from-source/index.html
+++ b/output/zh/2.0.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.0.0/docs/build/compile-from-source/"},"url":"/2.0.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前只支持Linux平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.0.0/docs/build/compile-from-source/"},"url":"/2.0.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/2.4.0/docs/build/compile-by-docker/index.html b/output/zh/2.4.0/docs/build/compile-by-docker/index.html
index 21f801b..4ccbb3b 100644
--- a/output/zh/2.4.0/docs/build/compile-by-docker/index.html
+++ b/output/zh/2.4.0/docs/build/compile-by-docker/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="下载Docker镜像" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile By Docker" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"下载Docker镜像","headline":"Compile By Docker","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-by-docker/"},"url":"/2.4.0/docs/build/compile-by-docker/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"下载Docker镜像","headline":"Compile By Docker","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-by-docker/"},"url":"/2.4.0/docs/build/compile-by-docker/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/2.4.0/docs/build/compile-from-source/index.html b/output/zh/2.4.0/docs/build/compile-from-source/index.html
index e346ef1..e4f2d07 100644
--- a/output/zh/2.4.0/docs/build/compile-from-source/index.html
+++ b/output/zh/2.4.0/docs/build/compile-from-source/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="从2.4.0开始,Pegasus目前支持Linux和macOS平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compile From Source" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"从2.4.0开始,Pegasus目前支持Linux和macOS平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-from-source/"},"url":"/2.4.0/docs/build/compile-from-source/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"从2.4.0开始,Pegasus目前支持Linux和macOS平台进行源码编译。编译过程中遇到问题,可以通过Github Issues向我们咨询。","headline":"Compile From Source","mainEntityOfPage":{"@type":"WebPage","@id":"/2.4.0/docs/build/compile-from-source/"},"url":"/2.4.0/docs/build/compile-from-source/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -236,16 +236,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -617,14 +610,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/backup-request.html b/output/zh/administration/backup-request.html
index 946c949..1bc04e6 100644
--- a/output/zh/administration/backup-request.html
+++ b/output/zh/administration/backup-request.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="背景 在当前的Pegasus实现中,由于向secondary读取会导致不一致的情况发生,所以目前Pegasus仅仅支持对primary副本的读取。但是在某些情况下(例如:负载均衡、热点写入等)经常会导致primary不稳定。所以我们希望在primary不稳定时能够读取secondary,通过牺牲部分强一致性来降低读请求的长尾并提高系统的可用性。backup request便是用来实现此功能的。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Backup Request" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"背景 在当前的Pegasus实现中,由于向secondary读取会导致不一致的情况发生,所以目前Pegasus仅仅支持对primary副本的读取。但是在某些情况下(例如:负载均衡、热点写入等)经常会导致primary不稳定。所以我们希望在primary不稳定时能够读取secondary,通过牺牲部分强一致性来降低读请求的长尾并提高系统的可用性。backup request便是用来实现此功能的。","headline":"Backup Request","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/backup-request"},"url":"/administration/backup-request"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"背景 在当前的Pegasus实现中,由于向secondary读取会导致不一致的情况发生,所以目前Pegasus仅仅支持对primary副本的读取。但是在某些情况下(例如:负载均衡、热点写入等)经常会导致primary不稳定。所以我们希望在primary不稳定时能够读取secondary,通过牺牲部分强一致性来降低读请求的长尾并提高系统的可用性。backup request便是用来实现此功能的。","headline":"Backup Request","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/backup-request"},"url":"/administration/backup-request"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/bad-disk.html b/output/zh/administration/bad-disk.html
index 2315505..38cf9a0 100644
--- a/output/zh/administration/bad-disk.html
+++ b/output/zh/administration/bad-disk.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="磁盘故障时有发生,通常有下列检查方式:" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Bad Disk" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"磁盘故障时有发生,通常有下列检查方式:","headline":"Bad Disk","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/bad-disk"},"url":"/administration/bad-disk"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"磁盘故障时有发生,通常有下列检查方式:","headline":"Bad Disk","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/bad-disk"},"url":"/administration/bad-disk"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/cold-backup.html b/output/zh/administration/cold-backup.html
index b9378ac..6b4444e 100644
--- a/output/zh/administration/cold-backup.html
+++ b/output/zh/administration/cold-backup.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="介绍" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Cold Backup" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"介绍","headline":"Cold Backup","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/cold-backup"},"url":"/administration/cold-backup"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"介绍","headline":"Cold Backup","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/cold-backup"},"url":"/administration/cold-backup"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/compression.html b/output/zh/administration/compression.html
index a7ffdb7..8ad03e7 100644
--- a/output/zh/administration/compression.html
+++ b/output/zh/administration/compression.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="客户端压缩" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Compression" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"客户端压缩","headline":"Compression","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/compression"},"url":"/administration/compression"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"客户端压缩","headline":"Compression","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/compression"},"url":"/administration/compression"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/config.html b/output/zh/administration/config.html
index 852a6b0..7f4a850 100644
--- a/output/zh/administration/config.html
+++ b/output/zh/administration/config.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="配置组成部分" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Config" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"配置组成部分","headline":"Config","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/config"},"url":"/administration/config"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"配置组成部分","headline":"Config","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/config"},"url":"/administration/config"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/deployment.html b/output/zh/administration/deployment.html
index ab6f232..4374555 100644
--- a/output/zh/administration/deployment.html
+++ b/output/zh/administration/deployment.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="准备机器 Pegasus分布式集群至少需要准备这些机器: MetaServer:2~3台机器,无需SSD盘。 ReplicaServer:至少3台机器,建议挂SSD盘。譬如一台服务器挂着8块或者12块SSD盘。这些机器要求是同构的,即具有相同的配置。 Collector:可选角色,1台机器,无需SSD盘。该进程主要用于收集和汇总集群的统计信息,负载很小,建议放在MetaServer的其中一台机器上。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Deployment" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"准备机器 Pegasus分布式集群至少需要准备这些机器: MetaServer:2~3台机器,无需SSD盘。 ReplicaServer:至少3台机器,建议挂SSD盘。譬如一台服务器挂着8块或者12块SSD盘。这些机器要求是同构的,即具有相同的配置。 Collector:可选角色,1台机器,无需SSD盘。该进程主要用于收集和汇总集群的统计信息,负载很小,建议放在MetaServer的其中一台机器上。","headline":"Deployment","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/deployment"},"url":"/administration/deployment"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"准备机器 Pegasus分布式集群至少需要准备这些机器: MetaServer:2~3台机器,无需SSD盘。 ReplicaServer:至少3台机器,建议挂SSD盘。譬如一台服务器挂着8块或者12块SSD盘。这些机器要求是同构的,即具有相同的配置。 Collector:可选角色,1台机器,无需SSD盘。该进程主要用于收集和汇总集群的统计信息,负载很小,建议放在MetaServer的其中一台机器上。","headline":"Deployment","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/deployment"},"url":"/administration/deployment"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/duplication.html b/output/zh/administration/duplication.html
index 42d886d..13a0d6f 100644
--- a/output/zh/administration/duplication.html
+++ b/output/zh/administration/duplication.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="在 pegasus 中,跨机房同步又被称为 热备份,或 duplication,简称 dup。这一功能的主要目的是保证 数据中心级别的可用性。当业务需要保证服务与数据能够容忍机房故障时,可以考虑使用此功能。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Duplication" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"在 pegasus 中,跨机房同步又被称为 热备份,或 duplication,简称 dup。这一功能的主要目的是保证 数据中心级别的可用性。当业务需要保证服务与数据能够容忍机房故障时,可以考虑使用此功能。","headline":"Duplication","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/duplication"},"url":"/administration/duplication"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"在 pegasus 中,跨机房同步又被称为 热备份,或 duplication,简称 dup。这一功能的主要目的是保证 数据中心级别的可用性。当业务需要保证服务与数据能够容忍机房故障时,可以考虑使用此功能。","headline":"Duplication","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/duplication"},"url":"/administration/duplication"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/experiences.html b/output/zh/administration/experiences.html
index ff1b2c5..9a3a2ce 100644
--- a/output/zh/administration/experiences.html
+++ b/output/zh/administration/experiences.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="任何一个分布式系统的运维工作都少不了周期巡检,问题排查,故障报警,人工审核。它们是保证服务稳定运行的关键。 这里整理Pegasus的监控指标,你可以根据需要接入到你的运维工具中。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Experiences" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"任何一个分布式系统的运维工作都少不了周期巡检,问题排查,故障报警,人工审核。它们是保证服务稳定运行的关键。 这里整理Pegasus的监控指标,你可以根据需要接入到你的运维工具中。","headline":"Experiences","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/experiences"},"url":"/administration/experiences"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"任何一个分布式系统的运维工作都少不了周期巡检,问题排查,故障报警,人工审核。它们是保证服务稳定运行的关键。 这里整理Pegasus的监控指标,你可以根据需要接入到你的运维工具中。","headline":"Experiences","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/experiences"},"url":"/administration/experiences"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/hotspot-detection.html b/output/zh/administration/hotspot-detection.html
index a96d150..8a2b1ff 100644
--- a/output/zh/administration/hotspot-detection.html
+++ b/output/zh/administration/hotspot-detection.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能简介 Pegasus 是一个以 hash 分片打散数据的分布式存储系统。通常情况下,流量会均匀地打在集群中的所有节点上。但是在极端情况下,比如 hashkey 设计不合理、出现了热点事件/热点用户、业务代码逻辑错误等场景下,Pegasus 单机节点往往会负载过高从而影响服务整体的可用性。于是我们设计了一套热点检测方案帮助运维人员能及时发现热点问题并找出热点流量。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Hotspot Detection" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能简介 Pegasus 是一个以 hash 分片打散数据的分布式存储系统。通常情况下,流量会均匀地打在集群中的所有节点上。但是在极端情况下,比如 hashkey 设计不合理、出现了热点事件/热点用户、业务代码逻辑错误等场景下,Pegasus 单机节点往往会负载过高从而影响服务整体的可用性。于是我们设计了一套热点检测方案帮助运维人员能及时发现热点问题并找出热点流量。","headline":"Hotspot Detection","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/hotspot-detection"},"url":"/administration/hotspot-detection"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能简介 Pegasus 是一个以 hash 分片打散数据的分布式存储系统。通常情况下,流量会均匀地打在集群中的所有节点上。但是在极端情况下,比如 hashkey 设计不合理、出现了热点事件/热点用户、业务代码逻辑错误等场景下,Pegasus 单机节点往往会负载过高从而影响服务整体的可用性。于是我们设计了一套热点检测方案帮助运维人员能及时发现热点问题并找出热点流量。","headline":"Hotspot Detection","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/hotspot-detection"},"url":"/administration/hotspot-detection"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/index.html b/output/zh/administration/index.html
index d7c009e..560d089 100644
--- a/output/zh/administration/index.html
+++ b/output/zh/administration/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus 不仅仅只提供简单的 key value 存储接口,我们还基于稳定性考虑,增加了许多有助于高效运维的特性。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Administration" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus 不仅仅只提供简单的 key value 存储接口,我们还基于稳定性考虑,增加了许多有助于高效运维的特性。","headline":"Administration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/"},"url":"/administration/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus 不仅仅只提供简单的 key value 存储接口,我们还基于稳定性考虑,增加了许多有助于高效运维的特性。","headline":"Administration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/"},"url":"/administration/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/manual-compact.html b/output/zh/administration/manual-compact.html
index 32a7a2c..b08f4ac 100644
--- a/output/zh/administration/manual-compact.html
+++ b/output/zh/administration/manual-compact.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="注:manual compact功能从v1.8.1版本开始支持。 原理" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Manual Compact" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"注:manual compact功能从v1.8.1版本开始支持。 原理","headline":"Manual Compact","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/manual-compact"},"url":"/administration/manual-compact"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"注:manual compact功能从v1.8.1版本开始支持。 原理","headline":"Manual Compact","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/manual-compact"},"url":"/administration/manual-compact"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/meta-recovery.html b/output/zh/administration/meta-recovery.html
index 88a416c..5b50284 100644
--- a/output/zh/administration/meta-recovery.html
+++ b/output/zh/administration/meta-recovery.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能目标 在Pegasus bootstrap的过程中,meta server需要先从zookeeper上拉取table的元信息以及所有replica的拓扑结构,再开始服务。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Meta Recovery" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能目标 在Pegasus bootstrap的过程中,meta server需要先从zookeeper上拉取table的元信息以及所有replica的拓扑结构,再开始服务。","headline":"Meta Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/meta-recovery"},"url":"/administration/meta-recovery"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能目标 在Pegasus bootstrap的过程中,meta server需要先从zookeeper上拉取table的元信息以及所有replica的拓扑结构,再开始服务。","headline":"Meta Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/meta-recovery"},"url":"/administration/meta-recovery"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/monitoring.html b/output/zh/administration/monitoring.html
index 97d1305..3f79de4 100644
--- a/output/zh/administration/monitoring.html
+++ b/output/zh/administration/monitoring.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="组件 从v1.12.0开始, Pegasus 支持使用 Prometheus 和 Grafana 进项监控项的采集和展示。 Prometheus Prometheus 是一款开源的系统监控和报警套件。它可以通过将采集被监控系统的监控项存入自身的时序数据库中,并且通过丰富的多维数据查询语言,满足用户的不同数据展示需求。 Grafana Grafana 是一款开源的数据分析和展示平台。支持包括 Prometheus 在内的多个主流时序数据库源。通过对应的数据库查询语句,从数据源中获取展现数据。通过灵活可配置的 Dashboard,快速的将这些数据以图表的形式展示给用户。 注意* 本文档仅提供一种使用 Prometheus 和 Grafana 进行 Pegasus 监控数据采集和展示的方式。Pegasus不包含、不维护这些组件。更多关于这些组件的详细介绍,请移步对应官方文档进行查阅。 配置 Prometheus 本小节介绍如何配置 Prometheus。 第一步: 配置Pegasus服务 Pegasus默认不向任何外部系统推送监控信息, 你需要修改配置文件以启用prometheus推送。具体如下: [pegasus.server] perf_counter_sink = prometheus prometheus_port = 9091 注: 如果你想要测试你的Pegasus节点是否正确开启了Prometheus推送, 可以检查 http://{pegasus_host}:{prometheus_port}/metrics 是否能正常访问. Onebox使用Prometheus 如果使用onebox, 请首先修改配置文件src/server/config.min.ini以开启Prometheus推送. 但不需要改动 prometheus_port. [pegasus.server] perf_counter_sink = prometheus prometheus_port = @PROMETHEUS_PORT@ 由于onebox模式下多个Pegasus服务进程部署在一台机器上,因此各replica、meta、collector的prometheus端口存在冲突问题. 当前我们的解决办法是对每个进程配置单独的prometheus port: collector : 9091 meta: [9092, 9093, 9094…] replica: [9092+{META_COUNT}, 9093+{META_COUNT}, 9094+{META_COUNT}…] 例如一个2 meta, 3 replica, 1 collector的onebox集群, 其端口对应如下: ./run.sh start_onebox -r 3 -m 2 -c meta1: 9092, meta2: 9093 replica1: 9094, replica2: 9095, replica3: 9096 第二步: 安装及运行 Prometheus wget https://github.com/prometheus/prometheus/releases/download/v2.15.2/prometheus-2.15.2.linux-amd64.tar.gz tar xvfz prometheus-2.15.2.linux-amd64.tar.gz cd prometheus-2.15.2.linux-amd64 修改prometheus目录下的prometheus.yml文件,配置模板如下所示: global: scrape_interval: 5s scrape_configs: - job_name: 'pegasus' static_configs: - targets: ['collector_host:9091'] labels: group: collector - targets: ['meta_host1:9091', 'meta_host2:9091', 'meta_host3:9091'] labels: group: meta - targets: ['replica_host1:9091', 'replica_host2:9091', 'replica_host3:9091'] labels: group: replica # # NOTE: Add the following lines if node exporter is deployed. # - targets: # [ # 'node_exporter_host1:9100', # 'node_exporter_host2:9100', # ... # 'node_exporter_hostn:9100', # ] # labels: # group: node_exporter 对于上述通过 ./run.sh start_onebox -r 3 -m 2 -c 启动的onebox集群, 实际配置如下: global: scrape_interval: 5s scrape_configs: - job_name: "pegasus" static_configs: - targets: ["0.0.0.0:9091"] labels: group: collector - targets: ["0.0.0.0:9092", "0.0.0.0:9093"] labels: group: meta - targets: ["0.0.0.0:9094", "0.0.0.0:9095", "0.0.0.0:9096"] labels: group: replica 修改完prometheus.yml之后,启动prometheus: ./prometheus --config.file=prometheus.yml 进入网址 localhost:9090 看到如下界面即表示到这一步为止是成功的。 注: 如果你想要测试Prometheus是否正确配置, 可以检查 http://{prometheus_host}:9090/targets 查看各节点的监控上报状态. 在Expression框内输入需要查找的内容,点击Excute即可在Element中展示查找到的内容,当选择Graph时可以显示该内容一段时间内数值变化情况。 注意 实际运维过程中, 我们通常需要获取一些机器及操作系统的监控指标, 如cpu.busy, disk.iostat等等, 所以在部署Pegasus集群的时候,可以考虑在每一台机器上部署一个node exporter后台实例,具体可参考: Node Exporter Alert Manager 为 Prometheus 报警组件,需单独部署(暂不提供方案,可参照官方文档自行搭建)。通过 Alert Manager,用户可以配置报警策略,接收邮件、短信等报警。 目前我们的prometheus.yml使用的是静态配置的方式(static_configs),其缺点是当动态扩容缩容的时候需要手动去修改该静态配置。当前Prometheus支持多种动态服务发现方式,例如k8s、consul和dns等等,用户也可以根据自己需求去定制实现。详情请参考文档:配置文件说明、实现动态服务发现 配置 Grafana 本小节介绍如何配置 Grafana。 第一步: 安装及运行 Grafana 首先下载grafana二进制包: wget https://dl.grafana.com/oss/release/grafana-6.0.0.linux-amd64.tar.gz //如果报错,可以尝试在后面添加--no-check-certificate tar -zxvf grafana-6.0.0.linux-amd64.tar.gz cd grafana-6.0.0 启动Grafana ./bin/grafana-server web 观察到如下输出,即为启动成功 INFO[07-24|14:36:59] Starting Grafana logger=server version=6.0.0 commit=34a9a62 branch=HEAD compiled=2019-02-25T22:47:26+0800 ... INFO[07-24|14:37:00] HTTP Server Listen logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket= INFO[07-24|14:37:00] cleanup of expired auth tokens done logger=auth count=2 第二步: 添加 Prometheus 数据源 登录 Grafana 界面。如下图所示: 默认地址:http://localhost:3000 默认账户:admin 默认密码:admin 注意: Change Password 步骤可以选择 Skip。 点击 Grafana 侧边栏菜单 Configuration 中的 Data Source。 点击 Add data source。 指定数据源的相关信息: 在 Name 处,为数据源指定一个名称。 在 Type 处,选择 Prometheus。 在 URL 处,指定 Prometheus 的 IP 地址。 根据需求指定其它字段。 点击 Add 保存新的数据源。 第三步: 导入 Pegasus DashBoard 目前Pegasus拥有一个DashBoard,用于提供一些基本的监控信息。其相应的json文件: Pegasus json文件 下载了json文件后,可以通过import的方式将其导入进去。其步骤如下: 进入grafana,点击左边框的”+”,选择import,进入import页面 点击右上角的”Upload .json File”,然后选择文件。选择之后进入如下页面 然后点击左下角的”import”按钮完成导入,并进入到Pegasus相应的DashBoard,其页面如下所示 从图中可以看出,Pegasus的DashBoard分为两个row: Pegasus-Cluster和Pegasus-Table,分别代表集群级别监控和表级监控。在左上角的cluster_name后输入具体的集群名字,便可以查看该集群相应的各种监控信息。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Monitoring" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"组件 从v1.12.0开始, Pegasus 支持使用 Prometheus 和 Grafana 进项监控项的采集和展示。 Prometheus Prometheus 是一款开源的系统监控和报警套件。它可以通过将采集被监控系统的监控项存入自身的时序数据库中,并且通过丰富的多维数据查询语言,满足用户的不同数据展示需求。 Grafana Grafana 是一款开源的数据分析和展示平台。支持包括 Prometheus 在内的多个主流时序数据库源。通过对应的数据库查询语句,从数据源中获取展现数据。通过灵活可配置的 Dashboard,快速的将这些数据以图表的形式展示给用户。 注意* 本文档仅提供一种使用 Prometheus 和 Grafana 进行 Pegasus 监控数据采集和展示的方式。Pegasus不包含、不维护这些组件。更多关于这些组件的详细介绍,请移步对应官方文档进行查阅。 配置 Prometheus 本小节介绍如何配置 Prometheus。 第一步: 配置Pegasus服务 Pegasus默认不向任何外部系统推送监控信息, 你需要修改配置文件以启用prometheus推送。具体如下: [pegasus.server] perf_counter_sink = prometheus prometheus_port = 9091 注: 如果你想要测试你的Pegasus节点是否正确开启了Prometheus推送, 可以检查 http://{pegasus_host}:{prometheus_port}/metrics 是否能正常访问. Onebox使用Prometheus 如果使用onebox, 请首先修改配置文件src/server/config.min.ini以开启Prometheus推送. 但不需要改动 prometheus_port. [pegasus.server] perf_counter_sink = prometheus prometheus_port = @PROMETHEUS_PORT@ 由于onebox模式下多个Pegasus服务进程部署在一台机器上,因此各replica、meta、collector的prometheus端口存在冲突问题. 当前我们的解决办法是对每个进程配置单独的prometheus port: collector : 9091 meta: [9092, 9093, 9094…] replica: [9092+{META_COUNT}, 9093+{META_COUNT}, 9094+{META_COUNT}…] 例如一个2 meta, 3 replica, 1 collector的onebox集群, 其端口对应如下: ./run.sh start_onebox -r 3 -m 2 -c meta1: 9092, meta2: 9093 replica1: 9094, replica2: 9095, replica3: 9096 第二步: 安装及运行 Prometheus wget https://github.com/prometheus/prometheus/releases/download/v2.15.2/prometheus-2.15.2.linux-amd64.tar.gz tar xvfz prometheus-2.15.2.linux-amd64.tar.gz cd prometheus-2.15.2.linux-amd64 修改prometheus目录下的prometheus.yml文件,配置模板如下所示: global: scrape_interval: 5s scrape_configs: - job_name: 'pegasus' static_configs: - targets: ['collector_host:9091'] labels: group: collector - targets: ['meta_host1:9091', 'meta_host2:9091', 'meta_host3:9091'] labels: group: meta - targets: ['replica_host1:9091', 'replica_host2:9091', 'replica_host3:9091'] labels: group: replica # # NOTE: Add the following lines if node exporter is deployed. # - targets: # [ # 'node_exporter_host1:9100', # 'node_exporter_host2:9100', # ... # 'node_exporter_hostn:9100', # ] # labels: # group: node_exporter 对于上述通过 ./run.sh start_onebox -r 3 -m 2 -c 启动的onebox集群, 实际配置如下: global: scrape_interval: 5s scrape_configs: - job_name: "pegasus" static_configs: - targets: ["0.0.0.0:9091"] labels: group: collector - targets: ["0.0.0.0:9092", "0.0.0.0:9093"] labels: group: meta - targets: ["0.0.0.0:9094", "0.0.0.0:9095", "0.0.0.0:9096"] labels: group: replica 修改完prometheus.yml之后,启动prometheus: ./prometheus --config.file=prometheus.yml 进入网址 localhost:9090 看到如下界面即表示到这一步为止是成功的。 注: 如果你想要测试Prometheus是否正确配置, 可以检查 http://{prometheus_host}:9090/targets 查看各节点的监控上报状态. 在Expression框内输入需要查找的内容,点击Excute即可在Element中展示查找到的内容,当选择Graph时可以显示该内容一段时间内数值变化情况。 注意 实际运维过程中, 我们通常需要获取一些机器及操作系统的监控指标, 如cpu.busy, disk.iostat等等, 所以在部署Pegasus集群的时候,可以考虑在每一台机器上部署一个node exporter后台实例,具体可参考: Node Exporter Alert Manager 为 Prometheus 报警组件,需单独部署(暂不提供方案,可参照官方文档自行搭建)。通过 Alert Manager,用户可以配置报警策略,接收邮件、短信等报警。 目前我们的prometheus.yml使用的是静态配置的方式(static_configs),其缺点是当动态扩容缩容的时候需要手动去修改该静态配置。当前Prometheus支持多种动态服务发现方式,例如k8s、consul和dns等等,用户也可以根据自己需求去定制实现。详情请参考文档:配置文件说明、实现动态服务发现 配置 Grafana 本小节介绍如何配置 Grafana。 第一步: 安装及运行 Grafana 首先下载grafana二进制包: wget https://dl.grafana.com/oss/release/grafana-6.0.0.linux-amd64.tar.gz //如果报错,可以尝试在后面添加--no-check-certificate tar -zxvf grafana-6.0.0.linux-amd64.tar.gz cd grafana-6.0.0 启动Grafana ./bin/grafana-server web 观察到如下输出,即为启动成功 INFO[07-24|14:36:59] Starting Grafana logger=server version=6.0.0 commit=34a9a62 branch=HEAD compiled=2019-02-25T22:47:26+0800 ... INFO[07-24|14:37:00] HTTP Server Listen logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket= INFO[07-24|14:37:00] cleanup of expired auth tokens done logger=auth count=2 第二步: 添加 Prometheus 数据源 登录 Grafana 界面。如下图所示: 默认地址:http://localhost:3000 默认账户:admin 默认密码:admin 注意: Change Password 步骤可以选择 Skip。 点击 Grafana 侧边栏菜单 Configuration 中的 Data Source。 点击 Add data source。 指定数据源的相关信息: 在 Name 处,为数据源指定一个名称。 在 Type 处,选择 Prometheus。 在 URL 处,指定 Prometheus 的 IP 地址。 根据需求指定其它字段。 点击 Add 保存新的数据源。 第三步: 导入 Pegasus DashBoard 目前Pegasus拥有一个DashBoard,用于提供一些基本的监控信息。其相应的json文件: Pegasus json文件 下载了json文件后,可以通过import的方式将其导入进去。其步骤如下: 进入grafana,点击左边框的”+”,选择import,进入import页面 点击右上角的”Upload .json File”,然后选择文件。选择之后进入如下页面 然后点击左下角的”import”按钮完成导入,并进入到Pegasus相应的DashBoard,其页面如下所示 从图中可以看出,Pegasus的DashBoard分为两个row: Pegasus-Cluster和Pegasus-Table,分别代表集群级别监控和表级监控。在左上角的cluster_name后输入具体的集群名字,便可以查看该集群相应的各种监控信息。","headline":"Monitoring","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/monitoring"},"url":"/administration/monitoring"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"组件 从v1.12.0开始, Pegasus 支持使用 Prometheus 和 Grafana 进项监控项的采集和展示。 Prometheus Prometheus 是一款开源的系统监控和报警套件。它可以通过将采集被监控系统的监控项存入自身的时序数据库中,并且通过丰富的多维数据查询语言,满足用户的不同数据展示需求。 Grafana Grafana 是一款开源的数据分析和展示平台。支持包括 Prometheus 在内的多个主流时序数据库源。通过对应的数据库查询语句,从数据源中获取展现数据。通过灵活可配置的 Dashboard,快速的将这些数据以图表的形式展示给用户。 注意* 本文档仅提供一种使用 Prometheus 和 Grafana 进行 Pegasus 监控数据采集和展示的方式。Pegasus不包含、不维护这些组件。更多关于这些组件的详细介绍,请移步对应官方文档进行查阅。 配置 Prometheus 本小节介绍如何配置 Prometheus。 第一步: 配置Pegasus服务 Pegasus默认不向任何外部系统推送监控信息, 你需要修改配置文件以启用prometheus推送。具体如下: [pegasus.server] perf_counter_sink = prometheus prometheus_port = 9091 注: 如果你想要测试你的Pegasus节点是否正确开启了Prometheus推送, 可以检查 http://{pegasus_host}:{prometheus_port}/metrics 是否能正常访问. Onebox使用Prometheus 如果使用onebox, 请首先修改配置文件src/server/config.min.ini以开启Prometheus推送. 但不需要改动 prometheus_port. [pegasus.server] perf_counter_sink = prometheus prometheus_port = @PROMETHEUS_PORT@ 由于onebox模式下多个Pegasus服务进程部署在一台机器上,因此各replica、meta、collector的prometheus端口存在冲突问题. 当前我们的解决办法是对每个进程配置单独的prometheus port: collector : 9091 meta: [9092, 9093, 9094…] replica: [9092+{META_COUNT}, 9093+{META_COUNT}, 9094+{META_COUNT}…] 例如一个2 meta, 3 replica, 1 collector的onebox集群, 其端口对应如下: ./run.sh start_onebox -r 3 -m 2 -c meta1: 9092, meta2: 9093 replica1: 9094, replica2: 9095, replica3: 9096 第二步: 安装及运行 Prometheus wget https://github.com/prometheus/prometheus/releases/download/v2.15.2/prometheus-2.15.2.linux-amd64.tar.gz tar xvfz prometheus-2.15.2.linux-amd64.tar.gz cd prometheus-2.15.2.linux-amd64 修改prometheus目录下的prometheus.yml文件,配置模板如下所示: global: scrape_interval: 5s scrape_configs: - job_name: 'pegasus' static_configs: - targets: ['collector_host:9091'] labels: group: collector - targets: ['meta_host1:9091', 'meta_host2:9091', 'meta_host3:9091'] labels: group: meta - targets: ['replica_host1:9091', 'replica_host2:9091', 'replica_host3:9091'] labels: group: replica # # NOTE: Add the following lines if node exporter is deployed. # - targets: # [ # 'node_exporter_host1:9100', # 'node_exporter_host2:9100', # ... # 'node_exporter_hostn:9100', # ] # labels: # group: node_exporter 对于上述通过 ./run.sh start_onebox -r 3 -m 2 -c 启动的onebox集群, 实际配置如下: global: scrape_interval: 5s scrape_configs: - job_name: "pegasus" static_configs: - targets: ["0.0.0.0:9091"] labels: group: collector - targets: ["0.0.0.0:9092", "0.0.0.0:9093"] labels: group: meta - targets: ["0.0.0.0:9094", "0.0.0.0:9095", "0.0.0.0:9096"] labels: group: replica 修改完prometheus.yml之后,启动prometheus: ./prometheus --config.file=prometheus.yml 进入网址 localhost:9090 看到如下界面即表示到这一步为止是成功的。 注: 如果你想要测试Prometheus是否正确配置, 可以检查 http://{prometheus_host}:9090/targets 查看各节点的监控上报状态. 在Expression框内输入需要查找的内容,点击Excute即可在Element中展示查找到的内容,当选择Graph时可以显示该内容一段时间内数值变化情况。 注意 实际运维过程中, 我们通常需要获取一些机器及操作系统的监控指标, 如cpu.busy, disk.iostat等等, 所以在部署Pegasus集群的时候,可以考虑在每一台机器上部署一个node exporter后台实例,具体可参考: Node Exporter Alert Manager 为 Prometheus 报警组件,需单独部署(暂不提供方案,可参照官方文档自行搭建)。通过 Alert Manager,用户可以配置报警策略,接收邮件、短信等报警。 目前我们的prometheus.yml使用的是静态配置的方式(static_configs),其缺点是当动态扩容缩容的时候需要手动去修改该静态配置。当前Prometheus支持多种动态服务发现方式,例如k8s、consul和dns等等,用户也可以根据自己需求去定制实现。详情请参考文档:配置文件说明、实现动态服务发现 配置 Grafana 本小节介绍如何配置 Grafana。 第一步: 安装及运行 Grafana 首先下载grafana二进制包: wget https://dl.grafana.com/oss/release/grafana-6.0.0.linux-amd64.tar.gz //如果报错,可以尝试在后面添加--no-check-certificate tar -zxvf grafana-6.0.0.linux-amd64.tar.gz cd grafana-6.0.0 启动Grafana ./bin/grafana-server web 观察到如下输出,即为启动成功 INFO[07-24|14:36:59] Starting Grafana logger=server version=6.0.0 commit=34a9a62 branch=HEAD compiled=2019-02-25T22:47:26+0800 ... INFO[07-24|14:37:00] HTTP Server Listen logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket= INFO[07-24|14:37:00] cleanup of expired auth tokens done logger=auth count=2 第二步: 添加 Prometheus 数据源 登录 Grafana 界面。如下图所示: 默认地址:http://localhost:3000 默认账户:admin 默认密码:admin 注意: Change Password 步骤可以选择 Skip。 点击 Grafana 侧边栏菜单 Configuration 中的 Data Source。 点击 Add data source。 指定数据源的相关信息: 在 Name 处,为数据源指定一个名称。 在 Type 处,选择 Prometheus。 在 URL 处,指定 Prometheus 的 IP 地址。 根据需求指定其它字段。 点击 Add 保存新的数据源。 第三步: 导入 Pegasus DashBoard 目前Pegasus拥有一个DashBoard,用于提供一些基本的监控信息。其相应的json文件: Pegasus json文件 下载了json文件后,可以通过import的方式将其导入进去。其步骤如下: 进入grafana,点击左边框的”+”,选择import,进入import页面 点击右上角的”Upload .json File”,然后选择文件。选择之后进入如下页面 然后点击左下角的”import”按钮完成导入,并进入到Pegasus相应的DashBoard,其页面如下所示 从图中可以看出,Pegasus的DashBoard分为两个row: Pegasus-Cluster和Pegasus-Table,分别代表集群级别监控和表级监控。在左上角的cluster_name后输入具体的集群名字,便可以查看该集群相应的各种监控信息。","headline":"Monitoring","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/monitoring"},"url":"/administration/monitoring"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/partition-split.html b/output/zh/administration/partition-split.html
index c402474..e14a318 100644
--- a/output/zh/administration/partition-split.html
+++ b/output/zh/administration/partition-split.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能简介 在pegasus中,表的partition个数是在创建时指定的,并且不会动态改变,但随着数据量不断增大,可能出现partition数据过大的情况,这样可能会导致读写效率下降,因此需要人工增大partition个数来保障服务质量。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Partition Split" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能简介 在pegasus中,表的partition个数是在创建时指定的,并且不会动态改变,但随着数据量不断增大,可能出现partition数据过大的情况,这样可能会导致读写效率下降,因此需要人工增大partition个数来保障服务质量。","headline":"Partition Split","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/partition-split"},"url":"/administration/partition-split"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能简介 在pegasus中,表的partition个数是在创建时指定的,并且不会动态改变,但随着数据量不断增大,可能出现partition数据过大的情况,这样可能会导致读写效率下降,因此需要人工增大partition个数来保障服务质量。","headline":"Partition Split","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/partition-split"},"url":"/administration/partition-split"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/rebalance.html b/output/zh/administration/rebalance.html
index c297a22..03a5252 100644
--- a/output/zh/administration/rebalance.html
+++ b/output/zh/administration/rebalance.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="本文档主要介绍Pegasus负载均衡的概念、使用和设计。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Rebalance" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"本文档主要介绍Pegasus负载均衡的概念、使用和设计。","headline":"Rebalance","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rebalance"},"url":"/administration/rebalance"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"本文档主要介绍Pegasus负载均衡的概念、使用和设计。","headline":"Rebalance","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rebalance"},"url":"/administration/rebalance"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/remote-commands.html b/output/zh/administration/remote-commands.html
index 0006dfd..04f87a2 100644
--- a/output/zh/administration/remote-commands.html
+++ b/output/zh/administration/remote-commands.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能目标" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Remote Commands" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能目标","headline":"Remote Commands","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/remote-commands"},"url":"/administration/remote-commands"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能目标","headline":"Remote Commands","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/remote-commands"},"url":"/administration/remote-commands"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/replica-recovery.html b/output/zh/administration/replica-recovery.html
index 8c6ce8c..f701418 100644
--- a/output/zh/administration/replica-recovery.html
+++ b/output/zh/administration/replica-recovery.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="原理" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Replica Recovery" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"原理","headline":"Replica Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/replica-recovery"},"url":"/administration/replica-recovery"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"原理","headline":"Replica Recovery","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/replica-recovery"},"url":"/administration/replica-recovery"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/resource-management.html b/output/zh/administration/resource-management.html
index addaa0b..238fb5a 100644
--- a/output/zh/administration/resource-management.html
+++ b/output/zh/administration/resource-management.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="背景介绍 Pegasus系统主要用到了资源包括SSD存储、内存、网络连接等。对这些资源的使用不要太满,否则系统可能会不稳定甚至崩溃。建议: SSD存储使用不要超过每个节点的80%。 内存使用不要超过每个节点的80%。 网络连接数不要超过系统配置,建议连接数控制在5万以内。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Resource Management" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"背景介绍 Pegasus系统主要用到了资源包括SSD存储、内存、网络连接等。对这些资源的使用不要太满,否则系统可能会不稳定甚至崩溃。建议: SSD存储使用不要超过每个节点的80%。 内存使用不要超过每个节点的80%。 网络连接数不要超过系统配置,建议连接数控制在5万以内。","headline":"Resource Management","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/resource-management"},"url":"/administration/resource-management"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"背景介绍 Pegasus系统主要用到了资源包括SSD存储、内存、网络连接等。对这些资源的使用不要太满,否则系统可能会不稳定甚至崩溃。建议: SSD存储使用不要超过每个节点的80%。 内存使用不要超过每个节点的80%。 网络连接数不要超过系统配置,建议连接数控制在5万以内。","headline":"Resource Management","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/resource-management"},"url":"/administration/resource-management"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/rolling-update.html b/output/zh/administration/rolling-update.html
index 2a0adcf..5f8def8 100644
--- a/output/zh/administration/rolling-update.html
+++ b/output/zh/administration/rolling-update.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能目标" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Rolling Update" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能目标","headline":"Rolling Update","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rolling-update"},"url":"/administration/rolling-update"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能目标","headline":"Rolling Update","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/rolling-update"},"url":"/administration/rolling-update"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/scale-in-out.html b/output/zh/administration/scale-in-out.html
index 7075e71..5a16501 100644
--- a/output/zh/administration/scale-in-out.html
+++ b/output/zh/administration/scale-in-out.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能目标" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Scale In Out" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能目标","headline":"Scale In Out","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/scale-in-out"},"url":"/administration/scale-in-out"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能目标","headline":"Scale In Out","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/scale-in-out"},"url":"/administration/scale-in-out"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/table-env.html b/output/zh/administration/table-env.html
index f552d50..160ad91 100644
--- a/output/zh/administration/table-env.html
+++ b/output/zh/administration/table-env.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能目标" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Table Env" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能目标","headline":"Table Env","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-env"},"url":"/administration/table-env"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能目标","headline":"Table Env","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-env"},"url":"/administration/table-env"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/table-migration.html b/output/zh/administration/table-migration.html
index a7929cc..febbe5b 100644
--- a/output/zh/administration/table-migration.html
+++ b/output/zh/administration/table-migration.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="这里说的Table迁移是指将某个Pegasus集群的一个表的数据迁移到另一个Pegasus集群中。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Table Migration" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"这里说的Table迁移是指将某个Pegasus集群的一个表的数据迁移到另一个Pegasus集群中。","headline":"Table Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-migration"},"url":"/administration/table-migration"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"这里说的Table迁移是指将某个Pegasus集群的一个表的数据迁移到另一个Pegasus集群中。","headline":"Table Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-migration"},"url":"/administration/table-migration"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/table-soft-delete.html b/output/zh/administration/table-soft-delete.html
index 32806cb..b6af7d2 100644
--- a/output/zh/administration/table-soft-delete.html
+++ b/output/zh/administration/table-soft-delete.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能目标 软删除主要用于防范数据被错误的永久删除。具体而言,软删除应该具有如下几个功能: 当用户删除某个指定的表后,该表变得不可访问。 被删除的表其数据不会立即物理清除,而是会保留一段时间。 被删除的表过期(超过保留时间)后,数据会从物理上做彻底的删除,但是数据真正删除的时间还取决于其他因素,参见垃圾文件夹管理。 未过期的表可以通过一定的方式恢复,恢复成功后又可以像正常的表一样进行读写访问。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Table Soft Delete" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能目标 软删除主要用于防范数据被错误的永久删除。具体而言,软删除应该具有如下几个功能: 当用户删除某个指定的表后,该表变得不可访问。 被删除的表其数据不会立即物理清除,而是会保留一段时间。 被删除的表过期(超过保留时间)后,数据会从物理上做彻底的删除,但是数据真正删除的时间还取决于其他因素,参见垃圾文件夹管理。 未过期的表可以通过一定的方式恢复,恢复成功后又可以像正常的表一样进行读写访问。","headline":"Table Soft Delete","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-soft-delete"},"url":"/administration/table-soft-delete"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能目标 软删除主要用于防范数据被错误的永久删除。具体而言,软删除应该具有如下几个功能: 当用户删除某个指定的表后,该表变得不可访问。 被删除的表其数据不会立即物理清除,而是会保留一段时间。 被删除的表过期(超过保留时间)后,数据会从物理上做彻底的删除,但是数据真正删除的时间还取决于其他因素,参见垃圾文件夹管理。 未过期的表可以通过一定的方式恢复,恢复成功后又可以像正常的表一样进行读写访问。","headline":"Table Soft Delete","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/table-soft-delete"},"url":"/administration/table-soft-delete"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/throttling.html b/output/zh/administration/throttling.html
index ac9c3d9..1b4f3e5 100644
--- a/output/zh/administration/throttling.html
+++ b/output/zh/administration/throttling.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="关于流控 流量控制是指通过一些手段来控制读写请求的速度。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Throttling" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"关于流控 流量控制是指通过一些手段来控制读写请求的速度。","headline":"Throttling","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/throttling"},"url":"/administration/throttling"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"关于流控 流量控制是指通过一些手段来控制读写请求的速度。","headline":"Throttling","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/throttling"},"url":"/administration/throttling"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/usage-scenario.html b/output/zh/administration/usage-scenario.html
index 17de0ad..afdf0a7 100644
--- a/output/zh/administration/usage-scenario.html
+++ b/output/zh/administration/usage-scenario.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="注:Usage Scenario功能从v1.8.1版本开始支持。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Usage Scenario" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"注:Usage Scenario功能从v1.8.1版本开始支持。","headline":"Usage Scenario","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/usage-scenario"},"url":"/administration/usage-scenario"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"注:Usage Scenario功能从v1.8.1版本开始支持。","headline":"Usage Scenario","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/usage-scenario"},"url":"/administration/usage-scenario"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/whitelist.html b/output/zh/administration/whitelist.html
index b84bc92..e84cca4 100644
--- a/output/zh/administration/whitelist.html
+++ b/output/zh/administration/whitelist.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="介绍" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Whitelist" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"介绍","headline":"Whitelist","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/whitelist"},"url":"/administration/whitelist"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"介绍","headline":"Whitelist","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/whitelist"},"url":"/administration/whitelist"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/administration/zk-migration.html b/output/zh/administration/zk-migration.html
index 8e3a91a..d5f6a87 100644
--- a/output/zh/administration/zk-migration.html
+++ b/output/zh/administration/zk-migration.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="由于Pegasus的meta server依赖Zookeeper存储元数据和抢主,所以Zookeeper服务的不稳定会造成Pegasus服务不稳定,有时就需要迁移到其他更稳定或者空闲的Zookeeper上。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Zk Migration" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"由于Pegasus的meta server依赖Zookeeper存储元数据和抢主,所以Zookeeper服务的不稳定会造成Pegasus服务不稳定,有时就需要迁移到其他更稳定或者空闲的Zookeeper上。","headline":"Zk Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/zk-migration"},"url":"/administration/zk-migration"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"由于Pegasus的meta server依赖Zookeeper存储元数据和抢主,所以Zookeeper服务的不稳定会造成Pegasus服务不稳定,有时就需要迁移到其他更稳定或者空闲的Zookeeper上。","headline":"Zk Migration","mainEntityOfPage":{"@type":"WebPage","@id":"/administration/zk-migration"},"url":"/administration/zk-migration"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/api/geo.html b/output/zh/api/geo.html
index 22f82b7..e536595 100644
--- a/output/zh/api/geo.html
+++ b/output/zh/api/geo.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus GEO支持" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Geo" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus GEO支持","headline":"Geo","mainEntityOfPage":{"@type":"WebPage","@id":"/api/geo"},"url":"/api/geo"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus GEO支持","headline":"Geo","mainEntityOfPage":{"@type":"WebPage","@id":"/api/geo"},"url":"/api/geo"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/api/http.html b/output/zh/api/http.html
index a1e60e0..e5b99ff 100644
--- a/output/zh/api/http.html
+++ b/output/zh/api/http.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="功能介绍" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Http" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"功能介绍","headline":"Http","mainEntityOfPage":{"@type":"WebPage","@id":"/api/http"},"url":"/api/http"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"功能介绍","headline":"Http","mainEntityOfPage":{"@type":"WebPage","@id":"/api/http"},"url":"/api/http"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/api/index.html b/output/zh/api/index.html
index 6240f05..f8a36b4 100644
--- a/output/zh/api/index.html
+++ b/output/zh/api/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="这里介绍Pegasus服务所提供的用户接口。客户端可以在我们的服务接口上做二次封装。 通常你只需要通过 客户端文档 学习如何与Pegasus交互。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Api" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"这里介绍Pegasus服务所提供的用户接口。客户端可以在我们的服务接口上做二次封装。 通常你只需要通过 客户端文档 学习如何与Pegasus交互。","headline":"Api","mainEntityOfPage":{"@type":"WebPage","@id":"/api/"},"url":"/api/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"这里介绍Pegasus服务所提供的用户接口。客户端可以在我们的服务接口上做二次封装。 通常你只需要通过 客户端文档 学习如何与Pegasus交互。","headline":"Api","mainEntityOfPage":{"@type":"WebPage","@id":"/api/"},"url":"/api/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/api/redis.html b/output/zh/api/redis.html
index 604d64b..be5684a 100644
--- a/output/zh/api/redis.html
+++ b/output/zh/api/redis.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Redis适配" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Redis" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Redis适配","headline":"Redis","mainEntityOfPage":{"@type":"WebPage","@id":"/api/redis"},"url":"/api/redis"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Redis适配","headline":"Redis","mainEntityOfPage":{"@type":"WebPage","@id":"/api/redis"},"url":"/api/redis"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/api/single-atomic.html b/output/zh/api/single-atomic.html
index 0d605aa..4ad620f 100644
--- a/output/zh/api/single-atomic.html
+++ b/output/zh/api/single-atomic.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="从v1.10.0版本开始,Pegasus支持单行原子操作。这里的单行是指同一HashKey下的所有数据。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Single Atomic" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"从v1.10.0版本开始,Pegasus支持单行原子操作。这里的单行是指同一HashKey下的所有数据。","headline":"Single Atomic","mainEntityOfPage":{"@type":"WebPage","@id":"/api/single-atomic"},"url":"/api/single-atomic"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"从v1.10.0版本开始,Pegasus支持单行原子操作。这里的单行是指同一HashKey下的所有数据。","headline":"Single Atomic","mainEntityOfPage":{"@type":"WebPage","@id":"/api/single-atomic"},"url":"/api/single-atomic"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/api/ttl.html b/output/zh/api/ttl.html
index 0d99450..fcbaa14 100644
--- a/output/zh/api/ttl.html
+++ b/output/zh/api/ttl.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="原理 Pegasus支持TTL(Time-To-Live)功能,即在写入数据的时候,可以指定数据的过期时间。一旦过期,数据对用户就是不可见的,通过get/multiGet等查询接口获取不到数据,就跟数据没有写入一样。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Ttl" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"原理 Pegasus支持TTL(Time-To-Live)功能,即在写入数据的时候,可以指定数据的过期时间。一旦过期,数据对用户就是不可见的,通过get/multiGet等查询接口获取不到数据,就跟数据没有写入一样。","headline":"Ttl","mainEntityOfPage":{"@type":"WebPage","@id":"/api/ttl"},"url":"/api/ttl"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"原理 Pegasus支持TTL(Time-To-Live)功能,即在写入数据的时候,可以指定数据的过期时间。一旦过期,数据对用户就是不可见的,通过get/multiGet等查询接口获取不到数据,就跟数据没有写入一样。","headline":"Ttl","mainEntityOfPage":{"@type":"WebPage","@id":"/api/ttl"},"url":"/api/ttl"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/clients/cpp-client.html b/output/zh/clients/cpp-client.html
index 5616395..5dfb1d2 100644
--- a/output/zh/clients/cpp-client.html
+++ b/output/zh/clients/cpp-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="获取Cpp客户端 首先需要编译Pegasus,编译完成后运行以下命令可以打包生产Cpp客户端库: ./run.sh pack_client 运行成功后,会在本地文件夹下生产pegasus-client-{version}-{platform}-{buildType}的文件夹以及tar.gz文件。在文件夹里面有个sample/文件夹,进去后可以运行make编译示例程序。" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Cpp Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"获取Cpp客户端 首先需要编译Pegasus,编译完成后运行以下命令可以打包生产Cpp客户端库: ./run.sh pack_client 运行成功后,会在本地文件夹下生产pegasus-client-{version}-{platform}-{buildType}的文件夹以及tar.gz文件。在文件夹里面有个sample/文件夹,进去后可以运行make编译示例程序。","headline":"Cpp Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/cpp-client"},"url":"/clients/cpp-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"获取Cpp客户端 首先需要编译Pegasus,编译完成后运行以下命令可以打包生产Cpp客户端库: ./run.sh pack_client 运行成功后,会在本地文件夹下生产pegasus-client-{version}-{platform}-{buildType}的文件夹以及tar.gz文件。在文件夹里面有个sample/文件夹,进去后可以运行make编译示例程序。","headline":"Cpp Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/cpp-client"},"url":"/clients/cpp-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/clients/index.html b/output/zh/clients/index.html
index 1212ce3..95e8d82 100644
--- a/output/zh/clients/index.html
+++ b/output/zh/clients/index.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="Pegasus目前提供以下多种客户端支持:" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Clients" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"Pegasus目前提供以下多种客户端支持:","headline":"Clients","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/"},"url":"/clients/"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"Pegasus目前提供以下多种客户端支持:","headline":"Clients","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/"},"url":"/clients/"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
@@ -770,7 +758,7 @@
<td><a href="https://github.com/apache/incubator-pegasus/tree/master/go-client">https://github.com/apache/incubator-pegasus/tree/master/go-client</a></td>
</tr>
<tr>
- <td>Python3</td>
+ <td>Python</td>
<td><a href="https://github.com/apache/incubator-pegasus/tree/master/python-client">https://github.com/apache/incubator-pegasus/tree/master/python-client</a></td>
</tr>
<tr>
diff --git a/output/zh/clients/java-client.html b/output/zh/clients/java-client.html
index 87163cf..7dacc34 100644
--- a/output/zh/clients/java-client.html
+++ b/output/zh/clients/java-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="获取Java客户端" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Java Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"获取Java客户端","headline":"Java Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/java-client"},"url":"/clients/java-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"获取Java客户端","headline":"Java Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/java-client"},"url":"/clients/java-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/clients/node-client.html b/output/zh/clients/node-client.html
index 760e88c..2b703dc 100644
--- a/output/zh/clients/node-client.html
+++ b/output/zh/clients/node-client.html
@@ -20,11 +20,11 @@
<meta property="og:description" content="安装NodeJs客户端 项目地址:Pegasus NodeJS Client 下载并将客户端依赖添加到package.json中: npm install pegasus-nodejs-client --save 创建/关闭客户端 create let pegasusClient = require('pegasus-nodejs-client'); /** * Create a client instance * @param {Object} configs * {Array} configs.metaServers required * {String} configs.metaServers[i] required * {Number} configs.operationTimeout(ms) optional * {Object} configs.log optional * @return {Client} client instance * @throws {InvalidParamException} */ client = pegasusClient.create({ metaServers: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603'], operationTimeout : 5000, log : log, }); metaServers为meta server地址列表,为必填项 operationTimeout为本次操作的超时时间,单位是毫秒,默认是1000ms log为日志库实例 我们使用日志库 log4js 默认使用的日志配置在log_config.js文件中,配置如下: let filename = "./logs/"+process.pid+"/pegasus-nodejs-client.log"; let logConfig = { appenders: { pegasus: { type: "file", filename: filename, maxLogSize: 104857600, backups: 10 } }, categories: { default: { appenders: ["pegasus"], level: "INFO" } } }; 上述配置表示,会将错误级别等于及高于INFO级别的日志存储在文件中,每个日志文件最大100M,最多保留10个日志文件 若不想使用默认配置,则需要重新定义如上的logConfig对象,作为创建客户端时的log对象 当参数有误时,会抛出异常,停止后续操作" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Node Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"安装NodeJs客户端 项目地址:Pegasus NodeJS Client 下载并将客户端依赖添加到package.json中: npm install pegasus-nodejs-client --save 创建/关闭客户端 create let pegasusClient = require('pegasus-nodejs-client'); /** * Create a client instance * @param {Object} configs * {Array} configs.metaServers required * {String} configs.metaServers[i] required * {Number} configs.operationTimeout(ms) optional * {Object} configs.log optional * @return {Client} client instance * @throws {InvalidParamException} */ client = pegasusClient.create({ metaServers: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603'], operationTimeout : 5000, log : log, }); metaServers为meta server地址列表,为必填项 operationTimeout为本次操作的超时时间,单位是毫秒,默认是1000ms log为日志库实例 我们使用日志库 log4js 默认使用的日志配置在log_config.js文件中,配置如下: let filename = "./logs/"+process.pid+"/pegasus-nodejs-client.log"; let logConfig = { appenders: { pegasus: { type: "file", filename: filename, maxLogSize: 104857600, backups: 10 } }, categories: { default: { appenders: ["pegasus"], level: "INFO" } } }; 上述配置表示,会将错误级别等于及高于INFO级别的日志存储在文件中,每个日志文件最大100M,最多保留10个日志文件 若不想使用默认配置,则需要重新定义如上的logConfig对象,作为创建客户端时的log对象 当参数有误时,会抛出异常,停止后续操作","headline":"Node Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/node-client"},"url":"/clients/node-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"安装NodeJs客户端 项目地址:Pegasus NodeJS Client 下载并将客户端依赖添加到package.json中: npm install pegasus-nodejs-client --save 创建/关闭客户端 create let pegasusClient = require('pegasus-nodejs-client'); /** * Create a client instance * @param {Object} configs * {Array} configs.metaServers required * {String} configs.metaServers[i] required * {Number} configs.operationTimeout(ms) optional * {Object} configs.log optional * @return {Client} client instance * @throws {InvalidParamException} */ client = pegasusClient.create({ metaServers: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603'], operationTimeout : 5000, log : log, }); metaServers为meta server地址列表,为必填项 operationTimeout为本次操作的超时时间,单位是毫秒,默认是1000ms log为日志库实例 我们使用日志库 log4js 默认使用的日志配置在log_config.js文件中,配置如下: let filename = "./logs/"+process.pid+"/pegasus-nodejs-client.log"; let logConfig = { appenders: { pegasus: { type: "file", filename: filename, maxLogSize: 104857600, backups: 10 } }, categories: { default: { appenders: ["pegasus"], level: "INFO" } } }; 上述配置表示,会将错误级别等于及高于INFO级别的日志存储在文件中,每个日志文件最大100M,最多保留10个日志文件 若不想使用默认配置,则需要重新定义如上的logConfig对象,作为创建客户端时的log对象 当参数有误时,会抛出异常,停止后续操作","headline":"Node Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/node-client"},"url":"/clients/node-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
+ <a href="/zh/clients/python-client"
class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ Python客户端
</a>
<a href="/zh/clients/node-client"
diff --git a/output/zh/clients/python-client.html b/output/zh/clients/python-client.html
index d6cc45e..8d5834a 100644
--- a/output/zh/clients/python-client.html
+++ b/output/zh/clients/python-client.html
@@ -16,15 +16,15 @@
<meta name="generator" content="Jekyll v4.3.2" />
<meta property="og:title" content="Python Client" />
<meta property="og:locale" content="en_US" />
-<meta name="description" content="TRANSLATING" />
-<meta property="og:description" content="TRANSLATING" />
+<meta name="description" content="pegasus python client" />
+<meta property="og:description" content="pegasus python client" />
<meta property="og:site_name" content="Pegasus" />
<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
+<meta property="article:published_time" content="2023-11-23T14:57:08+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Python Client" />
<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"TRANSLATING","headline":"Python Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python-client"},"url":"/clients/python-client"}</script>
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:57:08+00:00","datePublished":"2023-11-23T14:57:08+00:00","description":"pegasus python client","headline":"Python Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python-client"},"url":"/clients/python-client"}</script>
<!-- End Jekyll SEO tag -->
</head>
@@ -100,16 +100,9 @@
</li>
<li>
- <a href="/zh/clients/python2-client"
- class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
+ <a href="/zh/clients/python-client"
+ class="is-active">
+ Python客户端
</a>
</li>
@@ -481,14 +474,9 @@
Golang客户端
</a>
- <a href="/zh/clients/python2-client"
- class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
+ <a href="/zh/clients/python-client"
+ class="navbar-item is-active">
+ Python客户端
</a>
<a href="/zh/clients/node-client"
@@ -744,12 +732,450 @@
<section class="hero is-info lg:mr-3">
<div class="hero-body">
- <p class="title is-size-2 is-centered"></p>
+ <p class="title is-size-2 is-centered">Python客户端</p>
</div>
</section>
<section class="section" style="padding-top: 2rem;">
<div class="content">
- <p>TRANSLATING</p>
+ <h1 id="pegasus-python-client">pegasus python client</h1>
+
+<h2 id="项目地址">项目地址</h2>
+
+<p><a href="https://github.com/apache/incubator-pegasus/tree/master/python-client">https://github.com/apache/incubator-pegasus/tree/master/python-client</a></p>
+
+<h2 id="版本要求">版本要求</h2>
+
+<p>Python 3.7+</p>
+
+<h2 id="安装">安装</h2>
+
+<p><code class="language-plaintext highlighter-rouge">pip3 install pypegasus3</code></p>
+
+<h2 id="使用">使用</h2>
+
+<p>pegasus python client使用了<a href="https://github.com/twisted/twisted">twisted</a>, 编写的代码会带有twisted的影子。</p>
+
+<h3 id="示例">示例</h3>
+
+<p>完整的示例请参考<a href="https://github.com/apache/incubator-pegasus/tree/master/python-client/sample.py">sample</a>。以下是简单的示例:</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#!/usr/bin/env python
+# coding:utf-8
+
+from pypegasus.pgclient import Pegasus
+
+from twisted.internet import reactor
+from twisted.internet.defer import inlineCallbacks
+
+
+@inlineCallbacks
+def basic_test():
+ # init
+ c = Pegasus(['127.0.0.1:34601', '127.0.0.1:34602'], 'temp')
+
+ suc = yield c.init()
+ if not suc:
+ reactor.stop()
+ print('ERROR: connect pegasus server failed')
+ return
+
+ # set
+ try:
+ ret = yield c.set('hkey1', 'skey1', 'value', 0, 500)
+ print('set ret: ', ret)
+ except Exception as e:
+ print(e)
+
+ # get
+ ret = yield c.get('hkey1', 'skey1')
+ print('get ret: ', bytes.decode(ret))
+
+ reactor.stop()
+
+
+if __name__ == "__main__":
+ reactor.callWhenRunning(basic_test)
+ reactor.run()
+</code></pre></div></div>
+
+<h3 id="log配置文件">log配置文件</h3>
+
+<p>pegasus python client使用了<a href="https://docs.python.org/2/library/logging.html">logging</a>日志包,默认配置如下:</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[loggers]
+keys=root
+[logger_root]
+level=INFO
+handlers=hand01
+propagate=0
+[handlers]
+keys=hand01
+[handler_hand01]
+class=handlers.RotatingFileHandler
+formatter=form01
+args=('pegasus.log', 'a', 100*1024*1024, 10)
+[formatters]
+keys=form01
+[formatter_form01]
+format=%(asctime)s [%(thread)d] [%(levelname)s] %(filename)s:%(lineno)d %(message)s
+datefmt=%Y-%m-%d %H:%M:%S
+</code></pre></div></div>
+
+<p>如果用户有定制需求,可以在自己的代码目录添加配置文件<code class="language-plaintext highlighter-rouge">logger.conf</code></p>
+
+<h3 id="api说明">API说明</h3>
+
+<h4 id="初始化">初始化</h4>
+
+<p>初始化先构造Pegasus对象,在使用init函数完成初始化:</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class Pegasus(object):
+ """
+ Pegasus client class.
+ """
+
+ def __init__(self, meta_addrs=None, table_name='',
+ timeout=DEFAULT_TIMEOUT):
+ """
+ :param meta_addrs: (list) pagasus meta servers list.
+ example: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603']
+ :param table_name: (bytes) table name/app name used in pegasus.
+ :param timeout: (int) default timeout in milliseconds when communicate with meta sever and replica server.
+ """
+</code></pre></div></div>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> def init(self):
+ """
+ Initialize the client before you can use it.
+
+ :return: (DeferredList) True when initialized succeed, others when failed.
+ """
+</code></pre></div></div>
+
+<h4 id="ttl">ttl</h4>
+
+<p>判断key的剩余的ttl时间</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def ttl(self, hash_key, sort_key, timeout=0):
+ """
+ Get ttl(time to live) of the data.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sort_key: (bytes) which sort key used for this API.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, int>) (code, ttl)
+ code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
+ ttl: in seconds, -1 means forever.
+ """
+</code></pre></div></div>
+
+<h4 id="exist">exist</h4>
+
+<p>判断key是否存在</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def exist(self, hash_key, sort_key, timeout=0):
+ """
+ Check value exist.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sort_key: (bytes) which sort key used for this API.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, None>) (code, ign)
+ code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
+ ign: useless, should be ignored.
+ """
+</code></pre></div></div>
+
+<h4 id="set">set</h4>
+
+<p>插入一条数据(若已存在则会覆盖)</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def set(self, hash_key, sort_key, value, ttl=0, timeout=0):
+ """
+ Set value to be stored in <hash_key, sort_key>.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sort_key: (bytes) which sort key used for this API.
+ :param value: (bytes) value to be stored under <hash_key, sort_key>.
+ :param ttl: (int) ttl(time to live) in seconds of this data.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, None>) (code, ign)
+ code: error_types.ERR_OK.value when data stored succeed.
+ ign: useless, should be ignored.
+ """
+</code></pre></div></div>
+
+<h4 id="multi_set">multi_set</h4>
+
+<p>同时写一条hashkey的多条sortkey数据</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_set(self, hash_key, sortkey_value_dict, ttl=0, timeout=0):
+ """
+ Set multiple sort_keys-values under hash_key to be stored.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sortkey_value_dict: (dict) <sort_key, value> pairs in dict.
+ :param ttl: (int) ttl(time to live) in seconds of these data.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, _>) (code, ign)
+ code: error_types.ERR_OK.value when data stored succeed.
+ ign: useless, should be ignored.
+ """
+</code></pre></div></div>
+
+<h4 id="get">get</h4>
+
+<p>获取一条数据</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get(self, hash_key, sort_key, timeout=0):
+ """
+ Get value stored in <hash_key, sort_key>.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sort_key: (bytes) which sort key used for this API.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, bytes>) (code, value).
+ code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
+ value: data stored in this <hash_key, sort_key>
+ """
+</code></pre></div></div>
+
+<h4 id="multi_get">multi_get</h4>
+
+<p>同时读一条hashkey的多条sortkey数据</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get(self, hash_key,
+ sortkey_set,
+ max_kv_count=100,
+ max_kv_size=1000000,
+ no_value=False,
+ timeout=0):
+ """
+ Get multiple values stored in <hash_key, sortkey> pairs.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sortkey_set: (set) sort keys in set.
+ :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
+ :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
+ :param no_value: (bool) whether to fetch value of these keys.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, dict>) (code, kvs)
+ code: error_types.ERR_OK.value when data got succeed.
+ kvs: <sort_key, value> pairs in dict.
+ """
+</code></pre></div></div>
+
+<h4 id="multi_get_opt">multi_get_opt</h4>
+
+<p>同时读一条hashkey的多条sortkey数据, 读取的数据根据<code class="language-plaintext highlighter-rouge">multi_get_options</code>参数指定的模式确定。</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get_opt(self, hash_key,
+ start_sort_key, stop_sort_key,
+ multi_get_options,
+ max_kv_count=100,
+ max_kv_size=1000000,
+ timeout=0):
+ """
+ Get multiple values stored in hash_key, and sort key range in [start_sort_key, stop_sort_key) as default.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param start_sort_key: (bytes) returned k-v pairs is start from start_sort_key.
+ :param stop_sort_key: (bytes) returned k-v pairs is stop at stop_sort_key.
+ :param multi_get_options: (MultiGetOptions) configurable multi_get options.
+ :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
+ :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, dict>) (code, kvs)
+ code: error_types.ERR_OK.value when data got succeed.
+ kvs: <sort_key, value> pairs in dict.
+ """
+</code></pre></div></div>
+
+<p>其中,<code class="language-plaintext highlighter-rouge">MultiGetOptions</code>可以指定sortkey的范围、是否包含边界、子串匹配、是否返回value、是否逆序等,具体定义如下:</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class MultiGetOptions(object):
+ """
+ configurable options for multi_get.
+ """
+
+ def __init__(self):
+ self.start_inclusive = True
+ self.stop_inclusive = False
+ self.sortkey_filter_type = filter_type.FT_NO_FILTER
+ self.sortkey_filter_pattern = ""
+ self.no_value = False
+ self.reverse = False
+
+class filter_type:
+ FT_NO_FILTER = 0
+ FT_MATCH_ANYWHERE = 1
+ FT_MATCH_PREFIX = 2
+ FT_MATCH_POSTFIX = 3
+</code></pre></div></div>
+
+<h4 id="remove">remove</h4>
+
+<p>删除一条数据</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def remove(self, hash_key, sort_key, timeout=0):
+ """
+ Remove the entire <hash_key, sort_key>-value in pegasus.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sort_key: (bytes) which sort key used for this API.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, None>) (code, ign)
+ code: error_types.ERR_OK.value when data stored succeed.
+ ign: useless, should be ignored.
+ """
+</code></pre></div></div>
+
+<h4 id="multi_del">multi_del</h4>
+
+<p>批量删除一个hashkey下的多条sortkey数据</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_del(self, hash_key, sortkey_set, timeout=0):
+ """
+ Remove multiple entire <hash_key, sort_key>-values in pegasus.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param sortkey_set: (set) sort keys in set.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, int>) (code, count).
+ code: error_types.ERR_OK.value when data got succeed.
+ count: count of deleted k-v pairs.
+ """
+</code></pre></div></div>
+
+<h4 id="sort_key_count">sort_key_count</h4>
+
+<p>获取一个hashkey下的sortkey数量</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def sort_key_count(self, hash_key, timeout=0):
+ """
+ Get the total sort key count under the hash_key.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, count>) (code, count)
+ code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
+ value: total sort key count under the hash_key.
+ """
+</code></pre></div></div>
+
+<h4 id="get_sort_keys">get_sort_keys</h4>
+
+<p>获取一个hashkey下的sortkey值</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_sort_keys(self, hash_key,
+ max_kv_count=100,
+ max_kv_size=1000000,
+ timeout=0):
+ """
+ Get multiple sort keys under hash_key.
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
+ :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
+ :param timeout: (int) how long will the operation timeout in milliseconds.
+ if timeout > 0, it is a timeout value for current operation,
+ else the timeout value specified to create the instance will be used.
+ :return: (tuple<error_types.code.value, set>) (code, ks)
+ code: error_types.ERR_OK.value when data got succeed.
+ ks: <sort_key, ign> pairs in dict, ign will always be empty bytes.
+ """
+</code></pre></div></div>
+
+<h4 id="get_scanner">get_scanner</h4>
+
+<p>获取scanner对象,用于指定范围的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_scanner(self, hash_key,
+ start_sort_key, stop_sort_key,
+ scan_options):
+ """
+ Get scanner for hash_key, start from start_sort_key, and stop at stop_sort_key.
+ Whether the scanner include the start_sort_key and stop_sort_key is configurable by scan_options
+
+ :param hash_key: (bytes) which hash key used for this API.
+ :param start_sort_key: (bytes) returned scanner is start from start_sort_key.
+ :param stop_sort_key: (bytes) returned scanner is stop at stop_sort_key.
+ :param scan_options: (ScanOptions) configurable scan options.
+ :return: (PegasusScanner) scanner, instance of PegasusScanner.
+ """
+</code></pre></div></div>
+
+<p>其中,<code class="language-plaintext highlighter-rouge">ScanOptions</code>可以指定是否包含边界、超时时间、一次从replica server批量获取的sortkey-value数量等,具体定义如下:</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class ScanOptions(object):
+ """
+ configurable options for scan.
+ """
+
+ def __init__(self):
+ self.timeout_millis = 5000
+ self.batch_size = 1000
+ self.start_inclusive = True
+ self.stop_inclusive = False
+ self.snapshot = None # for future use
+</code></pre></div></div>
+
+<h4 id="get_unordered_scanners">get_unordered_scanners</h4>
+
+<p>一次性获取多个scanner,用于整个table的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_unordered_scanners(self, max_split_count, scan_options):
+ """
+ Get scanners for the whole pegasus table.
+
+ :param max_split_count: (int) max count of scanners will be returned.
+ :param scan_options: (ScanOptions) configurable scan options.
+ :return: (list) instance of PegasusScanner list.
+ each scanner in this list can scan separate part of the whole pegasus table.
+ """
+</code></pre></div></div>
+
+<h4 id="scanner对象">scanner对象</h4>
+
+<p>用于数据扫描的对象,由<code class="language-plaintext highlighter-rouge">get_scanner</code>和<code class="language-plaintext highlighter-rouge">get_unordered_scanners</code>返回。使用它的<code class="language-plaintext highlighter-rouge">next</code>函数执行扫描过程。</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class PegasusScanner(object):
+ """
+ Pegasus scanner class, used for scanning data in pegasus table.
+ """
+</code></pre></div></div>
+
+<h4 id="get_next">get_next</h4>
+
+<p>获取扫描得到的数据,需要循环执行,直到返回<code class="language-plaintext highlighter-rouge">None</code>结束扫描。</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_next(self):
+ """
+ scan the next k-v pair for the scanner.
+ :return: (tuple<tuple<hash_key, sort_key>, value> or None)
+ all the sort_keys returned by this API are in ascend order.
+ """
+</code></pre></div></div>
</div>
</section>
@@ -792,7 +1218,41 @@
</span>
本页导航
</p>
-
+<ul class="menu-list">
+ <li><a href="#pegasus-python-client">pegasus python client</a>
+ <ul>
+ <li><a href="#项目地址">项目地址</a></li>
+ <li><a href="#版本要求">版本要求</a></li>
+ <li><a href="#安装">安装</a></li>
+ <li><a href="#使用">使用</a>
+ <ul>
+ <li><a href="#示例">示例</a></li>
+ <li><a href="#log配置文件">log配置文件</a></li>
+ <li><a href="#api说明">API说明</a>
+ <ul>
+ <li><a href="#初始化">初始化</a></li>
+ <li><a href="#ttl">ttl</a></li>
+ <li><a href="#exist">exist</a></li>
+ <li><a href="#set">set</a></li>
+ <li><a href="#multi_set">multi_set</a></li>
+ <li><a href="#get">get</a></li>
+ <li><a href="#multi_get">multi_get</a></li>
+ <li><a href="#multi_get_opt">multi_get_opt</a></li>
+ <li><a href="#remove">remove</a></li>
+ <li><a href="#multi_del">multi_del</a></li>
+ <li><a href="#sort_key_count">sort_key_count</a></li>
+ <li><a href="#get_sort_keys">get_sort_keys</a></li>
+ <li><a href="#get_scanner">get_scanner</a></li>
+ <li><a href="#get_unordered_scanners">get_unordered_scanners</a></li>
+ <li><a href="#scanner对象">scanner对象</a></li>
+ <li><a href="#get_next">get_next</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+</ul>
</div>
</div>
diff --git a/output/zh/clients/python2-client.html b/output/zh/clients/python2-client.html
deleted file mode 100644
index 77ec09b..0000000
--- a/output/zh/clients/python2-client.html
+++ /dev/null
@@ -1,1286 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Pegasus | Python2 Client</title>
- <link rel="stylesheet" href="/zh/assets/css/app.css">
- <link rel="shortcut icon" href="/zh/assets/images/favicon.ico">
- <link rel="stylesheet" href="/zh/assets/css/utilities.min.css">
- <link rel="stylesheet" href="/zh/assets/css/docsearch.v3.css">
- <script src="/assets/js/jquery.min.js"></script>
- <script src="/assets/js/all.min.js"></script>
- <script src="/assets/js/docsearch.v3.js"></script>
- <!-- Begin Jekyll SEO tag v2.8.0 -->
-<title>Python2 Client | Pegasus</title>
-<meta name="generator" content="Jekyll v4.3.2" />
-<meta property="og:title" content="Python2 Client" />
-<meta property="og:locale" content="en_US" />
-<meta name="description" content="pegasus python client" />
-<meta property="og:description" content="pegasus python client" />
-<meta property="og:site_name" content="Pegasus" />
-<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
-<meta name="twitter:card" content="summary" />
-<meta property="twitter:title" content="Python2 Client" />
-<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"pegasus python client","headline":"Python2 Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python2-client"},"url":"/clients/python2-client"}</script>
-<!-- End Jekyll SEO tag -->
-</head>
-
-
-<body>
- <div class="dashboard is-full-height">
- <!-- left panel -->
- <div class="dashboard-panel is-medium is-hidden-mobile pl-0">
- <div class="dashboard-panel-header has-text-centered">
- <a href="/zh/">
- <img src="/assets/images/pegasus-logo-inv.png" style="width: 80%;">
- </a>
-
- </div>
- <div class="dashboard-panel-main is-scrollable pl-6">
-
-
-<aside class="menu">
-
- <p class="menu-label">Pegasus产品文档</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/docs/downloads"
- class="">
- 下载
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">编译构建</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/docs/build/compile-by-docker"
- class="">
- 使用Docker完成编译(推荐)
- </a>
- </li>
-
- <li>
- <a href="/zh/docs/build/compile-from-source"
- class="">
- 从源码编译
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">客户端库</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/clients/java-client"
- class="">
- Java客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/cpp-client"
- class="">
- C++客户端
- </a>
- </li>
-
- <li>
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="">
- Golang客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python2-client"
- class="is-active">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="">
- Python3客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/node-client"
- class="">
- NodeJS客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/scala-client"
- class="">
- Scala客户端
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">生态工具</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/docs/tools/shell"
- class="">
- Pegasus Shell 工具
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="">
- 集群管理命令行
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/pegic"
- class="">
- 数据访问命令行
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">用户接口</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/api/ttl"
- class="">
- TTL
- </a>
- </li>
-
- <li>
- <a href="/zh/api/single-atomic"
- class="">
- 单行原子操作
- </a>
- </li>
-
- <li>
- <a href="/zh/api/redis"
- class="">
- Redis适配
- </a>
- </li>
-
- <li>
- <a href="/zh/api/geo"
- class="">
- GEO支持
- </a>
- </li>
-
- <li>
- <a href="/zh/api/http"
- class="">
- HTTP接口
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">高效运维</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/administration/deployment"
- class="">
- 集群部署
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/config"
- class="">
- 配置说明
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/rebalance"
- class="">
- 负载均衡
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/monitoring"
- class="">
- 可视化监控
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/rolling-update"
- class="">
- 集群升级
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/scale-in-out"
- class="">
- 集群扩容缩容
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/resource-management"
- class="">
- 资源管理
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/cold-backup"
- class="">
- 冷备份
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/meta-recovery"
- class="">
- 元数据恢复
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/replica-recovery"
- class="">
- Replica数据恢复
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/zk-migration"
- class="">
- Zookeeper迁移
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/table-migration"
- class="">
- Table迁移
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/table-soft-delete"
- class="">
- Table软删除
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/table-env"
- class="">
- Table环境变量
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/remote-commands"
- class="">
- 远程命令
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/partition-split"
- class="">
- Partition-Split
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/duplication"
- class="">
- 跨机房同步
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/compression"
- class="">
- 数据压缩
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/throttling"
- class="">
- 流量控制
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/experiences"
- class="">
- 运维经验
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/manual-compact"
- class="">
- Manual Compact功能
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/usage-scenario"
- class="">
- Usage Scenario功能
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/bad-disk"
- class="">
- 坏盘检修
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/whitelist"
- class="">
- 白名单
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/backup-request"
- class="">
- Backup Request
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/hotspot-detection"
- class="">
- 热点检测
- </a>
- </li>
-
- </ul>
-
-</aside>
- </div>
- </div>
-
- <!-- main section -->
- <div class="dashboard-main is-scrollable">
- <nav class="navbar is-hidden-desktop">
- <div class="navbar-brand">
- <a href="/zh/" class="navbar-item">
- <!-- Pegasus Icon -->
- <img src="/assets/images/pegasus-square.png">
- </a>
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<!--If you don't want a url to be relativized, you can add a space explicitly into the href to
- prevents a url from being relativized by polyglot.-->
-<a class="button is-light is-outlined is-inverted" href=" /clients/python2-client"><strong>En</strong></a>
-
- </div>
- <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navMenu">
- <!-- Appears in mobile mode only -->
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- </a>
- </div>
- <div class="navbar-menu" id="navMenu">
- <div class="navbar-end">
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Pegasus产品文档
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/docs/downloads"
- class="navbar-item ">
- 下载
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 编译构建
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/docs/build/compile-by-docker"
- class="navbar-item ">
- 使用Docker完成编译(推荐)
- </a>
-
- <a href="/zh/docs/build/compile-from-source"
- class="navbar-item ">
- 从源码编译
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 客户端库
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/clients/java-client"
- class="navbar-item ">
- Java客户端
- </a>
-
- <a href="/zh/clients/cpp-client"
- class="navbar-item ">
- C++客户端
- </a>
-
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="navbar-item ">
- Golang客户端
- </a>
-
- <a href="/zh/clients/python2-client"
- class="navbar-item is-active">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item ">
- Python3客户端
- </a>
-
- <a href="/zh/clients/node-client"
- class="navbar-item ">
- NodeJS客户端
- </a>
-
- <a href="/zh/clients/scala-client"
- class="navbar-item ">
- Scala客户端
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 生态工具
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/docs/tools/shell"
- class="navbar-item ">
- Pegasus Shell 工具
- </a>
-
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="navbar-item ">
- 集群管理命令行
- </a>
-
- <a href="https://github.com/pegasus-kv/pegic"
- class="navbar-item ">
- 数据访问命令行
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 用户接口
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/api/ttl"
- class="navbar-item ">
- TTL
- </a>
-
- <a href="/zh/api/single-atomic"
- class="navbar-item ">
- 单行原子操作
- </a>
-
- <a href="/zh/api/redis"
- class="navbar-item ">
- Redis适配
- </a>
-
- <a href="/zh/api/geo"
- class="navbar-item ">
- GEO支持
- </a>
-
- <a href="/zh/api/http"
- class="navbar-item ">
- HTTP接口
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 高效运维
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/administration/deployment"
- class="navbar-item ">
- 集群部署
- </a>
-
- <a href="/zh/administration/config"
- class="navbar-item ">
- 配置说明
- </a>
-
- <a href="/zh/administration/rebalance"
- class="navbar-item ">
- 负载均衡
- </a>
-
- <a href="/zh/administration/monitoring"
- class="navbar-item ">
- 可视化监控
- </a>
-
- <a href="/zh/administration/rolling-update"
- class="navbar-item ">
- 集群升级
- </a>
-
- <a href="/zh/administration/scale-in-out"
- class="navbar-item ">
- 集群扩容缩容
- </a>
-
- <a href="/zh/administration/resource-management"
- class="navbar-item ">
- 资源管理
- </a>
-
- <a href="/zh/administration/cold-backup"
- class="navbar-item ">
- 冷备份
- </a>
-
- <a href="/zh/administration/meta-recovery"
- class="navbar-item ">
- 元数据恢复
- </a>
-
- <a href="/zh/administration/replica-recovery"
- class="navbar-item ">
- Replica数据恢复
- </a>
-
- <a href="/zh/administration/zk-migration"
- class="navbar-item ">
- Zookeeper迁移
- </a>
-
- <a href="/zh/administration/table-migration"
- class="navbar-item ">
- Table迁移
- </a>
-
- <a href="/zh/administration/table-soft-delete"
- class="navbar-item ">
- Table软删除
- </a>
-
- <a href="/zh/administration/table-env"
- class="navbar-item ">
- Table环境变量
- </a>
-
- <a href="/zh/administration/remote-commands"
- class="navbar-item ">
- 远程命令
- </a>
-
- <a href="/zh/administration/partition-split"
- class="navbar-item ">
- Partition-Split
- </a>
-
- <a href="/zh/administration/duplication"
- class="navbar-item ">
- 跨机房同步
- </a>
-
- <a href="/zh/administration/compression"
- class="navbar-item ">
- 数据压缩
- </a>
-
- <a href="/zh/administration/throttling"
- class="navbar-item ">
- 流量控制
- </a>
-
- <a href="/zh/administration/experiences"
- class="navbar-item ">
- 运维经验
- </a>
-
- <a href="/zh/administration/manual-compact"
- class="navbar-item ">
- Manual Compact功能
- </a>
-
- <a href="/zh/administration/usage-scenario"
- class="navbar-item ">
- Usage Scenario功能
- </a>
-
- <a href="/zh/administration/bad-disk"
- class="navbar-item ">
- 坏盘检修
- </a>
-
- <a href="/zh/administration/whitelist"
- class="navbar-item ">
- 白名单
- </a>
-
- <a href="/zh/administration/backup-request"
- class="navbar-item ">
- Backup Request
- </a>
-
- <a href="/zh/administration/hotspot-detection"
- class="navbar-item ">
- 热点检测
- </a>
-
- </div>
- </div>
-
- </div>
- </div>
-</nav>
-
-<nav class="navbar is-hidden-mobile">
- <div class="navbar-start w-full">
- <div class="navbar-item pl-0 w-full">
- <!--TODO(wutao): Given the limitation of docsearch that couldn't handle multiple input,
- I make searchbox only shown in desktop. Fix this issue when docsearch.js v3 released.
- Related issue: https://github.com/algolia/docsearch/issues/230-->
- <div id="docsearch"></div>
- </div>
- </div>
- <div class="navbar-end">
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<!--If you don't want a url to be relativized, you can add a space explicitly into the href to
- prevents a url from being relativized by polyglot.-->
-<a class="button is-light is-outlined is-inverted" href=" /clients/python2-client"><strong>En</strong></a>
-
- </div>
- </div>
-</nav>
-
- <section class="hero is-info lg:mr-3">
- <div class="hero-body">
-
- <p class="title is-size-2 is-centered">Python2客户端</p>
- </div>
- </section>
- <section class="section" style="padding-top: 2rem;">
- <div class="content">
- <h1 id="pegasus-python-client">pegasus python client</h1>
-
-<h2 id="项目地址">项目地址</h2>
-
-<p><a href="https://github.com/XiaoMi/pegasus-python-client">https://github.com/XiaoMi/pegasus-python-client</a></p>
-
-<h2 id="版本要求">版本要求</h2>
-
-<p>Python 2.*</p>
-
-<h2 id="安装">安装</h2>
-
-<p><code class="language-plaintext highlighter-rouge">pip install pypegasus</code></p>
-
-<h2 id="使用">使用</h2>
-
-<p>pegasus python client使用了<a href="https://github.com/twisted/twisted">twisted</a>, 编写的代码会带有twisted的影子。</p>
-
-<h3 id="示例">示例</h3>
-
-<p>完整的示例请参考<a href="https://github.com/XiaoMi/pegasus-python-client/blob/master/sample.py">sample</a>。以下是简单的示例:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#!/usr/bin/env python
-# coding:utf-8
-
-from pypegasus.pgclient import Pegasus
-
-from twisted.internet import reactor
-from twisted.internet.defer import inlineCallbacks
-
-
-@inlineCallbacks
-def basic_test():
- # init
- c = Pegasus(['127.0.0.1:34601', '127.0.0.1:34602'], 'temp')
-
- suc = yield c.init()
- if not suc:
- reactor.stop()
- print('ERROR: connect pegasus server failed')
- return
-
- # set
- try:
- ret = yield c.set('hkey1', 'skey1', 'value', 0, 500)
- print('set ret: ', ret)
- except Exception as e:
- print(e)
-
- # get
- ret = yield c.get('hkey1', 'skey1')
- print('get ret: ', ret)
-
- reactor.stop()
-
-
-if __name__ == "__main__":
- reactor.callWhenRunning(basic_test)
- reactor.run()
-</code></pre></div></div>
-
-<h3 id="log配置文件">log配置文件</h3>
-
-<p>pegasus python client使用了<a href="https://docs.python.org/2/library/logging.html">logging</a>日志包,默认配置如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[loggers]
-keys=root
-[logger_root]
-level=INFO
-handlers=hand01
-propagate=0
-[handlers]
-keys=hand01
-[handler_hand01]
-class=handlers.RotatingFileHandler
-formatter=form01
-args=('pegasus.log', 'a', 100*1024*1024, 10)
-[formatters]
-keys=form01
-[formatter_form01]
-format=%(asctime)s [%(thread)d] [%(levelname)s] %(filename)s:%(lineno)d %(message)s
-datefmt=%Y-%m-%d %H:%M:%S
-</code></pre></div></div>
-
-<p>如果用户有定制需求,可以在自己的代码目录添加配置文件<code class="language-plaintext highlighter-rouge">logger.conf</code></p>
-
-<h3 id="api说明">API说明</h3>
-
-<h4 id="初始化">初始化</h4>
-
-<p>初始化先构造Pegasus对象,在使用init函数完成初始化:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class Pegasus(object):
- """
- Pegasus client class.
- """
-
- def __init__(self, meta_addrs=None, table_name='',
- timeout=DEFAULT_TIMEOUT):
- """
- :param meta_addrs: (list) pagasus meta servers list.
- example: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603']
- :param table_name: (str) table name/app name used in pegasus.
- :param timeout: (int) default timeout in milliseconds when communicate with meta sever and replica server.
- """
-</code></pre></div></div>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> def init(self):
- """
- Initialize the client before you can use it.
-
- :return: (DeferredList) True when initialized succeed, others when failed.
- """
-</code></pre></div></div>
-
-<h4 id="ttl">ttl</h4>
-
-<p>判断key的剩余的ttl时间</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def ttl(self, hash_key, sort_key, timeout=0):
- """
- Get ttl(time to live) of the data.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, int>) (code, ttl)
- code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- ttl: in seconds, -1 means forever.
- """
-</code></pre></div></div>
-
-<h4 id="exist">exist</h4>
-
-<p>判断key是否存在</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def exist(self, hash_key, sort_key, timeout=0):
- """
- Check value exist.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data exist, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="set">set</h4>
-
-<p>插入一条数据(若已存在则会覆盖)</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def set(self, hash_key, sort_key, value, ttl=0, timeout=0):
- """
- Set value to be stored in <hash_key, sort_key>.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param value: (str) value to be stored under <hash_key, sort_key>.
- :param ttl: (int) ttl(time to live) in seconds of this data.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="multi_set">multi_set</h4>
-
-<p>同时写一条hashkey的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_set(self, hash_key, sortkey_value_dict, ttl=0, timeout=0):
- """
- Set multiple sort_keys-values under hash_key to be stored.
-
- :param hash_key: (str) which hash key used for this API.
- :param sortkey_value_dict: (dict) <sort_key, value> pairs in dict.
- :param ttl: (int) ttl(time to live) in seconds of these data.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, _>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="get">get</h4>
-
-<p>获取一条数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get(self, hash_key, sort_key, timeout=0):
- """
- Get value stored in <hash_key, sort_key>.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, str>) (code, value).
- code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- value: data stored in this <hash_key, sort_key>
- """
-</code></pre></div></div>
-
-<h4 id="multi_get">multi_get</h4>
-
-<p>同时读一条hashkey的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get(self, hash_key,
- sortkey_set,
- max_kv_count=100,
- max_kv_size=1000000,
- no_value=False,
- timeout=0):
- """
- Get multiple values stored in <hash_key, sortkey> pairs.
-
- :param hash_key: (str) which hash key used for this API.
- :param sortkey_set: (set) sort keys in set.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param no_value: (bool) whether to fetch value of these keys.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, dict>) (code, kvs)
- code: error_types.ERR_OK.value when data got succeed.
- kvs: <sort_key, value> pairs in dict.
- """
-</code></pre></div></div>
-
-<h4 id="multi_get_opt">multi_get_opt</h4>
-
-<p>同时读一条hashkey的多条sortkey数据, 读取的数据根据<code class="language-plaintext highlighter-rouge">multi_get_options</code>参数指定的模式确定。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_get_opt(self, hash_key,
- start_sort_key, stop_sort_key,
- multi_get_options,
- max_kv_count=100,
- max_kv_size=1000000,
- timeout=0):
- """
- Get multiple values stored in hash_key, and sort key range in [start_sort_key, stop_sort_key) as default.
-
- :param hash_key: (str) which hash key used for this API.
- :param start_sort_key: (str) returned k-v pairs is start from start_sort_key.
- :param stop_sort_key: (str) returned k-v pairs is stop at stop_sort_key.
- :param multi_get_options: (MultiGetOptions) configurable multi_get options.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, dict>) (code, kvs)
- code: error_types.ERR_OK.value when data got succeed.
- kvs: <sort_key, value> pairs in dict.
- """
-</code></pre></div></div>
-
-<p>其中,<code class="language-plaintext highlighter-rouge">MultiGetOptions</code>可以指定sortkey的范围、是否包含边界、子串匹配、是否返回value、是否逆序等,具体定义如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class MultiGetOptions(object):
- """
- configurable options for multi_get.
- """
-
- def __init__(self):
- self.start_inclusive = True
- self.stop_inclusive = False
- self.sortkey_filter_type = filter_type.FT_NO_FILTER
- self.sortkey_filter_pattern = ""
- self.no_value = False
- self.reverse = False
-
-class filter_type:
- FT_NO_FILTER = 0
- FT_MATCH_ANYWHERE = 1
- FT_MATCH_PREFIX = 2
- FT_MATCH_POSTFIX = 3
-</code></pre></div></div>
-
-<h4 id="remove">remove</h4>
-
-<p>删除一条数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def remove(self, hash_key, sort_key, timeout=0):
- """
- Remove the entire <hash_key, sort_key>-value in pegasus.
-
- :param hash_key: (str) which hash key used for this API.
- :param sort_key: (str) which sort key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, None>) (code, ign)
- code: error_types.ERR_OK.value when data stored succeed.
- ign: useless, should be ignored.
- """
-</code></pre></div></div>
-
-<h4 id="multi_del">multi_del</h4>
-
-<p>批量删除一个hashkey下的多条sortkey数据</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def multi_del(self, hash_key, sortkey_set, timeout=0):
- """
- Remove multiple entire <hash_key, sort_key>-values in pegasus.
-
- :param hash_key: (str) which hash key used for this API.
- :param sortkey_set: (set) sort keys in set.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, int>) (code, count).
- code: error_types.ERR_OK.value when data got succeed.
- count: count of deleted k-v pairs.
- """
-</code></pre></div></div>
-
-<h4 id="sort_key_count">sort_key_count</h4>
-
-<p>获取一个hashkey下的sortkey数量</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def sort_key_count(self, hash_key, timeout=0):
- """
- Get the total sort key count under the hash_key.
-
- :param hash_key: (str) which hash key used for this API.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, count>) (code, count)
- code: error_types.ERR_OK.value when data got succeed, error_types.ERR_OBJECT_NOT_FOUND.value when data not found.
- value: total sort key count under the hash_key.
- """
-</code></pre></div></div>
-
-<h4 id="get_sort_keys">get_sort_keys</h4>
-
-<p>获取一个hashkey下的sortkey值</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_sort_keys(self, hash_key,
- max_kv_count=100,
- max_kv_size=1000000,
- timeout=0):
- """
- Get multiple sort keys under hash_key.
-
- :param hash_key: (str) which hash key used for this API.
- :param max_kv_count: (int) max count of k-v pairs to be fetched. max_fetch_count <= 0 means no limit.
- :param max_kv_size: (int) max total data size of k-v pairs to be fetched. max_fetch_size <= 0 means no limit.
- :param timeout: (int) how long will the operation timeout in milliseconds.
- if timeout > 0, it is a timeout value for current operation,
- else the timeout value specified to create the instance will be used.
- :return: (tuple<error_types.code.value, set>) (code, ks)
- code: error_types.ERR_OK.value when data got succeed.
- ks: <sort_key, ign> pairs in dict, ign will always be empty str.
- """
-</code></pre></div></div>
-
-<h4 id="get_scanner">get_scanner</h4>
-
-<p>获取scanner对象,用于指定范围的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_scanner(self, hash_key,
- start_sort_key, stop_sort_key,
- scan_options):
- """
- Get scanner for hash_key, start from start_sort_key, and stop at stop_sort_key.
- Whether the scanner include the start_sort_key and stop_sort_key is configurable by scan_options
-
- :param hash_key: (str) which hash key used for this API.
- :param start_sort_key: (str) returned scanner is start from start_sort_key.
- :param stop_sort_key: (str) returned scanner is stop at stop_sort_key.
- :param scan_options: (ScanOptions) configurable scan options.
- :return: (PegasusScanner) scanner, instance of PegasusScanner.
- """
-</code></pre></div></div>
-
-<p>其中,<code class="language-plaintext highlighter-rouge">ScanOptions</code>可以指定是否包含边界、超时时间、一次从replica server批量获取的sortkey-value数量等,具体定义如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class ScanOptions(object):
- """
- configurable options for scan.
- """
-
- def __init__(self):
- self.timeout_millis = 5000
- self.batch_size = 1000
- self.start_inclusive = True
- self.stop_inclusive = False
- self.snapshot = None # for future use
-</code></pre></div></div>
-
-<h4 id="get_unordered_scanners">get_unordered_scanners</h4>
-
-<p>一次性获取多个scanner,用于整个table的数据扫描。可以通过<code class="language-plaintext highlighter-rouge">scan_options</code>参数指定扫描的模式。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_unordered_scanners(self, max_split_count, scan_options):
- """
- Get scanners for the whole pegasus table.
-
- :param max_split_count: (int) max count of scanners will be returned.
- :param scan_options: (ScanOptions) configurable scan options.
- :return: (list) instance of PegasusScanner list.
- each scanner in this list can scan separate part of the whole pegasus table.
- """
-</code></pre></div></div>
-
-<h4 id="scanner对象">scanner对象</h4>
-
-<p>用于数据扫描的对象,由<code class="language-plaintext highlighter-rouge">get_scanner</code>和<code class="language-plaintext highlighter-rouge">get_unordered_scanners</code>返回。使用它的<code class="language-plaintext highlighter-rouge">next</code>函数执行扫描过程。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class PegasusScanner(object):
- """
- Pegasus scanner class, used for scanning data in pegasus table.
- """
-</code></pre></div></div>
-
-<h4 id="get_next">get_next</h4>
-
-<p>获取扫描得到的数据,需要循环执行,直到返回<code class="language-plaintext highlighter-rouge">None</code>结束扫描。</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>def get_next(self):
- """
- scan the next k-v pair for the scanner.
-
- :return: (tuple<tuple<hash_key, sort_key>, value> or None)
- all the sort_keys returned by this API are in ascend order.
- """
-</code></pre></div></div>
-
- </div>
- </section>
- <footer class="footer">
- <div class="container">
- <div class="content is-small has-text-centered">
- <div style="margin-bottom: 20px;">
- <a href="http://incubator.apache.org">
- <img src="/assets/images/egg-logo.png"
- width="15%"
- alt="Apache Incubator"/>
- </a>
- </div>
- Copyright © 2023 <a href="http://www.apache.org">The Apache Software Foundation</a>.
- Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
- 2.0</a>.
- <br><br>
-
- Apache Pegasus is an effort undergoing incubation at The Apache Software Foundation (ASF),
- sponsored by the Apache Incubator. Incubation is required of all newly accepted projects
- until a further review indicates that the infrastructure, communications, and decision making process
- have stabilized in a manner consistent with other successful ASF projects. While incubation status is
- not necessarily a reflection of the completeness or stability of the code, it does indicate that the
- project has yet to be fully endorsed by the ASF.
-
- <br><br>
- Apache Pegasus, Pegasus, Apache, the Apache feather logo, and the Apache Pegasus project logo are either
- registered trademarks or trademarks of The Apache Software Foundation in the United States and other
- countries.
- </div>
- </div>
-</footer>
- </div>
-
- <!-- right panel -->
- <div class="dashboard-panel is-small is-scrollable is-hidden-mobile">
- <p class="menu-label">
- <span class="icon">
- <i class="fa fa-bars" aria-hidden="true"></i>
- </span>
- 本页导航
-</p>
-<ul class="menu-list">
- <li><a href="#pegasus-python-client">pegasus python client</a>
- <ul>
- <li><a href="#项目地址">项目地址</a></li>
- <li><a href="#版本要求">版本要求</a></li>
- <li><a href="#安装">安装</a></li>
- <li><a href="#使用">使用</a>
- <ul>
- <li><a href="#示例">示例</a></li>
- <li><a href="#log配置文件">log配置文件</a></li>
- <li><a href="#api说明">API说明</a>
- <ul>
- <li><a href="#初始化">初始化</a></li>
- <li><a href="#ttl">ttl</a></li>
- <li><a href="#exist">exist</a></li>
- <li><a href="#set">set</a></li>
- <li><a href="#multi_set">multi_set</a></li>
- <li><a href="#get">get</a></li>
- <li><a href="#multi_get">multi_get</a></li>
- <li><a href="#multi_get_opt">multi_get_opt</a></li>
- <li><a href="#remove">remove</a></li>
- <li><a href="#multi_del">multi_del</a></li>
- <li><a href="#sort_key_count">sort_key_count</a></li>
- <li><a href="#get_sort_keys">get_sort_keys</a></li>
- <li><a href="#get_scanner">get_scanner</a></li>
- <li><a href="#get_unordered_scanners">get_unordered_scanners</a></li>
- <li><a href="#scanner对象">scanner对象</a></li>
- <li><a href="#get_next">get_next</a></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
-</ul>
-
- </div>
- </div>
-
- <script src="/assets/js/app.js" type="text/javascript"></script>
- <script>
- docsearch({
- container: '#docsearch',
- appId: 'QRN30RBW0S',
- indexName: 'pegasus-apache',
- apiKey: 'd3a3252fa344359766707a106c4ed88f',
- debug: true
- });
- </script>
-
-</body>
-
-</html>
\ No newline at end of file
diff --git a/output/zh/clients/python3-client.html b/output/zh/clients/python3-client.html
deleted file mode 100644
index caeac8c..0000000
--- a/output/zh/clients/python3-client.html
+++ /dev/null
@@ -1,1287 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Pegasus | Python3 Client</title>
- <link rel="stylesheet" href="/zh/assets/css/app.css">
- <link rel="shortcut icon" href="/zh/assets/images/favicon.ico">
- <link rel="stylesheet" href="/zh/assets/css/utilities.min.css">
- <link rel="stylesheet" href="/zh/assets/css/docsearch.v3.css">
- <script src="/assets/js/jquery.min.js"></script>
- <script src="/assets/js/all.min.js"></script>
- <script src="/assets/js/docsearch.v3.js"></script>
- <!-- Begin Jekyll SEO tag v2.8.0 -->
-<title>Python3 Client | Pegasus</title>
-<meta name="generator" content="Jekyll v4.3.2" />
-<meta property="og:title" content="Python3 Client" />
-<meta property="og:locale" content="en_US" />
-<meta name="description" content="pegasus python client" />
-<meta property="og:description" content="pegasus python client" />
-<meta property="og:site_name" content="Pegasus" />
-<meta property="og:type" content="article" />
-<meta property="article:published_time" content="2023-11-23T14:51:44+00:00" />
-<meta name="twitter:card" content="summary" />
-<meta property="twitter:title" content="Python3 Client" />
-<script type="application/ld+json">
-{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-11-23T14:51:44+00:00","datePublished":"2023-11-23T14:51:44+00:00","description":"pegasus python client","headline":"Python3 Client","mainEntityOfPage":{"@type":"WebPage","@id":"/clients/python3-client"},"url":"/clients/python3-client"}</script>
-<!-- End Jekyll SEO tag -->
-</head>
-
-
-<body>
- <div class="dashboard is-full-height">
- <!-- left panel -->
- <div class="dashboard-panel is-medium is-hidden-mobile pl-0">
- <div class="dashboard-panel-header has-text-centered">
- <a href="/zh/">
- <img src="/assets/images/pegasus-logo-inv.png" style="width: 80%;">
- </a>
-
- </div>
- <div class="dashboard-panel-main is-scrollable pl-6">
-
-
-<aside class="menu">
-
- <p class="menu-label">Pegasus产品文档</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/docs/downloads"
- class="">
- 下载
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">编译构建</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/docs/build/compile-by-docker"
- class="">
- 使用Docker完成编译(推荐)
- </a>
- </li>
-
- <li>
- <a href="/zh/docs/build/compile-from-source"
- class="">
- 从源码编译
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">客户端库</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/clients/java-client"
- class="">
- Java客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/cpp-client"
- class="">
- C++客户端
- </a>
- </li>
-
- <li>
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="">
- Golang客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python2-client"
- class="">
- Python2客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/python3-client"
- class="is-active">
- Python3客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/node-client"
- class="">
- NodeJS客户端
- </a>
- </li>
-
- <li>
- <a href="/zh/clients/scala-client"
- class="">
- Scala客户端
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">生态工具</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/docs/tools/shell"
- class="">
- Pegasus Shell 工具
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="">
- 集群管理命令行
- </a>
- </li>
-
- <li>
- <a href="https://github.com/pegasus-kv/pegic"
- class="">
- 数据访问命令行
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">用户接口</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/api/ttl"
- class="">
- TTL
- </a>
- </li>
-
- <li>
- <a href="/zh/api/single-atomic"
- class="">
- 单行原子操作
- </a>
- </li>
-
- <li>
- <a href="/zh/api/redis"
- class="">
- Redis适配
- </a>
- </li>
-
- <li>
- <a href="/zh/api/geo"
- class="">
- GEO支持
- </a>
- </li>
-
- <li>
- <a href="/zh/api/http"
- class="">
- HTTP接口
- </a>
- </li>
-
- </ul>
-
- <p class="menu-label">高效运维</p>
- <ul class="menu-list">
-
- <li>
- <a href="/zh/administration/deployment"
- class="">
- 集群部署
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/config"
- class="">
- 配置说明
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/rebalance"
- class="">
- 负载均衡
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/monitoring"
- class="">
- 可视化监控
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/rolling-update"
- class="">
- 集群升级
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/scale-in-out"
- class="">
- 集群扩容缩容
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/resource-management"
- class="">
- 资源管理
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/cold-backup"
- class="">
- 冷备份
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/meta-recovery"
- class="">
- 元数据恢复
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/replica-recovery"
- class="">
- Replica数据恢复
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/zk-migration"
- class="">
- Zookeeper迁移
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/table-migration"
- class="">
- Table迁移
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/table-soft-delete"
- class="">
- Table软删除
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/table-env"
- class="">
- Table环境变量
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/remote-commands"
- class="">
- 远程命令
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/partition-split"
- class="">
- Partition-Split
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/duplication"
- class="">
- 跨机房同步
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/compression"
- class="">
- 数据压缩
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/throttling"
- class="">
- 流量控制
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/experiences"
- class="">
- 运维经验
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/manual-compact"
- class="">
- Manual Compact功能
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/usage-scenario"
- class="">
- Usage Scenario功能
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/bad-disk"
- class="">
- 坏盘检修
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/whitelist"
- class="">
- 白名单
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/backup-request"
- class="">
- Backup Request
- </a>
- </li>
-
- <li>
- <a href="/zh/administration/hotspot-detection"
- class="">
- 热点检测
- </a>
- </li>
-
- </ul>
-
-</aside>
- </div>
- </div>
-
- <!-- main section -->
- <div class="dashboard-main is-scrollable">
- <nav class="navbar is-hidden-desktop">
- <div class="navbar-brand">
- <a href="/zh/" class="navbar-item">
- <!-- Pegasus Icon -->
- <img src="/assets/images/pegasus-square.png">
- </a>
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<!--If you don't want a url to be relativized, you can add a space explicitly into the href to
- prevents a url from being relativized by polyglot.-->
-<a class="button is-light is-outlined is-inverted" href=" /clients/python3-client"><strong>En</strong></a>
-
- </div>
- <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navMenu">
- <!-- Appears in mobile mode only -->
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- <span aria-hidden="true"></span>
- </a>
- </div>
- <div class="navbar-menu" id="navMenu">
- <div class="navbar-end">
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- Pegasus产品文档
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/docs/downloads"
- class="navbar-item ">
- 下载
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 编译构建
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/docs/build/compile-by-docker"
- class="navbar-item ">
- 使用Docker完成编译(推荐)
- </a>
-
- <a href="/zh/docs/build/compile-from-source"
- class="navbar-item ">
- 从源码编译
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 客户端库
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/clients/java-client"
- class="navbar-item ">
- Java客户端
- </a>
-
- <a href="/zh/clients/cpp-client"
- class="navbar-item ">
- C++客户端
- </a>
-
- <a href="https://github.com/apache/incubator-pegasus/tree/master/go-client"
- class="navbar-item ">
- Golang客户端
- </a>
-
- <a href="/zh/clients/python2-client"
- class="navbar-item ">
- Python2客户端
- </a>
-
- <a href="/zh/clients/python3-client"
- class="navbar-item is-active">
- Python3客户端
- </a>
-
- <a href="/zh/clients/node-client"
- class="navbar-item ">
- NodeJS客户端
- </a>
-
- <a href="/zh/clients/scala-client"
- class="navbar-item ">
- Scala客户端
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 生态工具
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/docs/tools/shell"
- class="navbar-item ">
- Pegasus Shell 工具
- </a>
-
- <a href="https://github.com/pegasus-kv/admin-cli"
- class="navbar-item ">
- 集群管理命令行
- </a>
-
- <a href="https://github.com/pegasus-kv/pegic"
- class="navbar-item ">
- 数据访问命令行
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 用户接口
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/api/ttl"
- class="navbar-item ">
- TTL
- </a>
-
- <a href="/zh/api/single-atomic"
- class="navbar-item ">
- 单行原子操作
- </a>
-
- <a href="/zh/api/redis"
- class="navbar-item ">
- Redis适配
- </a>
-
- <a href="/zh/api/geo"
- class="navbar-item ">
- GEO支持
- </a>
-
- <a href="/zh/api/http"
- class="navbar-item ">
- HTTP接口
- </a>
-
- </div>
- </div>
-
- <!--dropdown-->
- <div class="navbar-item has-dropdown is-hoverable">
- <a href=""
- class="navbar-link ">
- <span>
- 高效运维
- </span>
- </a>
- <div class="navbar-dropdown">
-
- <a href="/zh/administration/deployment"
- class="navbar-item ">
- 集群部署
- </a>
-
- <a href="/zh/administration/config"
- class="navbar-item ">
- 配置说明
- </a>
-
- <a href="/zh/administration/rebalance"
- class="navbar-item ">
- 负载均衡
- </a>
-
- <a href="/zh/administration/monitoring"
- class="navbar-item ">
- 可视化监控
- </a>
-
- <a href="/zh/administration/rolling-update"
- class="navbar-item ">
- 集群升级
- </a>
-
- <a href="/zh/administration/scale-in-out"
- class="navbar-item ">
- 集群扩容缩容
- </a>
-
- <a href="/zh/administration/resource-management"
- class="navbar-item ">
- 资源管理
- </a>
-
- <a href="/zh/administration/cold-backup"
- class="navbar-item ">
- 冷备份
- </a>
-
- <a href="/zh/administration/meta-recovery"
- class="navbar-item ">
- 元数据恢复
- </a>
-
- <a href="/zh/administration/replica-recovery"
- class="navbar-item ">
- Replica数据恢复
- </a>
-
- <a href="/zh/administration/zk-migration"
- class="navbar-item ">
- Zookeeper迁移
- </a>
-
- <a href="/zh/administration/table-migration"
- class="navbar-item ">
- Table迁移
- </a>
-
- <a href="/zh/administration/table-soft-delete"
- class="navbar-item ">
- Table软删除
- </a>
-
- <a href="/zh/administration/table-env"
- class="navbar-item ">
- Table环境变量
- </a>
-
- <a href="/zh/administration/remote-commands"
- class="navbar-item ">
- 远程命令
- </a>
-
- <a href="/zh/administration/partition-split"
- class="navbar-item ">
- Partition-Split
- </a>
-
- <a href="/zh/administration/duplication"
- class="navbar-item ">
- 跨机房同步
- </a>
-
- <a href="/zh/administration/compression"
- class="navbar-item ">
- 数据压缩
- </a>
-
- <a href="/zh/administration/throttling"
- class="navbar-item ">
- 流量控制
- </a>
-
- <a href="/zh/administration/experiences"
- class="navbar-item ">
- 运维经验
- </a>
-
- <a href="/zh/administration/manual-compact"
- class="navbar-item ">
- Manual Compact功能
- </a>
-
- <a href="/zh/administration/usage-scenario"
- class="navbar-item ">
- Usage Scenario功能
- </a>
-
- <a href="/zh/administration/bad-disk"
- class="navbar-item ">
- 坏盘检修
- </a>
-
- <a href="/zh/administration/whitelist"
- class="navbar-item ">
- 白名单
- </a>
-
- <a href="/zh/administration/backup-request"
- class="navbar-item ">
- Backup Request
- </a>
-
- <a href="/zh/administration/hotspot-detection"
- class="navbar-item ">
- 热点检测
- </a>
-
- </div>
- </div>
-
- </div>
- </div>
-</nav>
-
-<nav class="navbar is-hidden-mobile">
- <div class="navbar-start w-full">
- <div class="navbar-item pl-0 w-full">
- <!--TODO(wutao): Given the limitation of docsearch that couldn't handle multiple input,
- I make searchbox only shown in desktop. Fix this issue when docsearch.js v3 released.
- Related issue: https://github.com/algolia/docsearch/issues/230-->
- <div id="docsearch"></div>
- </div>
- </div>
- <div class="navbar-end">
- <div class="navbar-item">
-
-
-<!--A simple language switch button that only supports zh and en.-->
-<!--IF its language is zh, then switches to en.-->
-
-<!--If you don't want a url to be relativized, you can add a space explicitly into the href to
- prevents a url from being relativized by polyglot.-->
-<a class="button is-light is-outlined is-inverted" href=" /clients/python3-client"><strong>En</strong></a>
-
- </div>
- </div>
-</nav>
-
- <section class="hero is-info lg:mr-3">
- <div class="hero-body">
-
- <p class="title is-size-2 is-centered">Python3客户端</p>
- </div>
- </section>
- <section class="section" style="padding-top: 2rem;">
- <div class="content">
- <h1 id="pegasus-python-client">pegasus python client</h1>
-
-<h2 id="项目地址">项目地址</h2>
-
-<p><a href="https://github.com/apache/incubator-pegasus/tree/master/python-client">https://github.com/apache/incubator-pegasus/tree/master/python-client</a></p>
-
-<h2 id="版本要求">版本要求</h2>
-
-<p>Python 3.7+</p>
-
-<h2 id="安装">安装</h2>
-
-<p><code class="language-plaintext highlighter-rouge">pip3 install pypegasus3</code></p>
-
-<h2 id="使用">使用</h2>
-
-<p>pegasus python3 client 从 python2-client 改动而来,对原有的接口参数做了破坏性改动,由<code class="language-plaintext highlighter-rouge">str</code>改为<code class="language-plaintext highlighter-rouge">bytes</code>,并不再支持 python2 环境。</p>
-
-<p>其他使用方法与 python2 客户端无差异</p>
-
-<h3 id="示例">示例</h3>
-
-<p>完整的示例请参考<a href="https://github.com/apache/incubator-pegasus/tree/master/python-client/sample.py">sample</a>。以下是简单的示例:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#!/usr/bin/env python
-# coding:utf-8
-
-from pypegasus.pgclient import Pegasus
-
-from twisted.internet import reactor
-from twisted.internet.defer import inlineCallbacks
-
-
-@inlineCallbacks
-def basic_test():
- # init
- c = Pegasus(['127.0.0.1:34601', '127.0.0.1:34602'], 'temp')
-
- suc = yield c.init()
- if not suc:
- reactor.stop()
- print('ERROR: connect pegasus server failed')
- return
-
- # set
- try:
- ret = yield c.set('hkey1', 'skey1', 'value', 0, 500)
- print('set ret: ', ret)
- except Exception as e:
- print(e)
-
- # get
- ret = yield c.get('hkey1', 'skey1')
- print('get ret: ', bytes.decode(ret))
-
- reactor.stop()
-
-
-if __name__ == "__main__":
- reactor.callWhenRunning(basic_test)
- reactor.run()
-</code></pre></div></div>
-
-<h3 id="log配置文件">log配置文件</h3>
-
-<p>pegasus python client使用了<a href="https://docs.python.org/2/library/logging.html">logging</a>日志包,默认配置如下:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[loggers]
-keys=root
-[logger_root]
-level=INFO
-handlers=hand01
-propagate=0
-[handlers]
-keys=hand01
-[handler_hand01]
-class=handlers.RotatingFileHandler
-formatter=form01
-args=('pegasus.log', 'a', 100*1024*1024, 10)
-[formatters]
-keys=form01
-[formatter_form01]
-format=%(asctime)s [%(thread)d] [%(levelname)s] %(filename)s:%(lineno)d %(message)s
-datefmt=%Y-%m-%d %H:%M:%S
-</code></pre></div></div>
-
-<p>如果用户有定制需求,可以在自己的代码目录添加配置文件<code class="language-plaintext highlighter-rouge">logger.conf</code></p>
-
-<h3 id="api说明">API说明</h3>
-
-<h4 id="初始化">初始化</h4>
-
-<p>初始化先构造Pegasus对象,在使用init函数完成初始化:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>class Pegasus(object):
- """
- Pegasus client class.
- """
-
- def __init__(self, meta_addrs=None, table_name='',
- timeout=DEFAULT_TIMEOUT):
- """
- :param meta_addrs: (list) pagasus meta servers list.
- example: ['127.0.0.1:34601', '127.0.0.1:34602', '127.0.0.1:34603']
- :param table_name: (bytes) table name/app name used in pegasus.
- :param timeout: (int) default timeout in milliseconds when communicate with meta sever and replica server.
- """
-</code></pre></div></div>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> def init(self):
- "&quo