diff --git a/cn/contribution-guidelines/_print/index.html b/cn/contribution-guidelines/_print/index.html new file mode 100644 index 000000000..c2eaf3518 --- /dev/null +++ b/cn/contribution-guidelines/_print/index.html @@ -0,0 +1,6 @@ +Contribution Guidelines | HugeGraph +
+ + + + \ No newline at end of file diff --git a/cn/contribution-guidelines/contribute/index.html b/cn/contribution-guidelines/contribute/index.html new file mode 100644 index 000000000..cd28c0625 --- /dev/null +++ b/cn/contribution-guidelines/contribute/index.html @@ -0,0 +1,67 @@ +如何参与 HugeGraph 社区 | HugeGraph +

TODO: translate this article to Chinese

Thanks for taking the time to contribute! As an open source project, HugeGraph is looking forward to be contributed from everyone, and we are also grateful to all the contributors.

The following is a contribution guide for HugeGraph:

image

1. Preparation

We can contribute by reporting issues, submitting code patches or any other feedback.

Before submitting the code, we need to do some preparation:

  1. Sign up or login to GitHub: https://github.com

  2. Fork HugeGraph repo from GitHub: https://github.com/apache/incubator-hugegraph/fork

  3. Clone code from fork repo to local: https://github.com/${GITHUB_USER_NAME}/hugegraph

    # clone code from remote to local repo
    +git clone https://github.com/${GITHUB_USER_NAME}/hugegraph
    +
  4. Configure local HugeGraph repo

    cd hugegraph
    +
    +# add upstream to synchronize the latest code
    +git remote add hugegraph https://github.com/hugegraph/hugegraph
    +
    +# set name and email to push code to github
    +git config user.name "{full-name}" # like "Jermy Li"
    +git config user.email "{email-address-of-github}" # like "jermy@apache.org"
    +

Optional: You can use GitHub desktop to greatly simplify the commit and update process.

2. Create an Issue on GitHub

If you encounter bugs or have any questions, please go to GitHub Issues to report them and feel free to create an issue.

3. Make changes of code locally

3.1 Create a new branch

Please don’t use master branch for development. We should create a new branch instead:

# checkout master branch
+git checkout master
+# pull the latest code from official hugegraph
+git pull hugegraph
+# create new branch: bugfix-branch
+git checkout -b bugfix-branch
+

3.2 Change the code

Assume that we need to modify some files like “HugeGraph.java” and “HugeFactory.java”:

# modify code to fix a bug
+vim hugegraph-core/src/main/java/com/baidu/hugegraph/HugeGraph.java
+vim hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java
+# run test locally (optional)
+mvn test -Pcore-test,memory
+

Note: In order to be consistent with the code style easily, if you use IDEA as your IDE, you can directly import our code style configuration file.

3.3 Commit changes to git repo

After the code has been completed, we submit them to the local git repo:

# add files to local git index
+git add hugegraph-core/src/main/java/com/baidu/hugegraph/HugeGraph.java
+git add hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java
+# commit to local git repo
+git commit
+

Please edit the commit message after running git commit, we can explain what and how to fix a bug or implement a feature, the following is an example:

Fix bug: run deploy multiple times 
+
+fix #ISSUE_ID
+

Please remember to fill in the issue id, which was generated by GitHub after issue creation.

3.4 Push commit to GitHub fork repo

Push the local commit to GitHub fork repo:

# push the local commit to fork repo
+git push origin bugfix-branch:bugfix-branch
+

Note that since GitHub requires submitting code through username + token (instead of using username + password directly), you need to create a GitHub token from https://github.com/settings/tokens: +image

4. Create a Pull Request

Go to the web page of GitHub fork repo, there would be a chance to create a Pull Request after pushing to a new branch, just click button “Compare & pull request” to do it. Then edit the description for proposed changes, which can just be copied from the commit message.

Please sign the HugeGraph CLA when contributing code for the first time. You can sign the CLA by just posting a Pull Request Comment same as the below format:

I have read the CLA Document and I hereby sign the CLA

Note: please make sure the email address you used to submit the code is bound to the GitHub account. For how to bind the email address, please refer to https://github.com/settings/emails: +image

5. Code review

Maintainers will start the code review after all the automatic checks are passed:

The commit will be accepted and merged if there is no problem after review.

Please click on “Details” to find the problem if any check does not pass.

If there are checks not passed or changes requested, then continue to modify the code and push again.

6. More changes after review

If we have not passed the review, don’t be discouraged. Usually a commit needs to be reviewed several times before being accepted! Please follow the review comments and make further changes.

After the further changes, we submit them to the local repo:

# commit all updated files in a new commit,
+# please feel free to enter any appropriate commit message, note that
+# we will squash all commits in the pull request as one commit when
+# merging into the master branch.
+git commit -a
+

If there are conflicts that prevent the code from being merged, we need to rebase on master branch:

# synchronize the latest code
+git checkout master
+git pull hugegraph
+# rebase on master
+git checkout bugfix-branch
+git rebase -i master
+

And push it to GitHub fork repo again:

# force push the local commit to fork repo
+git push -f origin bugfix-branch:bugfix-branch
+

GitHub will automatically update the Pull Request after we push it, just wait for code review.

+ + + + \ No newline at end of file diff --git a/cn/contribution-guidelines/index.html b/cn/contribution-guidelines/index.html new file mode 100644 index 000000000..f27900d57 --- /dev/null +++ b/cn/contribution-guidelines/index.html @@ -0,0 +1,6 @@ +Contribution Guidelines | HugeGraph +
+ + + + \ No newline at end of file diff --git a/cn/contribution-guidelines/index.xml b/cn/contribution-guidelines/index.xml new file mode 100644 index 000000000..9573e88d2 --- /dev/null +++ b/cn/contribution-guidelines/index.xml @@ -0,0 +1,187 @@ +HugeGraph – Contribution Guidelines/cn/contribution-guidelines/Recent content in Contribution Guidelines on HugeGraphHugo -- gohugo.ioContribution-Guidelines: 如何参与 HugeGraph 社区/cn/contribution-guidelines/contribute/Mon, 01 Jan 0001 00:00:00 +0000/cn/contribution-guidelines/contribute/ +<blockquote> +<p>TODO: translate this article to Chinese</p> +</blockquote> +<p>Thanks for taking the time to contribute! As an open source project, HugeGraph is looking forward to be contributed from everyone, and we are also grateful to all the contributors.</p> +<p>The following is a contribution guide for HugeGraph:</p> +<img width="884" alt="image" src="https://user-images.githubusercontent.com/9625821/159643158-8bf72c0a-93c3-4a58-8912-7b2ab20ced1d.png"> +<h2 id="1-preparation">1. Preparation</h2> +<p>We can contribute by reporting issues, submitting code patches or any other feedback.</p> +<p>Before submitting the code, we need to do some preparation:</p> +<ol> +<li> +<p>Sign up or login to GitHub: <a href="https://github.com">https://github.com</a></p> +</li> +<li> +<p>Fork HugeGraph repo from GitHub: <a href="https://github.com/hugegraph/hugegraph/fork">https://github.com/apache/incubator-hugegraph/fork</a></p> +</li> +<li> +<p>Clone code from fork repo to local: <a href="https://github.com/$%7BGITHUB_USER_NAME%7D/hugegraph">https://github.com/${GITHUB_USER_NAME}/hugegraph</a></p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># clone code from remote to local repo</span> +</span></span><span style="display:flex;"><span>git clone https://github.com/<span style="color:#4e9a06">${</span><span style="color:#000">GITHUB_USER_NAME</span><span style="color:#4e9a06">}</span>/hugegraph +</span></span></code></pre></div></li> +<li> +<p>Configure local HugeGraph repo</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#204a87">cd</span> hugegraph +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># add upstream to synchronize the latest code</span> +</span></span><span style="display:flex;"><span>git remote add hugegraph https://github.com/hugegraph/hugegraph +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># set name and email to push code to github</span> +</span></span><span style="display:flex;"><span>git config user.name <span style="color:#4e9a06">&#34;{full-name}&#34;</span> <span style="color:#8f5902;font-style:italic"># like &#34;Jermy Li&#34;</span> +</span></span><span style="display:flex;"><span>git config user.email <span style="color:#4e9a06">&#34;{email-address-of-github}&#34;</span> <span style="color:#8f5902;font-style:italic"># like &#34;jermy@apache.org&#34;</span> +</span></span></code></pre></div></li> +</ol> +<p>Optional: You can use <a href="https://desktop.github.com/">GitHub desktop</a> to greatly simplify the commit and update process.</p> +<h2 id="2-create-an-issue-on-github">2. Create an Issue on GitHub</h2> +<p>If you encounter bugs or have any questions, please go to <a href="https://github.com/apache/incubator-hugegraph/issues">GitHub Issues</a> to report them and feel free to <a href="https://github.com/hugegraph/hugegraph/issues/new">create an issue</a>.</p> +<h2 id="3-make-changes-of-code-locally">3. Make changes of code locally</h2> +<h4 id="31-create-a-new-branch">3.1 Create a new branch</h4> +<p>Please don&rsquo;t use master branch for development. We should create a new branch instead:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># checkout master branch</span> +</span></span><span style="display:flex;"><span>git checkout master +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># pull the latest code from official hugegraph</span> +</span></span><span style="display:flex;"><span>git pull hugegraph +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># create new branch: bugfix-branch</span> +</span></span><span style="display:flex;"><span>git checkout -b bugfix-branch +</span></span></code></pre></div><h4 id="32-change-the-code">3.2 Change the code</h4> +<p>Assume that we need to modify some files like &ldquo;HugeGraph.java&rdquo; and &ldquo;HugeFactory.java&rdquo;:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># modify code to fix a bug</span> +</span></span><span style="display:flex;"><span>vim hugegraph-core/src/main/java/com/baidu/hugegraph/HugeGraph.java +</span></span><span style="display:flex;"><span>vim hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># run test locally (optional)</span> +</span></span><span style="display:flex;"><span>mvn <span style="color:#204a87">test</span> -Pcore-test,memory +</span></span></code></pre></div><p>Note: In order to be consistent with the code style easily, if you use <a href="https://www.jetbrains.com/idea/">IDEA</a> as your IDE, you can directly <a href="https://www.jetbrains.com/help/idea/configuring-code-style.html">import</a> our code style <a href="./hugegraph-style.xml">configuration file</a>.</p> +<h4 id="33-commit-changes-to-git-repo">3.3 Commit changes to git repo</h4> +<p>After the code has been completed, we submit them to the local git repo:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># add files to local git index</span> +</span></span><span style="display:flex;"><span>git add hugegraph-core/src/main/java/com/baidu/hugegraph/HugeGraph.java +</span></span><span style="display:flex;"><span>git add hugegraph-core/src/main/java/com/baidu/hugegraph/HugeFactory.java +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># commit to local git repo</span> +</span></span><span style="display:flex;"><span>git commit +</span></span></code></pre></div><p>Please edit the commit message after running <code>git commit</code>, we can explain what and how to fix a bug or implement a feature, the following is an example:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sh" data-lang="sh"><span style="display:flex;"><span>Fix bug: run deploy multiple <span style="color:#204a87">times</span> +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span>fix <span style="color:#8f5902;font-style:italic">#ISSUE_ID</span> +</span></span></code></pre></div><blockquote> +<p>Please remember to fill in the issue id, which was generated by GitHub after issue creation.</p> +</blockquote> +<h4 id="34-push-commit-to-github-fork-repo">3.4 Push commit to GitHub fork repo</h4> +<p>Push the local commit to GitHub fork repo:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># push the local commit to fork repo</span> +</span></span><span style="display:flex;"><span>git push origin bugfix-branch:bugfix-branch +</span></span></code></pre></div><p>Note that since GitHub requires submitting code through <code>username + token</code> (instead of using <code>username + password</code> directly), you need to create a GitHub token from <a href="https://github.com/settings/tokens">https://github.com/settings/tokens</a>: +<img width="1280" alt="image" src="https://user-images.githubusercontent.com/9625821/163524204-7fe0e6bf-9c8b-4b1a-ac65-6a0ac423eb16.png"></p> +<h2 id="4-create-a-pull-request">4. Create a Pull Request</h2> +<p>Go to the web page of GitHub fork repo, there would be a chance to create a Pull Request after pushing to a new branch, just click button &ldquo;Compare &amp; pull request&rdquo; to do it. Then edit the description for proposed changes, which can just be copied from the commit message.</p> +<p>Please sign the HugeGraph CLA when contributing code for the first time. You can sign the CLA by just posting a Pull Request Comment same as the below format:</p> +<p><code>I have read the CLA Document and I hereby sign the CLA</code></p> +<p>Note: please make sure the email address you used to submit the code is bound to the GitHub account. For how to bind the email address, please refer to <a href="https://github.com/settings/emails">https://github.com/settings/emails</a>: +<img width="1280" alt="image" src="https://user-images.githubusercontent.com/9625821/163522445-2a50a72a-dea2-434f-9868-3a0d40d0d037.png"></p> +<h2 id="5-code-review">5. Code review</h2> +<p>Maintainers will start the code review after all the <strong>automatic</strong> checks are passed:</p> +<ul> +<li>Check: Contributor License Agreement is signed</li> +<li>Check: Travis CI builds is passed (automatically Test and Deploy)</li> +</ul> +<p>The commit will be accepted and merged if there is no problem after review.</p> +<p>Please click on &ldquo;Details&rdquo; to find the problem if any check does not pass.</p> +<p>If there are checks not passed or changes requested, then continue to modify the code and push again.</p> +<h2 id="6-more-changes-after-review">6. More changes after review</h2> +<p>If we have not passed the review, don&rsquo;t be discouraged. Usually a commit needs to be reviewed several times before being accepted! Please follow the review comments and make further changes.</p> +<p>After the further changes, we submit them to the local repo:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># commit all updated files in a new commit,</span> +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># please feel free to enter any appropriate commit message, note that</span> +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># we will squash all commits in the pull request as one commit when</span> +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># merging into the master branch.</span> +</span></span><span style="display:flex;"><span>git commit -a +</span></span></code></pre></div><blockquote> +<p>If there are conflicts that prevent the code from being merged, we need to rebase on master branch:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># synchronize the latest code</span> +</span></span><span style="display:flex;"><span>git checkout master +</span></span><span style="display:flex;"><span>git pull hugegraph +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># rebase on master</span> +</span></span><span style="display:flex;"><span>git checkout bugfix-branch +</span></span><span style="display:flex;"><span>git rebase -i master +</span></span></code></pre></div></blockquote> +<p>And push it to GitHub fork repo again:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># force push the local commit to fork repo</span> +</span></span><span style="display:flex;"><span>git push -f origin bugfix-branch:bugfix-branch +</span></span></code></pre></div><p>GitHub will automatically update the Pull Request after we push it, just wait for code review.</p>Contribution-Guidelines: 订阅社区邮箱/cn/contribution-guidelines/subscribe/Mon, 01 Jan 0001 00:00:00 +0000/cn/contribution-guidelines/subscribe/ +<blockquote> +<p>TODO: translate this article to Chinese</p> +</blockquote> +<p>It is highly recommended to subscribe to the development mailing list to keep up-to-date with the community.</p> +<p>In the process of using HugeGraph, if you have any questions or ideas, suggestions, you can participate in the HugeGraph community building through the Apache mailing list. Sending a subscription email is also very simple, the steps are as follows:</p> +<ol> +<li> +<p>Email <a href="mailto:dev-subscribe@hugegraph.apache.org">dev-subscribe@hugegraph.apache.org</a> with your own email address, subject and content are arbitrary.</p> +</li> +<li> +<p>Receive confirmation email and reply. After completing step 1, you will receive a confirmation email from <a href="mailto:dev-help@hugegraph.apache.org">dev-help@hugegraph.apache.org</a> (if not received, please confirm whether the email is automatically classified as spam, promotion email, subscription email, etc.) . Then reply directly to the email, or click on the link in the email to reply quickly, the subject and content are arbitrary.</p> +</li> +<li> +<p>Receive a welcome email. After completing the above steps, you will receive a welcome email with the subject WELCOME to <a href="mailto:dev@hugegraph.apache.org">dev@hugegraph.apache.org</a>, and you have successfully subscribed to the Apache HugeGraph mailing list.</p> +</li> +</ol> +<h1 id="unsubscribe-mailing-lists">Unsubscribe Mailing Lists</h1> +<p>If you do not need to know what&rsquo;s going on with HugeGraph, you can unsubscribe from the mailing list.</p> +<p>Unsubscribe from the mailing list steps are as follows:</p> +<ol> +<li> +<p>Email <a href="mailto:dev-unsubscribe@hugegraph.apache.org">dev-unsubscribe@hugegraph.apache.org</a> with your subscribed email address, subject and content are arbitrary.</p> +</li> +<li> +<p>Receive confirmation email and reply. After completing step 1, you will receive a confirmation email from <a href="mailto:dev-help@hugegraph.apache.org">dev-help@hugegraph.apache.org</a> (if not received, please confirm whether the email is automatically classified as spam, promotion email, subscription email, etc.) . Then reply directly to the email, or click on the link in the email to reply quickly, the subject and content are arbitrary.</p> +</li> +<li> +<p>Receive a goodbye email. After completing the above steps, you will receive a goodbye email with the subject GOODBYE from <a href="mailto:dev@hugegraph.apache.org">dev@hugegraph.apache.org</a>, and you have successfully unsubscribed to the Apache HugeGraph mailing list, and you will not receive emails from <a href="mailto:dev@hugegraph.apache.org">dev@hugegraph.apache.org</a>.</p> +</li> +</ol>Contribution-Guidelines: 验证 Apache 发版/cn/contribution-guidelines/validate-release/Mon, 01 Jan 0001 00:00:00 +0000/cn/contribution-guidelines/validate-release/ +<h2 id="验证阶段">验证阶段</h2> +<p>当内部的临时发布和打包工作完成后, 其他的社区开发者(尤其是 PMC)需要参与到<a href="https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist">验证环节</a>确保某个人发布版本的&quot;正确性 + 完整性&quot;, 这里需要<strong>每个人</strong>都尽量参与, 然后后序<strong>邮件回复</strong>的时候说明自己<strong>已检查</strong>了哪些项. (下面是核心项)</p> +<h4 id="1-检查-hash-值">1. 检查 hash 值</h4> +<p>首先需要检查 <code>source + binary</code> 包的文件完整性, 通过 <code>shasum</code> 进行校验, 确保和发布到 apache/github 上的 hash 值一致 (一般是 sha512), 这里同0x02的最后一步检验.</p> +<h4 id="2-检查-gpg-签名">2. 检查 gpg 签名</h4> +<p>这个就是为了确保发布的包是由<strong>可信赖</strong>的人上传的, 假设 tom 签名后上传, 其他人应该下载 A 的<strong>公钥</strong>然后进行<strong>签名确认</strong>, 相关命令:</p> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 1. 下载项目可信赖公钥到本地 (首次需要)</span> +</span></span><span style="display:flex;"><span>curl xxx &gt;&gt; PK +</span></span><span style="display:flex;"><span>gpg --import PK +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 1.2 等待响应后输入 trust 表示信任 tom 的公钥 (其他人名类似)</span> +</span></span><span style="display:flex;"><span>gpg -edit-key tom +</span></span><span style="display:flex;"><span> +</span></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 2. 检查签名 (可用 0x03 章节的第 ⑧ 步的 for 循环脚本批量遍历)</span> +</span></span><span style="display:flex;"><span>gpg --verify xx.asc xxx-source.tar.gz +</span></span><span style="display:flex;"><span>gpg --verify xx.asc xxx-binary.tar.gz <span style="color:#8f5902;font-style:italic"># 注: 我们目前没有 binary 后缀</span> +</span></span></code></pre></div><p>先确认了整体的完整性/一致性, 然后接下来确认具体的内容 (<strong>关键</strong>)</p> +<h4 id="3-检查压缩包内容">3. 检查压缩包内容</h4> +<p>这里分源码包 + 二进制包两个方面, 源码包更为严格, 挑核心的部分说 (完整的列表参考官方 <a href="https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist">Wiki</a>, 比较长)</p> +<p>首先我们需要从 apache 官方的 <code>release-candidate</code> 地址下载包到本地 (地址: <code>dist.apache.org/repos/dist/dev/hugegraph/</code>)</p> +<h5 id="a-源码包">A. 源码包</h5> +<p>解压 <code>xxx-hugegraph-source.tar.gz</code>后, 进行如下检查:</p> +<ol> +<li>文件夹都带有 <code>incubating</code>, 且不存在<strong>空的</strong>文件/文件夹</li> +<li>存在<code>DISCLAIMER</code>文件</li> +<li>存在 <code>LICENSE</code> + <code>NOTICE</code> 文件并且内容正常</li> +<li><strong>不存在</strong>任何二进制文件</li> +<li>源码文件都包含标准 <code>ASF License</code> 头 (这个用插件跑一下为主)</li> +<li>检查每个父/子模块的 <code>pom.xml</code> 版本号是否一致 (且符合期望)</li> +<li>检查前 3 ~ 5 个 commit 提交, 点进去看看是否修改处和源码文件一致</li> +<li>最后, 确保源码可以正常/正确编译 (然后看看测试和规范)</li> +</ol> +<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># 同时也可以检查一下代码风格是否符合规范, 不符合的可以放下一次调整</span> +</span></span><span style="display:flex;"><span>mvn clean <span style="color:#204a87">test</span> -Dcheckstyle.skip<span style="color:#ce5c00;font-weight:bold">=</span><span style="color:#204a87">false</span> +</span></span></code></pre></div><h5 id="b-二进制包">B. 二进制包</h5> +<p>解压 <code>xxx-hugegraph.tar.gz</code>后, 进行如下检查:</p> +<ol> +<li>文件夹都带有 <code>incubating</code></li> +<li>存在 <code>LICENSE</code> + <code>NOTICE</code> 文件并且内容正常</li> +<li>通过 gpg 命令确认每个文件的签名正常</li> +</ol> +<p><strong>注:</strong> 如果二进制包里面引入了第三方依赖, 则需要更新 LICENSE, 加入第三方依赖的 LICENSE; 若第三方依赖 LICENSE 是 Apache 2.0, 且对应的项目中包含了 NOTICE, 则还需要更新我们的 NOTICE 文件</p> +<h4 id="4-检查官网以及-github-等页面">4. 检查官网以及 github 等页面</h4> +<ol> +<li>确保官网至少满足 <a href="https://whimsy.apache.org/pods/project/hugegraph">apache website check</a>, 以及没有死链等</li> +<li>更新<strong>下载链接</strong>以及版本更新说明</li> +<li>…..</li> +</ol> \ No newline at end of file diff --git a/cn/contribution-guidelines/subscribe/index.html b/cn/contribution-guidelines/subscribe/index.html new file mode 100644 index 000000000..5f06d537d --- /dev/null +++ b/cn/contribution-guidelines/subscribe/index.html @@ -0,0 +1,18 @@ +订阅社区邮箱 | HugeGraph +

TODO: translate this article to Chinese

It is highly recommended to subscribe to the development mailing list to keep up-to-date with the community.

In the process of using HugeGraph, if you have any questions or ideas, suggestions, you can participate in the HugeGraph community building through the Apache mailing list. Sending a subscription email is also very simple, the steps are as follows:

  1. Email dev-subscribe@hugegraph.apache.org with your own email address, subject and content are arbitrary.

  2. Receive confirmation email and reply. After completing step 1, you will receive a confirmation email from dev-help@hugegraph.apache.org (if not received, please confirm whether the email is automatically classified as spam, promotion email, subscription email, etc.) . Then reply directly to the email, or click on the link in the email to reply quickly, the subject and content are arbitrary.

  3. Receive a welcome email. After completing the above steps, you will receive a welcome email with the subject WELCOME to dev@hugegraph.apache.org, and you have successfully subscribed to the Apache HugeGraph mailing list.

Unsubscribe Mailing Lists

If you do not need to know what’s going on with HugeGraph, you can unsubscribe from the mailing list.

Unsubscribe from the mailing list steps are as follows:

  1. Email dev-unsubscribe@hugegraph.apache.org with your subscribed email address, subject and content are arbitrary.

  2. Receive confirmation email and reply. After completing step 1, you will receive a confirmation email from dev-help@hugegraph.apache.org (if not received, please confirm whether the email is automatically classified as spam, promotion email, subscription email, etc.) . Then reply directly to the email, or click on the link in the email to reply quickly, the subject and content are arbitrary.

  3. Receive a goodbye email. After completing the above steps, you will receive a goodbye email with the subject GOODBYE from dev@hugegraph.apache.org, and you have successfully unsubscribed to the Apache HugeGraph mailing list, and you will not receive emails from dev@hugegraph.apache.org.

+ + + + \ No newline at end of file diff --git a/cn/contribution-guidelines/validate-release/index.html b/cn/contribution-guidelines/validate-release/index.html new file mode 100644 index 000000000..cd9216ff0 --- /dev/null +++ b/cn/contribution-guidelines/validate-release/index.html @@ -0,0 +1,28 @@ +验证 Apache 发版 | HugeGraph +

验证阶段

当内部的临时发布和打包工作完成后, 其他的社区开发者(尤其是 PMC)需要参与到验证环节确保某个人发布版本的"正确性 + 完整性", 这里需要每个人都尽量参与, 然后后序邮件回复的时候说明自己已检查了哪些项. (下面是核心项)

1. 检查 hash 值

首先需要检查 source + binary 包的文件完整性, 通过 shasum 进行校验, 确保和发布到 apache/github 上的 hash 值一致 (一般是 sha512), 这里同0x02的最后一步检验.

2. 检查 gpg 签名

这个就是为了确保发布的包是由可信赖的人上传的, 假设 tom 签名后上传, 其他人应该下载 A 的公钥然后进行签名确认, 相关命令:

# 1. 下载项目可信赖公钥到本地 (首次需要)
+curl xxx >> PK
+gpg --import PK
+# 1.2 等待响应后输入 trust 表示信任 tom 的公钥 (其他人名类似)
+gpg -edit-key tom 
+
+# 2. 检查签名 (可用 0x03 章节的第 ⑧ 步的 for 循环脚本批量遍历)
+gpg --verify xx.asc xxx-source.tar.gz
+gpg --verify xx.asc xxx-binary.tar.gz # 注: 我们目前没有 binary 后缀
+

先确认了整体的完整性/一致性, 然后接下来确认具体的内容 (关键)

3. 检查压缩包内容

这里分源码包 + 二进制包两个方面, 源码包更为严格, 挑核心的部分说 (完整的列表参考官方 Wiki, 比较长)

首先我们需要从 apache 官方的 release-candidate 地址下载包到本地 (地址: dist.apache.org/repos/dist/dev/hugegraph/)

A. 源码包

解压 xxx-hugegraph-source.tar.gz后, 进行如下检查:

  1. 文件夹都带有 incubating, 且不存在空的文件/文件夹
  2. 存在DISCLAIMER文件
  3. 存在 LICENSE + NOTICE 文件并且内容正常
  4. 不存在任何二进制文件
  5. 源码文件都包含标准 ASF License 头 (这个用插件跑一下为主)
  6. 检查每个父/子模块的 pom.xml 版本号是否一致 (且符合期望)
  7. 检查前 3 ~ 5 个 commit 提交, 点进去看看是否修改处和源码文件一致
  8. 最后, 确保源码可以正常/正确编译 (然后看看测试和规范)
# 同时也可以检查一下代码风格是否符合规范, 不符合的可以放下一次调整
+mvn clean test -Dcheckstyle.skip=false
+
B. 二进制包

解压 xxx-hugegraph.tar.gz后, 进行如下检查:

  1. 文件夹都带有 incubating
  2. 存在 LICENSE + NOTICE 文件并且内容正常
  3. 通过 gpg 命令确认每个文件的签名正常

注: 如果二进制包里面引入了第三方依赖, 则需要更新 LICENSE, 加入第三方依赖的 LICENSE; 若第三方依赖 LICENSE 是 Apache 2.0, 且对应的项目中包含了 NOTICE, 则还需要更新我们的 NOTICE 文件

4. 检查官网以及 github 等页面

  1. 确保官网至少满足 apache website check, 以及没有死链等
  2. 更新下载链接以及版本更新说明
  3. …..
+ + + + \ No newline at end of file diff --git a/cn/docs/_print/index.html b/cn/docs/_print/index.html index a74c5c03e..edef84921 100644 --- a/cn/docs/_print/index.html +++ b/cn/docs/_print/index.html @@ -1,7 +1,7 @@ Documentation | HugeGraph

This is the multi-page printable view of this section. -Click here to print.

Return to the regular view of this page.

Documentation

欢迎阅读HugeGraph文档

1 - Introduction with HugeGraph

Summary

HugeGraph是一款易用、高效、通用的开源图数据库系统(Graph Database,GitHub项目地址), +Click here to print.

Return to the regular view of this page.

Documentation

欢迎阅读HugeGraph文档

1 - Introduction with HugeGraph

Summary

HugeGraph是一款易用、高效、通用的开源图数据库系统(Graph Database,GitHub项目地址), 实现了Apache TinkerPop3框架及完全兼容Gremlin查询语言, 具备完善的工具链组件,助力用户轻松构建基于图数据库之上的应用和产品。HugeGraph支持百亿以上的顶点和边快速导入,并提供毫秒级的关联关系查询能力(OLTP), 并支持大规模分布式图分析(OLAP)。

HugeGraph典型应用场景包括深度关系探索、关联分析、路径搜索、特征抽取、数据聚类、社区检测、 @@ -6553,7 +6553,7 @@ g.V(pluto).out('brother').as('god').out('lives').as('place').select('god','place').by('name')

推荐使用HugeGraph-Studio 通过可视化的方式来执行上述代码。另外也可以通过HugeGraph-Client、HugeApi、GremlinConsole和GremlinDriver等多种方式执行上述代码。

3.2 总结

HugeGraph 目前支持 Gremlin 的语法,用户可以通过 Gremlin / REST-API 实现各种查询需求。

8 - PERFORMANCE

8.1 - HugeGraph BenchMark Performance

1 测试环境

1.1 硬件信息

CPUMemory网卡磁盘
48 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz128G10000Mbps750GB SSD

1.2 软件信息

1.2.1 测试用例

测试使用graphdb-benchmark,一个图数据库测试集。该测试集主要包含4类测试:

1.2.2 测试数据集

测试使用人造数据和真实数据

本测试用到的数据集规模
名称vertex数目edge数目文件大小
email-enron.txt36,691367,6614MB
com-youtube.ungraph.txt1,157,8062,987,62438.7MB
amazon0601.txt403,3933,387,38847.9MB
com-lj.ungraph.txt399796134681189479MB

1.3 服务配置

graphdb-benchmark适配的Titan版本为0.5.4

2 测试结果

2.1 Batch插入性能

Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)com-lj.ungraph(3000w)
HugeGraph0.6295.7115.24367.033
Titan10.15108.569150.2661217.944
Neo4j3.88418.93824.890281.537

说明

结论

2.2 遍历性能

2.2.1 术语说明
2.2.2 FN性能
Backendemail-enron(3.6w)amazon0601(40w)com-youtube.ungraph(120w)com-lj.ungraph(400w)
HugeGraph4.07245.11866.006609.083
Titan8.08492.507184.5431099.371
Neo4j2.42410.53711.609106.919

说明

2.2.3 FA性能
Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)com-lj.ungraph(3000w)
HugeGraph1.54010.76411.243151.271
Titan7.36193.344169.2181085.235
Neo4j1.6734.7754.28440.507

说明

结论

2.3 HugeGraph-图常用分析方法性能

术语说明
FS性能
Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)com-lj.ungraph(3000w)
HugeGraph0.4940.1033.3648.155
Titan11.8180.239377.709575.678
Neo4j1.7191.8001.9568.530

说明

结论
K-neighbor性能
顶点深度一度二度三度四度五度六度
v1时间0.031s0.033s0.048s0.500s11.27sOOM
v111时间0.027s0.034s0.1151.36sOOM
v1111时间0.039s0.027s0.052s0.511s10.96sOOM

说明

K-out性能
顶点深度一度二度三度四度五度六度
v1时间0.054s0.057s0.109s0.526s3.77sOOM
10133245350,8301,128,688
v111时间0.032s0.042s0.136s1.25s20.62sOOM
1021149441131502,629,970
v1111时间0.039s0.045s0.053s1.10s2.92sOOM
101402555508251,070,230

说明

结论

2.4 图综合性能测试-CW

数据库规模1000规模5000规模10000规模20000
HugeGraph(core)20.804242.099744.7801700.547
Titan45.790820.6332652.2359568.623
Neo4j5.91350.267142.354460.880

说明

结论

8.2 - HugeGraph-API Performance

HugeGraph API性能测试主要测试HugeGraph-Server对RESTful API请求的并发处理能力,包括:

HugeGraph的每个发布版本的RESTful API的性能测试情况可以参考:

之前的版本只提供HugeGraph所支持的后端种类中性能最好的API性能测试,从0.5.6版本开始,分别提供了单机和集群的性能情况

8.2.1 - v0.5.6 Stand-alone(RocksDB)

1 测试环境

被压机器信息

CPUMemory网卡磁盘
48 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz128G10000Mbps750GB SSD,2.7T HDD

注:起压机器和被压机器在同一机房

2 测试说明

2.1 名词定义(时间的单位均为ms)

2.2 底层存储

后端存储使用RocksDB,HugeGraph与RocksDB都在同一机器上启动,server相关的配置文件除主机和端口有修改外,其余均保持默认。

3 性能结果总结

  1. HugeGraph单条插入顶点和边的速度在每秒1w左右
  2. 顶点和边的批量插入速度远大于单条插入速度
  3. 按id查询顶点和边的并发度可达到13000以上,且请求的平均延时小于50ms

4 测试结果及分析

4.1 batch插入

4.1.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数

持续时间:5min

顶点的最大插入速度:
image

####### 结论:

边的最大插入速度
image

####### 结论:

4.2 single插入

4.2.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数
顶点的单条插入
image

####### 结论:

边的单条插入
image

####### 结论:

4.3 按id查询

4.3.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数
顶点的按id查询
image

####### 结论:

边的按id查询
image

####### 结论:

8.2.2 - v0.5.6 Cluster(Cassandra)

1 测试环境

被压机器信息

CPUMemory网卡磁盘
48 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz128G10000Mbps750GB SSD,2.7T HDD

注:起压机器和被压机器在同一机房

2 测试说明

2.1 名词定义(时间的单位均为ms)

2.2 底层存储

后端存储使用15节点Cassandra集群,HugeGraph与Cassandra集群位于不同的服务器,server相关的配置文件除主机和端口有修改外,其余均保持默认。

3 性能结果总结

  1. HugeGraph单条插入顶点和边的速度分别为9000和4500
  2. 顶点和边的批量插入速度分别为5w/s和15w/s,远大于单条插入速度
  3. 按id查询顶点和边的并发度可达到12000以上,且请求的平均延时小于70ms

4 测试结果及分析

4.1 batch插入

4.1.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数

持续时间:5min

顶点的最大插入速度:
image

####### 结论:

边的最大插入速度
image

####### 结论:

4.2 single插入

4.2.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数
顶点的单条插入
image

####### 结论:

边的单条插入
image

####### 结论:

4.3 按id查询

4.3.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数
顶点的按id查询
image

####### 结论:

边的按id查询
image

####### 结论:

8.2.3 - v0.4.4

1 测试环境

被压机器信息

机器编号CPUMemory网卡磁盘
124 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz61G1000Mbps1.4T HDD
248 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz128G10000Mbps750GB SSD,2.7T HDD

注:起压机器和被压机器在同一机房

2 测试说明

2.1 名词定义(时间的单位均为ms)

2.2 底层存储

后端存储使用RocksDB,HugeGraph与RocksDB都在同一机器上启动,server相关的配置文件除主机和端口有修改外,其余均保持默认。

3 性能结果总结

  1. HugeGraph每秒能够处理的请求数目上限是7000
  2. 批量插入速度远大于单条插入,在服务器上测试结果达到22w edges/s,37w vertices/s
  3. 后端是RocksDB,增大CPU数目和内存大小可以增大批量插入的性能。CPU和内存扩大一倍,性能增加45%-60%
  4. 批量插入场景,使用SSD替代HDD,性能提升较小,只有3%-5%

4 测试结果及分析

4.1 batch插入

4.1.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数

持续时间:5min

顶点和边的最大插入速度(高性能服务器,使用SSD存储RocksDB数据):
image
结论:

1. CPU和内存对插入性能的影响(服务器都使用HDD存储RocksDB数据,批量插入)

image
结论:

2. SSD和HDD对插入性能的影响(高性能服务器,批量插入)

image
结论:

3. 不同并发线程数对插入性能的影响(普通服务器,使用HDD存储RocksDB数据)

image
结论:

4.2 single插入

4.2.1 压力上限测试
测试方法

不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数
image
结论:

8.2.4 - v0.2

1 测试环境

1.1 软硬件信息

起压和被压机器配置相同,基本参数如下:

CPUMemory网卡
24 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz61G1000Mbps

测试工具:apache-Jmeter-2.5.1

1.2 服务配置

  batch_size_warn_threshold_in_kb: 1000
   batch_size_fail_threshold_in_kb: 1000
-

1.3 名词解释

注:时间的单位均为ms

2 测试结果

2.1 schema

LabelSamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
property_keys33100011201720.00%920.7/sec178.1
vertex_labels33100012211260.00%920.7/sec193.4
edge_labels33100022311580.00%920.7/sec242.8

结论:schema的接口,在1000并发持续5分钟的压力下,平均响应时间1-2ms,无压力

2.2 single 插入

2.2.1 插入速率测试
压力参数

测试方法:固定并发量,测试server和后端的处理速率

性能指标
LabelSamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
single_insert_vertices3310000110210.00%920.7/sec234.4
single_insert_edges3310002231530.00%920.7/sec309.1
结论
2.2.2 压力上限测试

测试方法:不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数
性能指标
ConcurrencySamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
2000(vertex)661916111030120.00%1842.9/sec469.1
4000(vertex)131612413114090230.00%3673.1/sec935.0
5000(vertex)1468121101011351227092230.06%4095.6/sec1046.0
7000(vertex)1378454161717081886093610.08%3860.3/sec987.1
2000(edge)62939995310431113190010.00%1750.3/sec587.6
3000(edge)648364225824042500290010.00%1810.7/sec607.9
4000(edge)649904199221122211190010.06%1812.5/sec608.5
结论

2.3 batch 插入

2.3.1 插入速率测试
压力参数

测试方法:固定并发量,测试server和后端的处理速率

性能指标
LabelSamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
batch_insert_vertices371628959959597041798520.00%103.4/sec393.3
batch_insert_edges10800318493454435132435357470.00%28.8/sec814.9
结论

8.3 - HugeGraph-Loader Performance

使用场景

当要批量插入的图数据(包括顶点和边)条数为billion级别及以下,或者总数据量小于TB时,可以采用HugeGraph-Loader工具持续、高速导入图数据

性能

测试均采用网址数据的边数据

RocksDB单机性能

Cassandra集群性能

8.4 -

1 测试环境

1.1 硬件信息

CPUMemory网卡磁盘
48 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz128G10000Mbps750GB SSD

1.2 软件信息

1.2.1 测试用例

测试使用graphdb-benchmark,一个图数据库测试集。该测试集主要包含4类测试:

1.2.2 测试数据集

测试使用人造数据和真实数据

本测试用到的数据集规模
名称vertex数目edge数目文件大小
email-enron.txt36,691367,6614MB
com-youtube.ungraph.txt1,157,8062,987,62438.7MB
amazon0601.txt403,3933,387,38847.9MB

1.3 服务配置

graphdb-benchmark适配的Titan版本为0.5.4

2 测试结果

2.1 Batch插入性能

Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)
Titan9.51688.123111.586
RocksDB2.34514.07616.636
Cassandra11.930108.709101.959
Memory3.07715.20413.841

说明

结论

2.2 遍历性能

2.2.1 术语说明
2.2.2 FN性能
Backendemail-enron(3.6w)amazon0601(40w)com-youtube.ungraph(120w)
Titan7.72470.935128.884
RocksDB8.87665.85263.388
Cassandra13.125126.959102.580
Memory22.309207.411165.609

说明

2.2.3 FA性能
Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)
Titan7.11963.353115.633
RocksDB6.03264.52652.721
Cassandra9.410102.76694.197
Memory12.340195.444140.89

说明

结论

2.3 HugeGraph-图常用分析方法性能

术语说明
FS性能
Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)
Titan11.3330.313376.06
RocksDB44.3912.221268.792
Cassandra39.8453.337331.113
Memory35.6382.059388.987

说明

结论
K-neighbor性能
顶点深度一度二度三度四度五度六度
v1时间0.031s0.033s0.048s0.500s11.27sOOM
v111时间0.027s0.034s0.1151.36sOOM
v1111时间0.039s0.027s0.052s0.511s10.96sOOM

说明

K-out性能
顶点深度一度二度三度四度五度六度
v1时间0.054s0.057s0.109s0.526s3.77sOOM
10133245350,8301,128,688
v111时间0.032s0.042s0.136s1.25s20.62sOOM
1021149441131502,629,970
v1111时间0.039s0.045s0.053s1.10s2.92sOOM
101402555508251,070,230

说明

结论

2.4 图综合性能测试-CW

数据库规模1000规模5000规模10000规模20000
Titan45.943849.1682737.1179791.46
Memory(core)41.0771825.905**
Cassandra(core)39.783862.7442423.1366564.191
RocksDB(core)33.383199.894763.8691677.813

说明

结论

9 - CHANGELOGS

9.1 - HugeGraph 0.12 Release Notes

API & Client

接口更新

其它修改

Core & Server

功能更新

BUG修复

配置项修改:

其它修改

Loader

Tools

9.2 - HugeGraph 0.11 Release Notes

API & Client

功能更新

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

内部修改

9.3 - HugeGraph 0.10 Release Notes

API & Client

功能更新

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

内部修改

9.4 - HugeGraph 0.9 Release Notes

API & Client

功能更新

BUG修复

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

9.5 - HugeGraph 0.8 Release Notes

API & Client

功能更新

BUG修复

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

9.6 - HugeGraph 0.7 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

内部修改

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

Studio

BUG修复

9.7 - HugeGraph 0.6 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

Tools

功能更新

BUG修复

Loader

功能更新

BUG修复

9.8 - HugeGraph 0.5 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

9.9 - HugeGraph 0.4.4 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

9.10 - HugeGraph 0.3.3 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

9.11 - HugeGraph 0.2 Release Notes

API & Java Client

功能更新

0.2版实现了图数据库基本功能,提供如下功能:

元数据(Schema)

顶点类型(Vertex Label)

边类型(Edge Label)

属性(Property Key)

索引(Index Label)

元数据检查

图数据

顶点(Vertex)

边(Edge)

顶点/边属性

事务

索引

索引类型

索引操作

查询/遍历

缓存

可缓存内容

缓存特性

接口(RESTful API)

更多细节详见API文档

后端支持

支持Cassandra后端

支持Memory后端(仅用于测试)

其它

支持配置项

支持多图实例

版本检查

9.12 - HugeGraph 0.2.4 Release Notes

API & Java Client

功能更新

元数据(Schema)相关

BUG修复

图数据(Vertex、Edge)相关

功能更新

BUG修复

查询、索引、缓存相关

功能更新

BUG修复

其它

功能更新

BUG修复

测试

Tinkerpop合规测试

单元测试

内部修改

10 -

Contributor Agreement

Individual Contributor exclusive License Agreement

(including the TRADITIONAL PATENT LICENSE OPTION)

Thank you for your interest in contributing to HugeGraph’s all projects (“We” or “Us”).

The purpose of this contributor agreement (“Agreement”) is to clarify and document the rights granted by contributors to Us. To make this document effective, please follow the comment of GitHub CLA-Assistant when submitting a new pull request.

How to use this Contributor Agreement

If You are an employee and have created the Contribution as part of your employment, You need to have Your employer approve this Agreement or sign the Entity version of this document. If You do not own the Copyright in the entire work of authorship, any other author of the Contribution should also sign this – in any event, please contact Us at hugegraph@googlegroups.com

1. Definitions

“You” means the individual Copyright owner who Submits a Contribution to Us.

“Contribution” means any original work of authorship, including any original modifications or additions to an existing work of authorship, Submitted by You to Us, in which You own the Copyright.

“Copyright” means all rights protecting works of authorship, including copyright, moral and neighboring rights, as appropriate, for the full term of their existence.

“Material” means the software or documentation made available by Us to third parties. When this Agreement covers more than one software project, the Material means the software or documentation to which the Contribution was Submitted. After You Submit the Contribution, it may be included in the Material.

“Submit” means any act by which a Contribution is transferred to Us by You by means of tangible or intangible media, including but not limited to electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Us, but excluding any transfer that is conspicuously marked or otherwise designated in writing by You as “Not a Contribution.”

“Documentation” means any non-software portion of a Contribution.

2. License grant

Subject to the terms and conditions of this Agreement, You hereby grant to Us a worldwide, royalty-free, Exclusive, perpetual and irrevocable (except as stated in Section 8.2) license, with the right to transfer an unlimited number of non-exclusive licenses or to grant sublicenses to third parties, under the Copyright covering the Contribution to use the Contribution by all means, including, but not limited to:

2.2 Moral rights

Moral Rights remain unaffected to the extent they are recognized and not waivable by applicable law. Notwithstanding, You may add your name to the attribution mechanism customary used in the Materials you Contribute to, such as the header of the source code files of Your Contribution, and We will respect this attribution when using Your Contribution.

Upon such grant of rights to Us, We immediately grant to You a worldwide, royalty-free, non-exclusive, perpetual and irrevocable license, with the right to transfer an unlimited number of non-exclusive licenses or to grant sublicenses to third parties, under the Copyright covering the Contribution to use the Contribution by all means, including, but not limited to:

This license back is limited to the Contribution and does not provide any rights to the Material.

3. Patents

3.1 Patent license

Subject to the terms and conditions of this Agreement You hereby grant to Us and to recipients of Materials distributed by Us a worldwide, royalty-free, non-exclusive, perpetual and irrevocable (except as stated in Section 3.2) patent license, with the right to transfer an unlimited number of non-exclusive licenses or to grant sublicenses to third parties, to make, have made, use, sell, offer for sale, import and otherwise transfer the Contribution and the Contribution in combination with any Material (and portions of such combination). This license applies to all patents owned or controlled by You, whether already acquired or hereafter acquired, that would be infringed by making, having made, using, selling, offering for sale, importing or otherwise transferring of Your Contribution(s) alone or by combination of Your Contribution(s) with any Material.

3.2 Revocation of patent license

You reserve the right to revoke the patent license stated in section 3.1 if We make any infringement claim that is targeted at your Contribution and not asserted for a Defensive Purpose. An assertion of claims of the Patents shall be considered for a “Defensive Purpose” if the claims are asserted against an entity that has filed, maintained, threatened, or voluntarily participated in a patent infringement lawsuit against Us or any of Our licensees.

4. License obligations by Us

We agree to (sub)license the Contribution or any Materials containing, based on or derived from your Contribution under the terms of any licenses the Free Software Foundation classifies as Free Software License and which are approved by the Open Source Initiative as Open Source licenses.

More specifically and in strict accordance with the above paragraph, we agree to (sub)license the Contribution or any Materials containing, based on or derived from the Contribution only in accordance with our licensing policy available at: http://www.apache.org/licenses/LICENSE-2.0.

In addition, We may use the following licenses for Documentation in the Contribution: GFDL-1.2 (including any right to adopt any future version of a license).

We agree to license patents owned or controlled by You only to the extent necessary to (sub)license Your Contribution(s) and the combination of Your Contribution(s) with the Material under the terms of any licenses the Free Software Foundation classifies as Free Software licenses and which are approved by the Open Source Initiative as Open Source licenses..

5. Disclaimer

THE CONTRIBUTION IS PROVIDED “AS IS”. MORE PARTICULARLY, ALL EXPRESS OR IMPLIED WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OF SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED BY YOU TO US AND BY US TO YOU. TO THE EXTENT THAT ANY SUCH WARRANTIES CANNOT BE DISCLAIMED, SUCH WARRANTY IS LIMITED IN DURATION AND EXTENT TO THE MINIMUM PERIOD AND EXTENT PERMITTED BY LAW.

6. Consequential damage waiver

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL YOU OR WE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF ANTICIPATED SAVINGS, LOSS OF DATA, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL AND EXEMPLARY DAMAGES ARISING OUT OF THIS AGREEMENT REGARDLESS OF THE LEGAL OR EQUITABLE THEORY (CONTRACT, TORT OR OTHERWISE) UPON WHICH THE CLAIM IS BASED.

7. Approximation of disclaimer and damage waiver

IF THE DISCLAIMER AND DAMAGE WAIVER MENTIONED IN SECTION 5. AND SECTION 6. CANNOT BE GIVEN LEGAL EFFECT UNDER APPLICABLE LOCAL LAW, REVIEWING COURTS SHALL APPLY LOCAL LAW THAT MOST CLOSELY APPROXIMATES AN ABSOLUTE WAIVER OF ALL CIVIL OR CONTRACTUAL LIABILITY IN CONNECTION WITH THE CONTRIBUTION.

8. Term

8.1 This Agreement shall come into effect upon Your acceptance of the terms and conditions.

8.2 This Agreement shall apply for the term of the copyright and patents licensed here. However, You shall have the right to terminate the Agreement if We do not fulfill the obligations as set forth in Section 4. Such termination must be made in writing.

8.3 In the event of a termination of this Agreement Sections 5, 6, 7, 8 and 9 shall survive such termination and shall remain in full force thereafter. For the avoidance of doubt, Free and Open Source Software (sub)licenses that have already been granted for Contributions at the date of the termination shall remain in full force after the termination of this Agreement.

9 Miscellaneous

9.1 This Agreement and all disputes, claims, actions, suits or other proceedings arising out of this agreement or relating in any way to it shall be governed by the laws of China excluding its private international law provisions.

9.2 This Agreement sets out the entire agreement between You and Us for Your Contributions to Us and overrides all other agreements or understandings.

9.3 In case of Your death, this agreement shall continue with Your heirs. In case of more than one heir, all heirs must exercise their rights through a commonly authorized person.

9.4 If any provision of this Agreement is found void and unenforceable, such provision will be replaced to the extent possible with a provision that comes closest to the meaning of the original provision and that is enforceable. The terms and conditions set forth in this Agreement shall apply notwithstanding any failure of essential purpose of this Agreement or any limited remedy to the maximum extent possible under law.

9.5 You agree to notify Us of any facts or circumstances of which you become aware that would make this Agreement inaccurate in any respect.

11 -

HugeGraph Docs

Quickstart

Config

API

Guides

Query Language

Performance

ChangeLogs

+

1.3 名词解释

注:时间的单位均为ms

2 测试结果

2.1 schema

LabelSamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
property_keys33100011201720.00%920.7/sec178.1
vertex_labels33100012211260.00%920.7/sec193.4
edge_labels33100022311580.00%920.7/sec242.8

结论:schema的接口,在1000并发持续5分钟的压力下,平均响应时间1-2ms,无压力

2.2 single 插入

2.2.1 插入速率测试
压力参数

测试方法:固定并发量,测试server和后端的处理速率

性能指标
LabelSamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
single_insert_vertices3310000110210.00%920.7/sec234.4
single_insert_edges3310002231530.00%920.7/sec309.1
结论
2.2.2 压力上限测试

测试方法:不断提升并发量,测试server仍能正常提供服务的压力上限

压力参数
性能指标
ConcurrencySamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
2000(vertex)661916111030120.00%1842.9/sec469.1
4000(vertex)131612413114090230.00%3673.1/sec935.0
5000(vertex)1468121101011351227092230.06%4095.6/sec1046.0
7000(vertex)1378454161717081886093610.08%3860.3/sec987.1
2000(edge)62939995310431113190010.00%1750.3/sec587.6
3000(edge)648364225824042500290010.00%1810.7/sec607.9
4000(edge)649904199221122211190010.06%1812.5/sec608.5
结论

2.3 batch 插入

2.3.1 插入速率测试
压力参数

测试方法:固定并发量,测试server和后端的处理速率

性能指标
LabelSamplesAverageMedian90%LineMinMaxError%ThroughputKB/sec
batch_insert_vertices371628959959597041798520.00%103.4/sec393.3
batch_insert_edges10800318493454435132435357470.00%28.8/sec814.9
结论

8.3 - HugeGraph-Loader Performance

使用场景

当要批量插入的图数据(包括顶点和边)条数为billion级别及以下,或者总数据量小于TB时,可以采用HugeGraph-Loader工具持续、高速导入图数据

性能

测试均采用网址数据的边数据

RocksDB单机性能

Cassandra集群性能

8.4 -

1 测试环境

1.1 硬件信息

CPUMemory网卡磁盘
48 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz128G10000Mbps750GB SSD

1.2 软件信息

1.2.1 测试用例

测试使用graphdb-benchmark,一个图数据库测试集。该测试集主要包含4类测试:

1.2.2 测试数据集

测试使用人造数据和真实数据

本测试用到的数据集规模
名称vertex数目edge数目文件大小
email-enron.txt36,691367,6614MB
com-youtube.ungraph.txt1,157,8062,987,62438.7MB
amazon0601.txt403,3933,387,38847.9MB

1.3 服务配置

graphdb-benchmark适配的Titan版本为0.5.4

2 测试结果

2.1 Batch插入性能

Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)
Titan9.51688.123111.586
RocksDB2.34514.07616.636
Cassandra11.930108.709101.959
Memory3.07715.20413.841

说明

结论

2.2 遍历性能

2.2.1 术语说明
2.2.2 FN性能
Backendemail-enron(3.6w)amazon0601(40w)com-youtube.ungraph(120w)
Titan7.72470.935128.884
RocksDB8.87665.85263.388
Cassandra13.125126.959102.580
Memory22.309207.411165.609

说明

2.2.3 FA性能
Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)
Titan7.11963.353115.633
RocksDB6.03264.52652.721
Cassandra9.410102.76694.197
Memory12.340195.444140.89

说明

结论

2.3 HugeGraph-图常用分析方法性能

术语说明
FS性能
Backendemail-enron(30w)amazon0601(300w)com-youtube.ungraph(300w)
Titan11.3330.313376.06
RocksDB44.3912.221268.792
Cassandra39.8453.337331.113
Memory35.6382.059388.987

说明

结论
K-neighbor性能
顶点深度一度二度三度四度五度六度
v1时间0.031s0.033s0.048s0.500s11.27sOOM
v111时间0.027s0.034s0.1151.36sOOM
v1111时间0.039s0.027s0.052s0.511s10.96sOOM

说明

K-out性能
顶点深度一度二度三度四度五度六度
v1时间0.054s0.057s0.109s0.526s3.77sOOM
10133245350,8301,128,688
v111时间0.032s0.042s0.136s1.25s20.62sOOM
1021149441131502,629,970
v1111时间0.039s0.045s0.053s1.10s2.92sOOM
101402555508251,070,230

说明

结论

2.4 图综合性能测试-CW

数据库规模1000规模5000规模10000规模20000
Titan45.943849.1682737.1179791.46
Memory(core)41.0771825.905**
Cassandra(core)39.783862.7442423.1366564.191
RocksDB(core)33.383199.894763.8691677.813

说明

结论

9 - CHANGELOGS

9.1 - HugeGraph 0.12 Release Notes

API & Client

接口更新

其它修改

Core & Server

功能更新

BUG修复

配置项修改:

其它修改

Loader

Tools

9.2 - HugeGraph 1.0.0 Release Notes

TODO: translate this article to Chinese

Server (API & Client)

接口更新

其它修改

Core & Server

功能更新

BUG修复

配置项修改:

其它修改

Toolchain

Computer

Commons

9.3 - HugeGraph 0.11 Release Notes

API & Client

功能更新

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

内部修改

9.4 - HugeGraph 0.10 Release Notes

API & Client

功能更新

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

内部修改

9.5 - HugeGraph 0.9 Release Notes

API & Client

功能更新

BUG修复

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

9.6 - HugeGraph 0.8 Release Notes

API & Client

功能更新

BUG修复

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

9.7 - HugeGraph 0.7 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

内部修改

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

Studio

BUG修复

9.8 - HugeGraph 0.6 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

Tools

功能更新

BUG修复

Loader

功能更新

BUG修复

9.9 - HugeGraph 0.5 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

9.10 - HugeGraph 0.4.4 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

9.11 - HugeGraph 0.3.3 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

9.12 - HugeGraph 0.2 Release Notes

API & Java Client

功能更新

0.2版实现了图数据库基本功能,提供如下功能:

元数据(Schema)

顶点类型(Vertex Label)

边类型(Edge Label)

属性(Property Key)

索引(Index Label)

元数据检查

图数据

顶点(Vertex)

边(Edge)

顶点/边属性

事务

索引

索引类型

索引操作

查询/遍历

缓存

可缓存内容

缓存特性

接口(RESTful API)

更多细节详见API文档

后端支持

支持Cassandra后端

支持Memory后端(仅用于测试)

其它

支持配置项

支持多图实例

版本检查

9.13 - HugeGraph 0.2.4 Release Notes

API & Java Client

功能更新

元数据(Schema)相关

BUG修复

图数据(Vertex、Edge)相关

功能更新

BUG修复

查询、索引、缓存相关

功能更新

BUG修复

其它

功能更新

BUG修复

测试

Tinkerpop合规测试

单元测试

内部修改

10 -

Contributor Agreement

Individual Contributor exclusive License Agreement

(including the TRADITIONAL PATENT LICENSE OPTION)

Thank you for your interest in contributing to HugeGraph’s all projects (“We” or “Us”).

The purpose of this contributor agreement (“Agreement”) is to clarify and document the rights granted by contributors to Us. To make this document effective, please follow the comment of GitHub CLA-Assistant when submitting a new pull request.

How to use this Contributor Agreement

If You are an employee and have created the Contribution as part of your employment, You need to have Your employer approve this Agreement or sign the Entity version of this document. If You do not own the Copyright in the entire work of authorship, any other author of the Contribution should also sign this – in any event, please contact Us at hugegraph@googlegroups.com

1. Definitions

“You” means the individual Copyright owner who Submits a Contribution to Us.

“Contribution” means any original work of authorship, including any original modifications or additions to an existing work of authorship, Submitted by You to Us, in which You own the Copyright.

“Copyright” means all rights protecting works of authorship, including copyright, moral and neighboring rights, as appropriate, for the full term of their existence.

“Material” means the software or documentation made available by Us to third parties. When this Agreement covers more than one software project, the Material means the software or documentation to which the Contribution was Submitted. After You Submit the Contribution, it may be included in the Material.

“Submit” means any act by which a Contribution is transferred to Us by You by means of tangible or intangible media, including but not limited to electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Us, but excluding any transfer that is conspicuously marked or otherwise designated in writing by You as “Not a Contribution.”

“Documentation” means any non-software portion of a Contribution.

2. License grant

Subject to the terms and conditions of this Agreement, You hereby grant to Us a worldwide, royalty-free, Exclusive, perpetual and irrevocable (except as stated in Section 8.2) license, with the right to transfer an unlimited number of non-exclusive licenses or to grant sublicenses to third parties, under the Copyright covering the Contribution to use the Contribution by all means, including, but not limited to:

2.2 Moral rights

Moral Rights remain unaffected to the extent they are recognized and not waivable by applicable law. Notwithstanding, You may add your name to the attribution mechanism customary used in the Materials you Contribute to, such as the header of the source code files of Your Contribution, and We will respect this attribution when using Your Contribution.

Upon such grant of rights to Us, We immediately grant to You a worldwide, royalty-free, non-exclusive, perpetual and irrevocable license, with the right to transfer an unlimited number of non-exclusive licenses or to grant sublicenses to third parties, under the Copyright covering the Contribution to use the Contribution by all means, including, but not limited to:

This license back is limited to the Contribution and does not provide any rights to the Material.

3. Patents

3.1 Patent license

Subject to the terms and conditions of this Agreement You hereby grant to Us and to recipients of Materials distributed by Us a worldwide, royalty-free, non-exclusive, perpetual and irrevocable (except as stated in Section 3.2) patent license, with the right to transfer an unlimited number of non-exclusive licenses or to grant sublicenses to third parties, to make, have made, use, sell, offer for sale, import and otherwise transfer the Contribution and the Contribution in combination with any Material (and portions of such combination). This license applies to all patents owned or controlled by You, whether already acquired or hereafter acquired, that would be infringed by making, having made, using, selling, offering for sale, importing or otherwise transferring of Your Contribution(s) alone or by combination of Your Contribution(s) with any Material.

3.2 Revocation of patent license

You reserve the right to revoke the patent license stated in section 3.1 if We make any infringement claim that is targeted at your Contribution and not asserted for a Defensive Purpose. An assertion of claims of the Patents shall be considered for a “Defensive Purpose” if the claims are asserted against an entity that has filed, maintained, threatened, or voluntarily participated in a patent infringement lawsuit against Us or any of Our licensees.

4. License obligations by Us

We agree to (sub)license the Contribution or any Materials containing, based on or derived from your Contribution under the terms of any licenses the Free Software Foundation classifies as Free Software License and which are approved by the Open Source Initiative as Open Source licenses.

More specifically and in strict accordance with the above paragraph, we agree to (sub)license the Contribution or any Materials containing, based on or derived from the Contribution only in accordance with our licensing policy available at: http://www.apache.org/licenses/LICENSE-2.0.

In addition, We may use the following licenses for Documentation in the Contribution: GFDL-1.2 (including any right to adopt any future version of a license).

We agree to license patents owned or controlled by You only to the extent necessary to (sub)license Your Contribution(s) and the combination of Your Contribution(s) with the Material under the terms of any licenses the Free Software Foundation classifies as Free Software licenses and which are approved by the Open Source Initiative as Open Source licenses..

5. Disclaimer

THE CONTRIBUTION IS PROVIDED “AS IS”. MORE PARTICULARLY, ALL EXPRESS OR IMPLIED WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OF SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED BY YOU TO US AND BY US TO YOU. TO THE EXTENT THAT ANY SUCH WARRANTIES CANNOT BE DISCLAIMED, SUCH WARRANTY IS LIMITED IN DURATION AND EXTENT TO THE MINIMUM PERIOD AND EXTENT PERMITTED BY LAW.

6. Consequential damage waiver

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL YOU OR WE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF ANTICIPATED SAVINGS, LOSS OF DATA, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL AND EXEMPLARY DAMAGES ARISING OUT OF THIS AGREEMENT REGARDLESS OF THE LEGAL OR EQUITABLE THEORY (CONTRACT, TORT OR OTHERWISE) UPON WHICH THE CLAIM IS BASED.

7. Approximation of disclaimer and damage waiver

IF THE DISCLAIMER AND DAMAGE WAIVER MENTIONED IN SECTION 5. AND SECTION 6. CANNOT BE GIVEN LEGAL EFFECT UNDER APPLICABLE LOCAL LAW, REVIEWING COURTS SHALL APPLY LOCAL LAW THAT MOST CLOSELY APPROXIMATES AN ABSOLUTE WAIVER OF ALL CIVIL OR CONTRACTUAL LIABILITY IN CONNECTION WITH THE CONTRIBUTION.

8. Term

8.1 This Agreement shall come into effect upon Your acceptance of the terms and conditions.

8.2 This Agreement shall apply for the term of the copyright and patents licensed here. However, You shall have the right to terminate the Agreement if We do not fulfill the obligations as set forth in Section 4. Such termination must be made in writing.

8.3 In the event of a termination of this Agreement Sections 5, 6, 7, 8 and 9 shall survive such termination and shall remain in full force thereafter. For the avoidance of doubt, Free and Open Source Software (sub)licenses that have already been granted for Contributions at the date of the termination shall remain in full force after the termination of this Agreement.

9 Miscellaneous

9.1 This Agreement and all disputes, claims, actions, suits or other proceedings arising out of this agreement or relating in any way to it shall be governed by the laws of China excluding its private international law provisions.

9.2 This Agreement sets out the entire agreement between You and Us for Your Contributions to Us and overrides all other agreements or understandings.

9.3 In case of Your death, this agreement shall continue with Your heirs. In case of more than one heir, all heirs must exercise their rights through a commonly authorized person.

9.4 If any provision of this Agreement is found void and unenforceable, such provision will be replaced to the extent possible with a provision that comes closest to the meaning of the original provision and that is enforceable. The terms and conditions set forth in this Agreement shall apply notwithstanding any failure of essential purpose of this Agreement or any limited remedy to the maximum extent possible under law.

9.5 You agree to notify Us of any facts or circumstances of which you become aware that would make this Agreement inaccurate in any respect.

11 -

HugeGraph Docs

Quickstart

Config

API

Guides

Query Language

Performance

ChangeLogs

diff --git a/cn/docs/changelog/_print/index.html b/cn/docs/changelog/_print/index.html index a85e27824..7ebf57110 100644 --- a/cn/docs/changelog/_print/index.html +++ b/cn/docs/changelog/_print/index.html @@ -1,6 +1,6 @@ CHANGELOGS | HugeGraph

1 - HugeGraph 0.12 Release Notes

API & Client

接口更新

  • 支持 https + auth 模式连接图服务 (hugegraph-client #109 #110)
  • 统一 kout/kneighbor 等 OLTP 接口的参数命名及默认值(hugegraph-client #122 #123)
  • 支持 RESTful 接口利用 P.textcontains() 进行属性全文检索(hugegraph #1312)
  • 增加 graph_read_mode API 接口,以切换 OLTP、OLAP 读模式(hugegraph #1332)
  • 支持 list/set 类型的聚合属性 aggregate property(hugegraph #1332)
  • 权限接口增加 METRICS 资源类型(hugegraph #1355、hugegraph-client #114)
  • 权限接口增加 SCHEMA 资源类型(hugegraph #1362、hugegraph-client #117)
  • 增加手动 compact API 接口,支持 rocksdb/cassandra/hbase 后端(hugegraph #1378)
  • 权限接口增加 login/logout API,支持颁发或回收 Token(hugegraph #1500、hugegraph-client #125)
  • 权限接口增加 project API(hugegraph #1504、hugegraph-client #127)
  • 增加 OLAP 回写接口,支持 cassandra/rocksdb 后端(hugegraph #1506、hugegraph-client #129)
  • 增加返回一个图的所有 Schema 的 API 接口(hugegraph #1567、hugegraph-client #134)
  • 变更 property key 创建与更新 API 的 HTTP 返回码为 202(hugegraph #1584)
  • 增强 Text.contains() 支持3种格式:“word”、"(word)"、"(word1|word2|word3)"(hugegraph #1652)
  • 统一了属性中特殊字符的行为(hugegraph #1670 #1684)
  • 支持动态创建图实例、克隆图实例、删除图实例(hugegraph-client #135)

其它修改

  • 修复在恢复 index label 时 IndexLabelV56 id 丢失的问题(hugegraph-client #118)
  • 为 Edge 类增加 name() 方法(hugegraph-client #121)

Core & Server

功能更新

  • 支持动态创建图实例(hugegraph #1065)
  • 支持通过 Gremlin 调用 OLTP 算法(hugegraph #1289)
  • 支持多集群使用同一个图权限服务,以共享权限信息(hugegraph #1350)
  • 支持跨多节点的 Cache 缓存同步(hugegraph #1357)
  • 支持 OLTP 算法使用原生集合以降低 GC 压力提升性能(hugegraph #1409)
  • 支持对新增的 Raft 节点打快照或恢复快照(hugegraph #1439)
  • 支持对集合属性建立二级索引 Secondary Index(hugegraph #1474)
  • 支持审计日志,及其压缩、限速等功能(hugegraph #1492 #1493)
  • 支持 OLTP 算法使用高性能并行无锁原生集合以提升性能(hugegraph #1552)

BUG修复

  • 修复带权最短路径算法(weighted shortest path)NPE问题 (hugegraph #1250)
  • 增加 Raft 相关的安全操作白名单(hugegraph #1257)
  • 修复 RocksDB 实例未正确关闭的问题(hugegraph #1264)
  • 在清空数据 truncate 操作之后,显示的发起写快照 Raft Snapshot(hugegraph #1275)
  • 修复 Raft Leader 在收到 Follower 转发请求时未更新缓存的问题(hugegraph #1279)
  • 修复带权最短路径算法(weighted shortest path)结果不稳定的问题(hugegraph #1280)
  • 修复 rays 算法 limit 参数不生效问题(hugegraph #1284)
  • 修复 neighborrank 算法 capacity 参数未检查的问题(hugegraph #1290)
  • 修复 PostgreSQL 因为不存在与用户同名的数据库而初始化失败的问题(hugegraph #1293)
  • 修复 HBase 后端当启用 Kerberos 时初始化失败的问题(hugegraph #1294)
  • 修复 HBase/RocksDB 后端 shard 结束判断错误问题(hugegraph #1306)
  • 修复带权最短路径算法(weighted shortest path)未检查目标顶点存在的问题(hugegraph #1307)
  • 修复 personalrank/neighborrank 算法中非 String 类型 id 的问题(hugegraph #1310)
  • 检查必须是 master 节点才允许调度 gremlin job(hugegraph #1314)
  • 修复 g.V().hasLabel().limit(n) 因为索引覆盖导致的部分结果不准确问题(hugegraph #1316)
  • 修复 jaccardsimilarity 算法当并集为空时报 NaN 错误的问题(hugegraph #1324)
  • 修复 Raft Follower 节点操作 Schema 多节点之间数据不同步问题(hugegraph #1325)
  • 修复因为 tx 未关闭导致的 TTL 不生效问题(hugegraph #1330)
  • 修复 gremlin job 的执行结果大于 Cassandra 限制但小于任务限制时的异常处理(hugegraph #1334)
  • 检查权限接口 auth-delete 和 role-get API 操作时图必须存在(hugegraph #1338)
  • 修复异步任务结果中包含 path/tree 时系列化不正常的问题(hugegraph #1351)
  • 修复初始化 admin 用户时的 NPE 问题(hugegraph #1360)
  • 修复异步任务原子性操作问题,确保 update/get fields 及 re-schedule 的原子性(hugegraph #1361)
  • 修复权限 NONE 资源类型的问题(hugegraph #1362)
  • 修复启用权限后,truncate 操作报错 SecurityException 及管理员信息丢失问题(hugegraph #1365)
  • 修复启用权限后,解析数据忽略了权限异常的问题(hugegraph #1380)
  • 修复 AuthManager 在初始化时会尝试连接其它节点的问题(hugegraph #1381)
  • 修复特定的 shard 信息导致 base64 解码错误的问题(hugegraph #1383)
  • 修复启用权限后,使用 consistent-hash LB 在校验权限时,creator 为空的问题(hugegraph #1385)
  • 改进权限中 VAR 资源不再依赖于 VERTEX 资源(hugegraph #1386)
  • 规范启用权限后,Schema 操作仅依赖具体的资源(hugegraph #1387)
  • 规范启用权限后,部分操作由依赖 STATUS 资源改为依赖 ANY 资源(hugegraph #1391)
  • 规范启用权限后,禁止初始化管理员密码为空(hugegraph #1400)
  • 检查创建用户时 username/password 不允许为空(hugegraph #1402)
  • 修复更新 Label 时,PrimaryKey 或 SortKey 被设置为可空属性的问题(hugegraph #1406)
  • 修复 ScyllaDB 丢失分页结果问题(hugegraph #1407)
  • 修复带权最短路径算法(weighted shortest path)权重属性强制转换为 double 的问题(hugegraph #1432)
  • 统一 OLTP 算法中的 degree 参数命名(hugegraph #1433)
  • 修复 fusiformsimilarity 算法当 similars 为空的时候返回所有的顶点问题(hugegraph #1434)
  • 改进 paths 算法,当起始点与目标点相同时应该返回空路径(hugegraph #1435)
  • 修改 kout/kneighbor 的 limit 参数默认值 10 为 10000000(hugegraph #1436)
  • 修复分页信息中的 ‘+’ 被 URL 编码为空格的问题(hugegraph #1437)
  • 改进边更新接口的错误提示信息(hugegraph #1443)
  • 修复 kout 算法 degree 未在所有 label 范围生效的问题(hugegraph #1459)
  • 改进 kneighbor/kout 算法,起始点不允许出现在结果集中(hugegraph #1459 #1463)
  • 统一 kout/kneighbor 的 Get 和 Post 版本行为(hugegraph #1470)
  • 改进创建边时顶点类型不匹配的错误提示信息(hugegraph #1477)
  • 修复 Range Index 的残留索引问题(hugegraph #1498)
  • 修复权限操作未失效缓存的问题(hugegraph #1528)
  • 修复 sameneighbor 的 limit 参数默认值 10 为 10000000(hugegraph #1530)
  • 修复 clear API 不应该所有后端都调用 create snapshot 的问题(hugegraph #1532)
  • 修复当 loading 模式时创建 Index Label 阻塞问题(hugegraph #1548)
  • 修复增加图到 project 或从 project 移除图的问题(hugegraph #1562)
  • 改进权限操作的一些错误提示信息(hugegraph #1563)
  • 支持浮点属性设置为 Infinity/NaN 的值(hugegraph #1578)
  • 修复 Raft 启用 safe_read 时的 quorum read 问题(hugegraph #1618)
  • 修复 token 过期时间配置的单位问题(hugegraph #1625)
  • 修复 MySQL Statement 资源泄露问题(hugegraph #1627)
  • 修复竞争条件下 Schema.getIndexLabel 获取不到数据的问题(hugegraph #1629)
  • 修复 HugeVertex4Insert 无法系列化问题(hugegraph #1630)
  • 修复 MySQL count Statement 未关闭问题(hugegraph #1640)
  • 修复当删除 Index Label 异常时,导致状态不同步问题(hugegraph #1642)
  • 修复 MySQL 执行 gremlin timeout 导致的 statement 未关闭问题(hugegraph #1643)
  • 改进 Search Index 以兼容特殊 Unicode 字符:\u0000 to \u0003(hugegraph #1659)
  • 修复 #1659 引入的 Char 未转化为 String 的问题(hugegraph #1664)
  • 修复 has() + within() 查询时结果异常问题(hugegraph #1680)
  • 升级 Log4j 版本到 2.17 以修复安全漏洞(hugegraph #1686 #1698 #1702)
  • 修复 HBase 后端 shard scan 中 startkey 包含空串时 NPE 问题(hugegraph #1691)
  • 修复 paths 算法在深层环路遍历时性能下降问题 (hugegraph #1694)
  • 改进 personalrank 算法的参数默认值及错误检查(hugegraph #1695)
  • 修复 RESTful 接口 P.within 条件不生效问题(hugegraph #1704)
  • 修复启用权限时无法动态创建图的问题(hugegraph #1708)

配置项修改:

  • 共享 SSL 相关配置项命名(hugegraph #1260)
  • 支持 RocksDB 配置项 rocksdb.level_compaction_dynamic_level_bytes(hugegraph #1262)
  • 去除 RESFful Server 服务协议配置项 restserver.protocol,自动提取 URL 中的 Schema(hugegraph #1272)
  • 增加 PostgreSQL 配置项 jdbc.postgresql.connect_database(hugegraph #1293)
  • 增加针对顶点主键是否编码的配置项 vertex.encode_primary_key_number(hugegraph #1323)
  • 增加针对聚合查询是否启用索引优化的配置项 query.optimize_aggregate_by_index(hugegraph #1549)
  • 修改 cache_type 的默认值 l1 为 l2(hugegraph #1681)
  • 增加 JDBC 强制重连配置项 jdbc.forced_auto_reconnect(hugegraph #1710)

其它修改

  • 增加默认的 SSL Certificate 文件(hugegraph #1254)
  • OLTP 并行请求共享线程池,而非每个请求使用单独的线程池(hugegraph #1258)
  • 修复 Example 的问题(hugegraph #1308)
  • 使用 jraft 版本 1.3.5(hugegraph #1313)
  • 如果启用了 Raft 模式时,关闭 RocksDB 的 WAL(hugegraph #1318)
  • 使用 TarLz4Util 来提升快照 Snapshot 压缩的性能(hugegraph #1336)
  • 升级存储的版本号(store version),因为 property key 增加了 read frequency(hugegraph #1341)
  • 顶点/边 vertex/edge 的 Get API 使用 queryVertex/queryEdge 方法来替代 iterator 方法(hugegraph #1345)
  • 支持 BFS 优化的多度查询(hugegraph #1359)
  • 改进 RocksDB deleteRange() 带来的查询性能问题(hugegraph #1375)
  • 修复 travis-ci cannot find symbol Namifiable 问题(hugegraph #1376)
  • 确保 RocksDB 快照的磁盘与 data path 指定的一致(hugegraph #1392)
  • 修复 MacOS 空闲内存 free_memory 计算不准确问题(hugegraph #1396)
  • 增加 Raft onBusy 回调来配合限速(hugegraph #1401)
  • 升级 netty-all 版本 4.1.13.Final 到 4.1.42.Final(hugegraph #1403)
  • 支持 TaskScheduler 暂停当设置为 loading 模式时(hugegraph #1414)
  • 修复 raft-tools 脚本的问题(hugegraph #1416)
  • 修复 license params 问题(hugegraph #1420)
  • 提升写权限日志的性能,通过 batch flush & async write 方式改进(hugegraph #1448)
  • 增加 MySQL 连接 URL 的日志记录(hugegraph #1451)
  • 提升用户信息校验性能(hugegraph# 1460)
  • 修复 TTL 因为起始时间问题导致的错误(hugegraph #1478)
  • 支持日志配置的热加载及对审计日志的压缩(hugegraph #1492)
  • 支持针对用户级别的审计日志的限速(hugegraph #1493)
  • 缓存 RamCache 支持用户自定义的过期时间(hugegraph #1494)
  • 在 auth client 端缓存 login role 以避免重复的 RPC 调用(hugegraph #1507)
  • 修复 IdSet.contains() 未复写 AbstractCollection.contains() 问题(hugegraph #1511)
  • 修复当 commitPartOfEdgeDeletions() 失败时,未回滚 rollback 的问题(hugegraph #1513)
  • 提升 Cache metrics 性能(hugegraph #1515)
  • 当发生 license 操作错误时,增加打印异常日志(hugegraph #1522)
  • 改进 SimilarsMap 实现(hugegraph #1523)
  • 使用 tokenless 方式来更新 coverage(hugegraph #1529)
  • 改进 project update 接口的代码(hugegraph #1537)
  • 允许从 option() 访问 GRAPH_STORE(hugegraph #1546)
  • 优化 kout/kneighbor 的 count 查询以避免拷贝集合(hugegraph #1550)
  • 优化 shortestpath 遍历方式,以数据量少的一端优先遍历(hugegraph #1569)
  • 完善 rocksdb.data_disks 配置项的 allowed keys 提示信息(hugegraph #1585)
  • 为 number id 优化 OLTP 遍历中的 id2code 方法性能(hugegraph #1623)
  • 优化 HugeElement.getProperties() 返回 Collection<Property>(hugegraph #1624)
  • 增加 APACHE PROPOSAL 文件(hugegraph #1644)
  • 改进 close tx 的流程(hugegraph #1655)
  • 当 reset() 时为 MySQL close 捕获所有类型异常(hugegraph #1661)
  • 改进 OLAP property 模块代码(hugegraph #1675)
  • 改进查询模块的执行性能(hugegraph #1711)

Loader

  • 支持导入 Parquet 格式文件(hugegraph-loader #174)
  • 支持 HDFS Kerberos 权限验证(hugegraph-loader #176)
  • 支持 HTTPS 协议连接到服务端导入数据(hugegraph-loader #183)
  • 修复 trust store file 路径问题(hugegraph-loader #186)
  • 处理 loading mode 重置的异常(hugegraph-loader #187)
  • 增加在插入数据时对非空属性的检查(hugegraph-loader #190)
  • 修复客户端与服务端时区不同导致的时间判断问题(hugegraph-loader #192)
  • 优化数据解析性能(hugegraph-loader #194)
  • 当用户指定了文件头时,检查其必须不为空(hugegraph-loader #195)
  • 修复示例程序中 MySQL struct.json 格式问题(hugegraph-loader #198)
  • 修复顶点边导入速度不精确的问题(hugegraph-loader #200 #205)
  • 当导入启用 check-vertex 时,确保先导入顶点再导入边(hugegraph-loader #206)
  • 修复边 Json 数据导入格式不统一时数组溢出的问题(hugegraph-loader #211)
  • 修复因边 mapping 文件不存在导致的 NPE 问题(hugegraph-loader #213)
  • 修复读取时间可能出现负数的问题(hugegraph-loader #215)
  • 改进目录文件的日志打印(hugegraph-loader #223)
  • 改进 loader 的的 Schema 处理流程(hugegraph-loader #230)

Tools

  • 支持 HTTPS 协议(hugegraph-tools #71)
  • 移除 –protocol 参数,直接从URL中自动提取(hugegraph-tools #72)
  • 支持将数据 dump 到 HDFS 文件系统(hugegraph-tools #73)
  • 修复 trust store file 路径问题(hugegraph-tools #75)
  • 支持权限信息的备份恢复(hugegraph-tools #76)
  • 支持无参数的 Printer 打印(hugegraph-tools #79)
  • 修复 MacOS free_memory 计算问题(hugegraph-tools #82)
  • 支持备份恢复时指定线程数hugegraph-tools #83)
  • 支持动态创建图、克隆图、删除图等命令(hugegraph-tools #95)

2 - HugeGraph 0.11 Release Notes

API & Client

功能更新

  • 支持梭形相似度算法(hugegraph #671,hugegraph-client #62)
  • 支持创建 Schema 时,记录创建的时间(hugegraph #746,hugegraph-client #69)
  • 支持 RESTful API 中基于属性的范围查询顶点/边(hugegraph #782,hugegraph-client #73)
  • 支持顶点和边的 TTL (hugegraph #794,hugegraph-client #83)
  • 统一 RESTful API Server 和 Gremlin Server 的日期格式为字符串(hugegraph #1014,hugegraph-client #82)
  • 支持共同邻居,Jaccard 相似度,全部最短路径,带权最短路径和单源最短路径5种遍历算法(hugegraph #936,hugegraph-client #80)
  • 支持用户认证和细粒度权限控制(hugegraph #749,hugegraph #985,hugegraph-client #81)
  • 支持遍历 API 的顶点计数功能(hugegraph #995,hugegraph-client #84)
  • 支持 HTTPS 协议(hugegrap #1036,hugegraph-client #85)
  • 支持创建索引时控制是否重建索引(hugegraph #1106,hugegraph-client #91)
  • 支持定制的 kout/kneighbor,多点最短路径,最相似 Jaccard 点和模板路径5种遍历算法(hugegraph #1174,hugegraph-client #100,hugegraph-client #106)

内部修改

  • 启动 HugeGraphServer 出现异常时快速失败(hugegraph #748)
  • 定义 LOADING 模式来加速导入(hugegraph-client #101)

Core

功能更新

  • 支持多属性顶点/边的分页查询(hugegraph #759)
  • 支持聚合运算的性能优化(hugegraph #813)
  • 支持堆外缓存(hugegraph #846)
  • 支持属性权限管理(hugegraph #971)
  • 支持 MySQL 和 Memory 后端分片,并改进 HBase 分片方法(hugegraph #974)
  • 支持基于 Raft 的分布式一致性协议(hugegraph #1020)
  • 支持元数据拷贝功能(hugegraph #1024)
  • 支持集群的异步任务调度功能(hugegraph #1030)
  • 支持发生 OOM 时打印堆信息功能(hugegraph #1093)
  • 支持 Raft 状态机更新缓存(hugegraph #1119)
  • 支持 Raft 节点管理功能(hugegraph #1137)
  • 支持限制查询请求速率的功能(hugegraph #1158)
  • 支持顶点/边的属性默认值功能(hugegraph #1182)
  • 支持插件化查询加速机制 RamTable(hugegraph #1183)
  • 支持索引重建失败时设置为 INVALID 状态(hugegraph #1226)
  • 支持 HBase 启用 Kerberos 认证(hugegraph #1234)

BUG修复

  • 修复配置权限时 start-hugegraph.sh 的超时问题(hugegraph #761)
  • 修复在 studio 执行 gremlin 时的 MySQL 连接失败问题(hugegraph #765)
  • 修复 HBase 后端 truncate 时出现的 TableNotFoundException(hugegraph #771)
  • 修复限速配置项值未检查的问题(hugegraph #773)
  • 修复唯一索引(Unique Index)的返回的异常信息不准确问题(hugegraph #797)
  • 修复 RocksDB 后端执行 g.V().hasLabel().count() 时 OOM 问题 (hugegraph-798)
  • 修复 traverseByLabel() 分页设置错误问题(hugegraph #805)
  • 修复根据 ID 和 SortKeys 更新边属性时误创建边的问题(hugegraph #819)
  • 修复部分存储后端的覆盖写问题(hugegraph #820)
  • 修复保存执行失败的异步任务时无法取消的问题(hugegraph #827)
  • 修复 MySQL 后端在 SSL 模式下无法打开数据库的问题(hugegraph #842)
  • 修复索引查询时 offset 无效问题(hugegraph #866)
  • 修复 Gremlin 中绝对路径泄露的安全问题(hugegraph #871)
  • 修复 reconnectIfNeeded() 方法的 NPE 问题(hugegraph #874)
  • 修复 PostgreSQL 的 JDBC_URL 配置没有"/“前缀的问题(hugegraph #891)
  • 修复 RocksDB 内存统计问题(hugegraph #937)
  • 修复环路检测的两点成环无法检测的问题(hugegraph #939)
  • 修复梭形算法计算结束后没有清理计数的问题(hugegraph #947)
  • 修复 gremlin-console 无法工作的问题(hugegraph #1027)
  • 修复限制数目的按条件过滤邻接边问题(hugegraph #1057)
  • 修复 MySQL 执行 SQL 时的 auto-commit 问题(hugegraph #1064)
  • 修复通过两个索引查询时发生超时 80w 限制的问题(hugegraph #1088)
  • 修复范围索引检查规则错误(hugegraph #1090)
  • 修复删除残留索引的错误(hugegraph #1101)
  • 修复当前线程为 task-worker 时关闭事务卡住的问题(hugegraph #1111)
  • 修复最短路径查询出现 NoSuchElementException 的问题(hugegraph #1116)
  • 修复异步任务有时提交两次的问题(hugegraph #1130)
  • 修复值很小的 date 反序列化的问题(hugegraph #1152)
  • 修复遍历算法未检查起点或者终点是否存在的问题(hugegraph #1156)
  • 修复 bin/start-hugegraph.sh 参数解析错误的问题(hugegraph #1178)
  • 修复 gremlin-console 运行时的 log4j 错误信息的问题(hugegraph #1229)

内部修改

  • 延迟检查非空属性(hugegraph #756)
  • 为存储后端增加查看集群节点信息的功能 (hugegraph #821)
  • 为 RocksDB 后端增加 compaction 高级配置项(hugegraph #825)
  • 增加 vertex.check_adjacent_vertex_exist 配置项(hugegraph #837)
  • 检查主键属性不允许为空(hugegraph #847)
  • 增加图名字的合法性检查(hugegraph #854)
  • 增加对非预期的 SysProp 的查询(hugegraph #862)
  • 使用 disableTableAsync 加速 HBase 后端的数据清除(hugegraph #868)
  • 允许 Gremlin 环境触发系统异步任务(hugegraph #892)
  • 编码字符类型索引中的类型 ID(hugegraph #894)
  • 安全模块允许 Cassandra 在执行 CQL 时按需创建线程(hugegraph #896)
  • 将 GremlinServer 的默认通道设置为 WsAndHttpChannelizer(hugegraph #903)
  • 将 Direction 和遍历算法的类导出到 Gremlin 环境(hugegraph #904)
  • 增加顶点属性缓存限制(hugegraph #941,hugegraph #942)
  • 优化列表属性的读(hugegraph #943)
  • 增加缓存的 L1 和 L2 配置(hugegraph #945)
  • 优化 EdgeId.asString() 方法(hugegraph #946)
  • 优化当顶点没有属性时跳过后端存储查询(hugegraph #951)
  • 创建名字相同但属性不同的元数据时抛出 ExistedException(hugegraph #1009)
  • 查询顶点和边后按需关闭事务(hugegraph #1039)
  • 当图关闭时清空缓存(hugegraph #1078)
  • 关闭图时加锁避免竞争问题(hugegraph #1104)
  • 优化顶点和边的删除效率,当提供 Label+ID 删除时免去查询(hugegraph #1150)
  • 使用 IntObjectMap 优化元数据缓存效率(hugegraph #1185)
  • 使用单个 Raft 节点管理目前的三个 store(hugegraph #1187)
  • 在重建索引时提前释放索引删除的锁(hugegraph #1193)
  • 在压缩和解压缩异步任务的结果时,使用 LZ4 替代 Gzip(hugegraph #1198)
  • 实现 RocksDB 删除 CF 操作的排他性来避免竞争(hugegraph #1202)
  • 修改 CSV reporter 的输出目录,并默认设置为不输出(hugegraph #1233)

其它

  • cherry-pick 0.10.4 版本的 bug 修复代码(hugegraph #785,hugegraph #1047)
  • Jackson 升级到 2.10.2 版本(hugegraph #859)
  • Thanks 信息中增加对 Titan 的感谢(hugegraph #906)
  • 适配 TinkerPop 测试(hugegraph #1048)
  • 修改允许输出的日志最低等级为 TRACE(hugegraph #1050)
  • 增加 IDEA 的格式配置文件(hugegraph #1060)
  • 修复 Travis CI 太多错误信息的问题(hugegraph #1098)

Loader

功能更新

  • 支持读取 Hadoop 配置文件(hugegraph-loader #105)
  • 支持指定 Date 属性的时区(hugegraph-loader #107)
  • 支持从 ORC 压缩文件导入数据(hugegraph-loader #113)
  • 支持单条边插入时设置是否检查顶点(hugegraph-loader #117)
  • 支持从 Snappy-raw 压缩文件导入数据(hugegraph-loader #119)
  • 支持导入映射文件 2.0 版本(hugegraph-loader #121)
  • 增加一个将 utf8-bom 转换为 utf8 的命令行工具(hugegraph-loader #128)
  • 支持导入任务开始前清理元数据信息的功能(hugegraph-loader #140)
  • 支持 id 列作为属性存储(hugegraph-loader #143)
  • 支持导入任务配置 username(hugegraph-loader #146)
  • 支持从 Parquet 文件导入数据(hugegraph-loader #153)
  • 支持指定读取文件的最大行数(hugegraph-loader #159)
  • 支持 HTTPS 协议(hugegraph-loader #161)
  • 支持时间戳作为日期格式(hugegraph-loader #164)

BUG修复

  • 修复行的 retainAll() 方法没有修改 names 和 values 数组(hugegraph-loader #110)
  • 修复 JSON 文件重新加载时的 NPE 问题(hugegraph-loader #112)

内部修改

  • 只打印一次插入错误信息,以避免过多的错误信息(hugegraph-loader #118)
  • 拆分批量插入和单条插入的线程(hugegraph-loader #120)
  • CSV 的解析器改为 SimpleFlatMapper(hugegraph-loader #124)
  • 编码主键中的数字和日期字段(hugegraph-loader #136)
  • 确保主键列合法或者存在映射(hugegraph-loader #141)
  • 跳过主键属性全部为空的顶点(hugegraph-loader #166)
  • 在导入任务开始前设置为 LOADING 模式,并在导入完成后恢复原来模式(hugegraph-loader #169)
  • 改进停止导入任务的实现(hugegraph-loader #170)

Tools

功能更新

  • 支持 Memory 后端的备份功能 (hugegraph-tools #53)
  • 支持 HTTPS 协议(hugegraph-tools #58)
  • 支持 migrate 子命令配置用户名和密码(hugegraph-tools #61)
  • 支持备份顶点和边时指定类型和过滤属性信息(hugegraph-tools #63)

BUG修复

  • 修复 dump 命令的 NPE 问题(hugegraph-tools #49)

内部修改

  • 在 backup/dump 之前清除分片文件(hugegraph-tools #53)
  • 改进 HugeGraph-tools 的报错信息(hugegraph-tools #67)
  • 改进 migrate 子命令,删除掉不支持的子配置(hugegraph-tools #68)

3 - HugeGraph 0.10 Release Notes

API & Client

功能更新

  • 支持 HugeGraphServer 服务端内存紧张时返回错误拒绝请求 (hugegraph #476)
  • 支持 API 白名单和 HugeGraphServer GC 频率控制功能 (hugegraph #522)
  • 支持 Rings API 的 source_in_ring 参数 (hugegraph #528,hugegraph-client #48)
  • 支持批量按策略更新属性接口 (hugegraph #493,hugegraph-client #46)
  • 支持 Shard Index 前缀与范围检索索引 (hugegraph #574,hugegraph-client #56)
  • 支持顶点的 UUID ID 类型 (hugegraph #618,hugegraph-client #59)
  • 支持唯一性约束索引(Unique Index) (hugegraph #636,hugegraph-client #60)
  • 支持 API 请求超时功能 (hugegraph #674)
  • 支持根据名称列表查询 schema (hugegraph #686,hugegraph-client #63)
  • 支持按分页方式获取异步任务 (hugegraph #720)

内部修改

  • 保持 traverser 的参数与 server 端一致 (hugegraph-client #44)
  • 支持在 Shard 内使用分页方式遍历顶点或者边的方法 (hugegraph-client #47)
  • 支持 Gremlin 查询结果持有 GraphManager (hugegraph-client #49)
  • 改进 RestClient 的连接参数 (hugegraph-client #52)
  • 增加 Date 类型属性的测试 (hugegraph-client #55)
  • 适配 HugeGremlinException 异常 (hugegraph-client #57)
  • 增加新功能的版本匹配检查 (hugegraph-client #66)
  • 适配 UUID 的序列化 (hugegraph-client #67)

Core

功能更新

  • 支持 PostgreSQL 和 CockroachDB 存储后端 (hugegraph #484)
  • 支持负数索引 (hugegraph #513)
  • 支持边的 Vertex + SortKeys 的前缀范围查询 (hugegraph #574)
  • 支持顶点的邻接边按分页方式查询 (hugegraph #659)
  • 禁止通过 Gremlin 进行敏感操作 (hugegraph #176)
  • 支持 Lic 校验功能 (hugegraph #645)
  • 支持 Search Index 查询结果按匹配度排序的功能 (hugegraph #653)
  • 升级 tinkerpop 至版本 3.4.3 (hugegraph #648)

BUG修复

  • 修复按分页方式查询边时剩余数目(remaining count)错误 (hugegraph #515)
  • 修复清空后端时边缓存未清空的问题 (hugegraph #488)
  • 修复无法插入 List 类型的属性问题 (hugegraph #534)
  • 修复 PostgreSQL 后端的 existDatabase(), clearBackend() 和 rollback()功能 (hugegraph #531)
  • 修复程序关闭时 HugeGraphServer 和 GremlinServer 残留问题 (hugegraph #554)
  • 修复在 LockTable 中重复抓锁的问题 (hugegraph #566)
  • 修复从 Edge 中获取的 Vertex 没有属性的问题 (hugegraph #604)
  • 修复交叉关闭 RocksDB 的连接池问题 (hugegraph #598)
  • 修复在超级点查询时 limit 失效问题 (hugegraph #607)
  • 修复使用 Equal 条件和分页的情况下查询 Range Index 只返回第一页的问题 (hugegraph #614)
  • 修复查询 limit 在删除部分数据后失效的问题 (hugegraph #610)
  • 修复 Example1 的查询错误 (hugegraph #638)
  • 修复 HBase 的批量提交部分错误问题 (hugegraph #634)
  • 修复索引搜索时 compareNumber() 方法的空指针问题 (hugegraph #629)
  • 修复更新属性值为已经删除的顶点或边的属性时失败问题 (hugegraph #679)
  • 修复 system 类型残留索引无法清除问题 (hugegraph #675)
  • 修复 HBase 在 Metrics 信息中的单位问题 (hugegraph #713)
  • 修复存储后端未初始化问题 (hugegraph #708)
  • 修复按 Label 删除边时导致的 IN 边残留问题 (hugegraph #727)
  • 修复 init-store 会生成多份 backend_info 问题 (hugegraph #723)

内部修改

  • 抑制因 PostgreSQL 后端 database 不存在时的报警信息 (hugegraph #527)
  • 删除 PostgreSQL 后端的无用配置项 (hugegraph #533)
  • 改进错误信息中的 HugeType 为易读字符串 (hugegraph #546)
  • 增加 jdbc.storage_engine 配置项指定存储引擎 (hugegraph #555)
  • 增加使用后端链接时按需重连功能 (hugegraph #562)
  • 避免打印空的查询条件 (hugegraph #583)
  • 缩减 Variable 的字符串长度 (hugegraph #581)
  • 增加 RocksDB 后端的 cache 配置项 (hugegraph #567)
  • 改进异步任务的异常信息 (hugegraph #596)
  • 将 Range Index 拆分成 INT,LONG,FLOAT,DOUBLE 四个表存储 (hugegraph #574)
  • 改进顶点和边 API 的 Metrics 名字 (hugegraph #631)
  • 增加 G1GC 和 GC Log 的配置项 (hugegraph #616)
  • 拆分顶点和边的 Label Index 表 (hugegraph #635)
  • 减少顶点和边的属性存储空间 (hugegraph #650)
  • 支持对 Secondary Index 和 Primary Key 中的数字进行编码 (hugegraph #676)
  • 减少顶点和边的 ID 存储空间 (hugegraph #661)
  • 支持 Cassandra 后端存储的二进制序列化存储 (hugegraph #680)
  • 放松对最小内存的限制 (hugegraph #689)
  • 修复 RocksDB 后端批量写时的 Invalid column family 问题 (hugegraph #701)
  • 更新异步任务状态时删除残留索引 (hugegraph #719)
  • 删除 ScyllaDB 的 Label Index 表 (hugegraph #717)
  • 启动时使用多线程方式打开 RocksDB 后端存储多个数据目录 (hugegraph #721)
  • RocksDB 版本从 v5.17.2 升级至 v6.3.6 (hugegraph #722)

其它

  • 增加 API tests 到 codecov 统计中 (hugegraph #711)
  • 改进配置文件的默认配置项 (hugegraph #575)
  • 改进 README 中的致谢信息 (hugegraph #548)

Loader

功能更新

  • 支持 JSON 数据源的 selected 字段 (hugegraph-loader #62)
  • 支持定制化 List 元素之间的分隔符 (hugegraph-loader #66)
  • 支持值映射 (hugegraph-loader #67)
  • 支持通过文件后缀过滤文件 (hugegraph-loader #82)
  • 支持对导入进度进行记录和断点续传 (hugegraph-loader #70,hugegraph-loader #87)
  • 支持从不同的关系型数据库中读取 Header 信息 (hugegraph-loader #79)
  • 支持属性为 Unsigned Long 类型值 (hugegraph-loader #91)
  • 支持顶点的 UUID ID 类型 (hugegraph-loader #98)
  • 支持按照策略批量更新属性 (hugegraph-loader #97)

BUG修复

  • 修复 nullable key 在 mapping field 不工作的问题 (hugegraph-loader #64)
  • 修复 Parse Exception 无法捕获的问题 (hugegraph-loader #74)
  • 修复在等待异步任务完成时获取信号量数目错误的问题 (hugegraph-loader #86)
  • 修复空表时 hasNext() 返回 true 的问题 (hugegraph-loader #90)
  • 修复布尔值解析错误问题 (hugegraph-loader #92)

内部修改

  • 增加 HTTP 连接参数 (hugegraph-loader #81)
  • 改进导入完成的总结信息 (hugegraph-loader #80)
  • 改进一行数据缺少列或者有多余列的处理逻辑 (hugegraph-loader #93)

Tools

功能更新

  • 支持 0.8 版本 server 备份的数据恢复至 0.9 版本的 server 中 (hugegraph-tools #34)
  • 增加 timeout 全局参数 (hugegraph-tools #44)
  • 增加 migrate 子命令支持迁移图 (hugegraph-tools #45)

BUG修复

  • 修复 dump 命令不支持 split size 参数的问题 (hugegraph-tools #32)

内部修改

  • 删除 Hadoop 对 Jersey 1.19的依赖 (hugegraph-tools #31)
  • 优化子命令在 help 信息中的排序 (hugegraph-tools #37)
  • 使用 log4j2 清除 log4j 的警告信息 (hugegraph-tools #39)

4 - HugeGraph 0.9 Release Notes

API & Client

功能更新

  • 增加 personal rank API 和 neighbor rank API (hugegraph #274)
  • Shortest path API 增加 skip_degree 参数跳过超级点(hugegraph #433,hugegraph-client #42)
  • vertex/edge 的 scan API 支持分页机制 (hugegraph #428,hugegraph-client #35)
  • VertexAPI 使用简化的属性序列化器 (hugegraph #332,hugegraph-client #37)
  • 增加 customized paths API 和 customized crosspoints API (hugegraph #306,hugegraph-client #40)
  • 在 server 端所有线程忙时返回503错误 (hugegraph #343)
  • 保持 API 的 depth 和 degree 参数一致 (hugegraph #252,hugegraph-client #30)

BUG修复

  • 增加属性的时候验证 Date 而非 Timestamp 的值 (hugegraph-client #26)

内部修改

  • RestClient 支持重用连接 (hugegraph-client #33)
  • 使用 JsonUtil 替换冗余的 ObjectMapper (hugegraph-client #41)
  • Edge 直接引用 Vertex 使得批量插入更友好 (hugegraph-client #29)
  • 使用 JaCoCo 替换 Cobertura 统计代码覆盖率 (hugegraph-client #39)
  • 改进 Shard 反序列化机制 (hugegraph-client #34)

Core

功能更新

  • 支持 Cassandra 的 NetworkTopologyStrategy (hugegraph #448)
  • 元数据删除和索引重建使用分页机制 (hugegraph #417)
  • 支持将 HugeGraphServer 作为系统服务 (hugegraph #170)
  • 单一索引查询支持分页机制 (hugegraph #328)
  • 在初始化图库时支持定制化插件 (hugegraph #364)
  • 为HBase后端增加 hbase.zookeeper.znode.parent 配置项 (hugegraph #333)
  • 支持异步 Gremlin 任务的进度更新 (hugegraph #325)
  • 使用异步任务的方式删除残留索引 (hugegraph #285)
  • 支持按 sortKeys 范围查找功能 (hugegraph #271)

BUG修复

  • 修复二级索引删除时 Cassandra 后端的 batch 超过65535限制的问题 (hugegraph #386)
  • 修复 RocksDB 磁盘利用率的 metrics 不正确问题 (hugegraph #326)
  • 修复异步索引删除错误修复 (hugegraph #336)
  • 修复 BackendSessionPool.close() 的竞争条件问题 (hugegraph #330)
  • 修复保留的系统 ID 不工作问题 (hugegraph #315)
  • 修复 cache 的 metrics 信息丢失问题 (hugegraph #321)
  • 修复使用 hasId() 按 id 查询顶点时不支持数字 id 问题 (hugegraph #302)
  • 修复重建索引时的 80w 限制问题和 Cassandra 后端的 batch 65535问题 (hugegraph #292)
  • 修复残留索引删除无法处理未展开(none-flatten)查询的问题 (hugegraph #281)

内部修改

  • 迭代器变量统一命名为 ‘iter’(hugegraph #438)
  • 增加 PageState.page() 方法统一获取分页信息接口 (hugegraph #429)
  • 为基于 mapdb 的内存版后端调整代码结构,增加测试用例 (hugegraph #357)
  • 支持代码覆盖率统计 (hugegraph #376)
  • 设置 tx capacity 的下限为 COMMIT_BATCH(默认为500) (hugegraph #379)
  • 增加 shutdown hook 来自动关闭线程池 (hugegraph #355)
  • PerfExample 的统计时间排除环境初始化时间 (hugegraph #329)
  • 改进 BinarySerializer 中的 schema 序列化 (hugegraph #316)
  • 避免对 primary key 的属性创建多余的索引 (hugegraph #317)
  • 限制 Gremlin 异步任务的名字小于256字节 (hugegraph #313)
  • 使用 multi-get 优化 HBase 后端的按 id 查询 (hugegraph #279)
  • 支持更多的日期数据类型 (hugegraph #274)
  • 修改 Cassandra 和 HBase 的 port 范围为(1,65535) (hugegraph #263)

其它

  • 增加 travis API 测试 (hugegraph #299)
  • 删除 rest-server.properties 中的 GremlinServer 相关的默认配置项 (hugegraph #290)

Loader

功能更新

  • 支持从 HDFS 和 关系型数据库导入数据 (hugegraph-loader #14)
  • 支持传递权限 token 参数(hugegraph-loader #46)
  • 支持通过 regex 指定要跳过的行 (hugegraph-loader #43)
  • 支持导入 TEXT 文件时的 List/Set 属性(hugegraph-loader #38)
  • 支持自定义的日期格式 (hugegraph-loader #28)
  • 支持从指定目录导入数据 (hugegraph-loader #33)
  • 支持忽略最后多余的列或者 null 值的列 (hugegraph-loader #23)

BUG修复

  • 修复 Example 问题(hugegraph-loader #57)
  • 修复当 vertex 是 customized ID 策略时边解析问题(hugegraph-loader #24)

内部修改

  • URL regex 改进 (hugegraph-loader #47)

Tools

功能更新

  • 支持海量数据备份和恢复到本地和 HDFS,并支持压缩 (hugegraph-tools #21)
  • 支持异步任务取消和清理功能 (hugegraph-tools #20)
  • 改进 graph-clear 命令的提示信息 (hugegraph-tools #23)

BUG修复

  • 修复 restore 命令总是使用 ‘hugegraph’ 作为目标图的问题,支持指定图 (hugegraph-tools #26)

5 - HugeGraph 0.8 Release Notes

API & Client

功能更新

  • 服务端增加 rays 和 rings 的 RESTful API(hugegraph #45)
  • 使创建 IndexLabel 返回异步任务(hugegraph #95,hugegraph-client #9)
  • 客户端增加恢复模式相关的 API(hugegraph-client #10)
  • 让 task-list API 不返回 task_input 和 task_result(hugegraph #143)
  • 增加取消异步任务的API(hugegraph #167,hugegraph-client #15)
  • 增加获取后端 metrics 的 API(hugegraph #155)

BUG修复

  • 分页获取时最后一页的 page 应该为 null 而非 “null”(hugegraph #168)
  • 分页迭代获取服务端已经没有下一页了应该停止获取(hugegraph-client #16)
  • 添加顶点使用自定义 Number Id 时报类型无法转换(hugegraph-client #21)

内部修改

  • 增加持续集成测试(hugegraph-client #19)

Core

功能更新

  • 取消异步任务通过 label 查询时 80w 的限制(hugegraph #93)
  • 允许 cardinality 为 set 时传入 Json List 形式的属性值(hugegraph #109)
  • 支持在恢复模式和合并模式来恢复图(hugegraph #114)
  • RocksDB 后端支持多个图指定为同一个存储目录(hugegraph #123)
  • 支持用户自定义权限认证器(hugegraph-loader #133)
  • 当服务重启后重新开始未完成的任务(hugegraph #188)
  • 当顶点的 Id 策略为自定义时,检查是否已存在相同 Id 的顶点(hugegraph #189)

BUG修复

  • 增加对 HasContainer 的 predicate 不为 null 的检查(hugegraph #16)
  • RocksDB 后端由于数据目录和日志目录错误导致 init-store 失败(hugegraph #25)
  • 启动 hugegraph 时由于 logs 目录不存在导致提示超时但实际可访问(hugegraph #38)
  • ScyllaDB 后端遗漏注册顶点表(hugegraph #47)
  • 使用 hasLabel 查询传入多个 label 时失败(hugegraph #50)
  • Memory 后端未初始化 task 相关的 schema(hugegraph #100)
  • 当使用 hasLabel 查询时,如果元素数量超过 80w,即使加上 limit 也会报错(hugegraph #104)
  • 任务的在运行之后没有保存过状态(hugegraph #113)
  • 检查后端版本信息时直接强转 HugeGraphAuthProxy 为 HugeGraph(hugegraph #127)
  • 配置项 batch.max_vertices_per_batch 未生效(hugegraph #130)
  • 配置文件 rest-server.properties 有错误时 HugeGraphServer 启动不报错,但是无法访问(hugegraph #131)
  • MySQL 后端某个线程的提交对其他线程不可见(hugegraph #163)
  • 使用 union(branch) + has(date) 查询时提示 String 无法转换为 Date(hugegraph #181)
  • 使用 RocksDB 后端带 limit 查询顶点时会返回不完整的结果(hugegraph #197)
  • 提示其他线程无法操作 tx(hugegraph #204)

内部修改

  • 拆分 graph.cache_xx 配置项为 vertex.cache_xx 和 edge.cache_xx 两类(hugegraph #56)
  • 去除 hugegraph-dist 对 hugegraph-api 的依赖(hugegraph #61)
  • 优化集合取交集和取差集的操作(hugegraph #85)
  • 优化 transaction 的缓存处理和索引及 Id 查询(hugegraph #105)
  • 给各线程池的线程命名(hugegraph #124)
  • 增加并优化了一些 metrics 统计(hugegraph #138)
  • 增加了对未完成任务的 metrics 记录(hugegraph #141)
  • 让索引更新以分批方式提交,而不是全量提交(hugegraph #150)
  • 在添加顶点/边时一直持有 schema 的读锁,直到提交/回滚完成(hugegraph #180)
  • 加速 Tinkerpop 测试(hugegraph #19)
  • 修复 Tinkerpop 测试在 resource 目录下找不到 filter 文件的 BUG(hugegraph #26)
  • 开启 Tinkerpop 测试中 supportCustomIds 特性(hugegraph #69)
  • 持续集成中添加 HBase 后端的测试(hugegraph #41)
  • 避免持续集成的 deploy 脚本运行多次(hugegraph #170)
  • 修复 cache 单元测试跑不过的问题(hugegraph #177)
  • 持续集成中修改部分后端的存储为 tmpfs 以加快测试速度(hugegraph #206)

其它

  • 增加 issue 模版(hugegraph #42)
  • 增加 CONTRIBUTING 文件(hugegraph #59)

Loader

功能更新

  • 支持忽略源文件某些特定列(hugegraph-loader #2)
  • 支持导入 cardinality 为 Set 的属性数据(hugegraph-loader #10)
  • 单条插入也使用多个线程执行,解决了错误多时最后单条导入慢的问题(hugegraph-loader #12)

BUG修复

  • 导入过程可能统计出错(hugegraph-loader #4)
  • 顶点使用自定义 Number Id 导入出错(hugegraph-loader #6)
  • 顶点使用联合主键时导入出错(hugegraph-loader #18)

内部修改

  • 增加持续集成测试(hugegraph-loader #8)
  • 优化检测到文件不存在时的提示信息(hugegraph-loader #16)

Tools

功能更新

  • 增加 KgDumper (hugegraph-tools #6)
  • 支持在恢复模式和合并模式中恢复图(hugegraph-tools #9)

BUG修复

  • 脚本中的工具函数 get_ip 在系统未安装 ifconfig 时报错(hugegraph-tools #13)

6 - HugeGraph 0.7 Release Notes

API & Java Client

功能更新

  • 支持异步删除元数据和重建索引(HugeGraph-889)
  • 加入监控API,并与Gremlin的监控框架集成(HugeGraph-1273)

BUG修复

  • EdgeAPI更新属性时会将属性值也置为属性键(HugeGraph-81)
  • 当删除顶点或边时,如果id非法应该返回400错误而非404(HugeGraph-1337)

Core

功能更新

  • 支持HBase后端存储(HugeGraph-1280)
  • 增加异步API框架,耗时操作可通过调用异步API实现(HugeGraph-387)
  • 支持对长属性列建立二级索引,取消目前索引列长度256字节的限制(HugeGraph-1314)
  • 支持顶点属性的“创建或更新”操作(HugeGraph-1303)
  • 支持全文检索功能(HugeGraph-1322)
  • 支持数据库表的版本号检查(HugeGraph-1328)
  • 删除顶点时,如果遇到超级点的时候报错"Batch too large"或“Batch 65535 statements”(HugeGraph-1354)
  • 支持异步删除元数据和重建索引(HugeGraph-889)
  • 支持异步长时间执行Gremlin任务(HugeGraph-889)

BUG修复

  • 防止超级点访问时查询过多下一层顶点而阻塞服务(HugeGraph-1302)
  • HBase初始化时报错连接已经关闭(HugeGraph-1318)
  • 按照date属性过滤顶点报错String无法转为Date(HugeGraph-1319)
  • 残留索引删除,对range索引的判断存在错误(HugeGraph-1291)
  • 支持组合索引后,残留索引清理没有考虑索引组合的情况(HugeGraph-1311)
  • 根据otherV的条件来删除边时,可能会因为边的顶点不存在导致错误(HugeGraph-1347)
  • label索引对offset和limit结果错误(HugeGraph-1329)
  • vertex label或者edge label没有开启label index,删除label会导致数据无法删除(HugeGraph-1355)

内部修改

  • hbase后端代码引入较新版本的Jackson-databind包,导致HugeGraphServer启动异常(HugeGraph-1306)
  • Core和Client都自己持有一个shard类,而不是依赖于common模块(HugeGraph-1316)
  • 去掉rebuild index和删除vertex label和edge label时的80w的capacity限制(HugeGraph-1297)
  • 所有schema操作需要考虑同步问题(HugeGraph-1279)
  • 拆分Cassandra的索引表,把element id每条一行,避免聚合高时,导入速度非常慢甚至卡住(HugeGraph-1304)
  • 将hugegraph-test中关于common的测试用例移动到hugegraph-common中(HugeGraph-1297)
  • 异步任务支持保存任务参数,以支持任务恢复(HugeGraph-1344)
  • 支持通过脚本部署文档到GitHub(HugeGraph-1351)
  • RocksDB和Hbase后端索引删除实现(HugeGraph-1317)

Loader

功能更新

  • HugeLoader支持用户手动创建schema,以文件的方式传入(HugeGraph-1295)

BUG修复

  • HugeLoader导数据时未区分输入文件的编码,导致可能产生乱码(HugeGraph-1288)
  • HugeLoader打包的example目录的三个子目录下没有文件(HugeGraph-1288)
  • 导入的CSV文件中如果数据列本身包含逗号会解析出错(HugeGraph-1320)
  • 批量插入避免单条失败导致整个batch都无法插入(HugeGraph-1336)
  • 异常信息作为模板打印异常(HugeGraph-1345)
  • 导入边数据,当列数不对时导致程序退出(HugeGraph-1346)
  • HugeLoader的自动创建schema失败(HugeGraph-1363)
  • ID长度检查应该检查字节长度而非字符串长度(HugeGraph-1374)

内部修改

  • 添加测试用例(HugeGraph-1361)

Tools

功能更新

  • backup/restore使用多线程加速,并增加retry机制(HugeGraph-1307)
  • 一键部署支持传入路径以存放包(HugeGraph-1325)
  • 实现dump图功能(内存构建顶点及关联边)(HugeGraph-1339)
  • 增加backup-scheduler功能,支持定时备份且保留一定数目最新备份(HugeGraph-1326)
  • 增加异步任务查询和异步执行Gremlin的功能(HugeGraph-1357)

BUG修复

  • hugegraph-tools的backup和restore编码为UTF-8(HugeGraph-1321)
  • hugegraph-tools设置默认JVM堆大小和发布版本号(HugeGraph-1340)

Studio

BUG修复

  • HugeStudio中顶点id包含换行符时g.V()会导致groovy解析出错(HugeGraph-1292)
  • 限制返回的顶点及边的数量(HugeGraph-1333)
  • 加载note出现消失或者卡住情况(HugeGraph-1353)
  • HugeStudio打包时,编译失败但没有报错,导致发布包无法启动(HugeGraph-1368)

7 - HugeGraph 0.6 Release Notes

API & Java Client

功能更新

  • 增加RESTFul API paths和crosspoints,找出source到target顶点间多条路径或包含交叉点的路径(HugeGraph-1210)
  • 在API层添加批量插入并发数的控制,避免出现全部的线程都用于写而无法查询的情况(HugeGraph-1228)
  • 增加scan-API,允许客户端并发地获取顶点和边(HugeGraph-1197)
  • Client支持传入用户名密码访问带权限控制的HugeGraph(HugeGraph-1256)
  • 为顶点及边的list API添加offset参数(HugeGraph-1261)
  • RESTful API的顶点/边的list不允许同时传入page 和 [label,属性](HugeGraph-1262)
  • k-out、K-neighbor、paths、shortestpath等API增加degree、capacity和limit(HugeGraph-1176)
  • 增加restore status的set/get/clear接口(HugeGraph-1272)

BUG修复

  • 使 RestClient的basic auth使用Preemptive模式(HugeGraph-1257)
  • HugeGraph-Client中由ResultSet获取多次迭代器,除第一次外其他的无法迭代(HugeGraph-1278)

Core

功能更新

  • RocksDB实现scan特性(HugeGraph-1198)
  • Schema userdata 提供删除 key 功能(HugeGraph-1195)
  • 支持date类型属性的范围查询(HugeGraph-1208)
  • limit下沉到backend,尽可能不进行多余的索引读取(HugeGraph-1234)
  • 增加 API 权限与访问控制(HugeGraph-1162)
  • 禁止多个后端配置store为相同的值(HugeGraph-1269)

BUG修复

  • RocksDB的Range查询时如果只指定上界或下界会查出其他IndexLabel的记录(HugeGraph-1211)
  • RocksDB带limit查询时,graphTransaction查询返回的结果多一个(HugeGraph-1234)
  • init-store在CentOS上依赖通用的io.netty有时会卡住,改为使用netty-transport-native-epoll(HugeGraph-1255)
  • Cassandra后端in语句(按id查询)元素个数最大65535(HugeGraph-1239)
  • 主键加索引(或普通属性)作为查询条件时报错(HugeGraph-1276)
  • init-store.sh在Centos平台上初始化失败或者卡住(HugeGraph-1255)

测试

内部修改

  • 将compareNumber方法搬移至common模块(HugeGraph-1208)
  • 修复HugeGraphServer无法在Ubuntu机器上启动的Bug(HugeGraph-1154)
  • 修复init-store.sh无法在bin目录下执行的BUG(HugeGraph-1223)
  • 修复HugeGraphServer启动过程中无法通过CTRL+C终止的BUG(HugeGraph-1223)
  • HugeGraphServer启动前检查端口是否被占用(HugeGraph-1223)
  • HugeGraphServer启动前检查系统JDK是否安装以及版本是否为1.8(HugeGraph-1223)
  • 给HugeConfig类增加getMap()方法(HugeGraph-1236)
  • 修改默认配置项,后端使用RocksDB,注释重要的配置项(HugeGraph-1240)
  • 重命名userData为userdata(HugeGraph-1249)
  • centos 4.3系统HugeGraphServer进程使用jps命令查不到
  • 增加配置项ALLOW_TRACE,允许设置是否返回exception stack trace(HugeGraph-81)

Tools

功能更新

  • 增加自动化部署工具以安装所有组件(HugeGraph-1267)
  • 增加clear的脚本,并拆分deploy和start-all(HugeGraph-1274)
  • 对hugegraph服务进行监控以提高可用性(HugeGraph-1266)
  • 增加backup/restore功能和命令(HugeGraph-1272)
  • 增加graphs API对应的命令(HugeGraph-1272)

BUG修复

Loader

功能更新

  • 默认添加csv及json的示例(HugeGraph-1259)

BUG修复

8 - HugeGraph 0.5 Release Notes

API & Java Client

功能更新

  • VertexLabel与EdgeLabel增加bool参数enable_label_index表述是否构建label索引(HugeGraph-1085)
  • 增加RESTful API来支持高效shortest path,K-out和K-neighbor查询(HugeGraph-944)
  • 增加RESTful API支持按id列表批量查询顶点(HugeGraph-1153)
  • 支持迭代获取全部的顶点和边,使用分页实现(HugeGraph-1166)
  • 顶点id中包含 / % 等 URL 保留字符时通过 VertexAPI 查不出来(HugeGraph-1127)
  • 批量插入边时是否检查vertex的RESTful API参数从checkVertex改为check_vertex (HugeGraph-81)

BUG修复

  • hasId()无法正确匹配LongId(HugeGraph-1083)

Core

功能更新

  • RocksDB支持常用配置项(HugeGraph-1068)
  • 支持插入、删除、更新等操作的限速(HugeGraph-1071)
  • 支持RocksDB导入sst文件方案(HugeGraph-1077)
  • 增加MySQL后端存储(HugeGraph-1091)
  • 增加Palo后端存储(HugeGraph-1092)
  • 增加开关:支持是否构建顶点/边的label index(HugeGraph-1085)
  • 支持API分页获取数据(HugeGraph-1105)
  • RocksDB配置的数据存放目录如果不存在则自动创建(HugeGraph-1135)
  • 增加高级遍历函数shortest path、K-neighbor,K-out和按id列表批量查询顶点(HugeGraph-944)
  • init-store.sh增加超时重试机制(HugeGraph-1150)
  • 将边表拆分两个表:OUT表、IN表(HugeGraph-1002)
  • 限制顶点ID最大长度为128字节(HugeGraph-1168)
  • Cassandra通过压缩数据(可配置snappy、lz4)进行优化(HugeGraph-428)
  • 支持IN和OR操作(HugeGraph-137)
  • 支持RocksDB并行写多个磁盘(HugeGraph-1177)
  • MySQL通过批量插入进行性能优化(HugeGraph-1188)

BUG修复

  • Kryo系列化多线程时异常(HugeGraph-1066)
  • RocksDB索引内容中重复写了两次elem-id(HugeGraph-1094)
  • SnowflakeIdGenerator.instance在多线程环境下可能会初始化多个实例(HugeGraph-1095)
  • 如果查询边的顶点但顶点不存在时,异常信息不够明确(HugeGraph-1101)
  • RocksDB配置了多个图时,init-store失败(HugeGraph-1151)
  • 无法支持 Date 类型的属性值(HugeGraph-1165)
  • 创建了系统内部索引,但无法根据其进行搜索(HugeGraph-1167)
  • 拆表后根据label删除边时,edge-in表中的记录未被删除成功(HugeGraph-1182)

测试

  • 增加配置项:vertex.force_id_string,跑 tinkerpop 测试时打开(HugeGraph-1069)

内部修改

  • common库OptionChecker增加allowValues()函数用于枚举值(HugeGraph-1075)
  • 清理无用、版本老旧的依赖包,减少打包的压缩包的大小(HugeGraph-1078)
  • HugeConfig通过文件路径构造时,无法检查多次配置的配置项的值(HugeGraph-1079)
  • Server启动时可以支持智能分配最大内存(HugeGraph-1154)
  • 修复Mac OS因为不支持free命令导致无法启动server的问题(HugeGraph-1154)
  • 修改配置项的注册方式为字符串式,避免直接依赖Backend包(HugeGraph-1171)
  • 增加StoreDumper工具以查看后端存储的数据内容(HugeGraph-1172)
  • Jenkins把所有与内部服务器有关的构建机器信息都参数化传入(HugeGraph-1179)
  • 将RestClient移到common模块,令server和client都依赖common(HugeGraph-1183)
  • 增加配置项dump工具ConfDumper(HugeGraph-1193)

9 - HugeGraph 0.4.4 Release Notes

API & Java Client

功能更新

  • HugeGraph-Server支持WebSocket,能用Gremlin-Console连接使用;并支持直接编写groovy脚本调用Core的代码(HugeGraph-977)
  • 适配Schema-id(HugeGraph-1038)

BUG修复

  • hugegraph-0.3.3:删除vertex的属性,body中properties=null,返回500,空指针(HugeGraph-950)
  • hugegraph-0.3.3: graph.schema().getVertexLabel() 空指针(HugeGraph-955)
  • HugeGraph-Client 中顶点和边的属性集合不是线程安全的(HugeGraph-1013)
  • 批量操作的异常信息无法打印(HugeGraph-1013)
  • 异常message提示可读性太差,都是用propertyKey的id显示,对于用户来说无法立即识别(HugeGraph-1055)
  • 批量新增vertex实体,有一个body体为null,返回500,空指针(HugeGraph-1056)
  • 追加属性body体中只包含properties,功能出现回退,抛出异常The label of vertex can’t be null(HugeGraph-1057)
  • HugeGraph-Client适配:PropertyKey的DateType中Timestamp替换成Date(HugeGraph-1059)
  • 创建IndexLabel时baseValue为空会报出500错误(HugeGraph-1061)

Core

功能更新

  • 实现上层独立事务管理,并兼容tinkerpop事务规范(HugeGraph-918、HugeGraph-941)
  • 完善memory backend,可以通过API正确访问,且适配了tinkerpop事务(HugeGraph-41)
  • 增加RocksDB后端存储驱动框架(HugeGraph-929)
  • RocksDB数字索引range-query实现(HugeGraph-963)
  • 为所有的schema增加了id,并将各表原依赖name的列也换成id(HugeGraph-589)
  • 填充query key-value条件时,value的类型如果不匹配key定义的类型时需要转换为该类型(HugeGraph-964)
  • 统一各后端的offset、limit实现(HugeGraph-995)
  • 查询顶点、边时,Core支持迭代方式返回结果,而非一次性载入内存(HugeGraph-203)
  • memory backend支持range query(HugeGraph-967)
  • memory backend的secondary的支持方式从遍历改为IdQuery(HugeGraph-996)
  • 联合索引支持复杂的(只要逻辑上可以查都支持)多种索引组合查询(HugeGraph-903)
  • Schema中增加存储用户数据的域(map)(HugeGraph-902)
  • 统一ID的解析及系列化(包括API及Backend)(HugeGraph-965)
  • RocksDB没有keyspace概念,需要完善对多图实例的支持(HugeGraph-973)
  • 支持Cassandra设置连接用户名密码(HugeGraph-999)
  • Schema缓存支持缓存所有元数据(get-all-schema)(HugeGraph-1037)
  • 目前依然保持schema对外暴露name,暂不直接使用schema id(HugeGraph-1032)
  • 用户传入ID的策略的修改为支持String和Number(HugeGraph-956)

BUG修复

  • 删除旧的前缀indexLabel时数据库中的schemaLabel对象还有残留(HugeGraph-969)
  • HugeConfig解析时共用了公共的Option,导致不同graph的配置项有覆盖(HugeGraph-984)
  • 数据库数据不兼容时,提示更加友好的异常信息(HugeGraph-998)
  • 支持Cassandra设置连接用户名密码(HugeGraph-999)
  • RocksDB deleteRange end溢出后触发RocksDB assert错误(HugeGraph-971)
  • 允许根据null值id进行查询顶点/边,返回结果为空集合(HugeGraph-1045)
  • 内存中存在部分更新数据未提交时,搜索结果不对(HugeGraph-1046)
  • g.V().hasLabel(XX)传入不存在的label时报错: Internal Server Error and Undefined property key: ‘~label’(HugeGraph-1048)
  • gremlin获取的的schema只剩下名称字符串(HugeGraph-1049)
  • 大量数据情况下无法进行count操作(HugeGraph-1051)
  • RocksDB持续插入6~8千万条边时卡住(HugeGraph-1053)
  • 整理属性类型的支持,并在BinarySerializer中使用二进制格式系列化属性值(HugeGraph-1062)

测试

  • 增加tinkerpop的performance测试(HugeGraph-987)

内部修改

  • HugeFactory打开同一个图(name相同者)时,共用HugeGraph对象即可(HugeGraph-983)
  • 规范索引类型命名secondary、range、search(HugeGraph-991)
  • 数据库数据不兼容时,提示更加友好的异常信息(HugeGraph-998)
  • IO部分的 gryo 和 graphson 的module分开(HugeGraph-1041)
  • 增加query性能测试到PerfExample中(HugeGraph-1044)
  • 关闭gremlin-server的metric日志(HugeGraph-1050)

10 - HugeGraph 0.3.3 Release Notes

API & Java Client

功能更新

  • 为vertex-label和edge-label增加可空属性集合,允许在create和append时指定(HugeGraph-245)
  • 配合core的功能为用户提供tinkerpop variables RESTful API(HugeGraph-396)
  • 支持顶点/边属性的更新和删除(HugeGraph-894)
  • 支持顶点/边的条件查询(HugeGraph-919)

BUG修复

  • HugeGraph-API接收的RequestBody为null或"“时抛出空指针异常(HugeGraph-795)
  • 为HugeGraph-API添加输入参数检查,避免抛出空指针异常(HugeGraph-796 ~ HugeGraph-798,HugeGraph-802,HugeGraph-808 ~ HugeGraph-814,HugeGraph-817,HugeGraph-823,HugeGraph-860)
  • 创建缺失outV-label 或者 inV-label的实体边,依然能够被创建成功,不符合需求(HugeGraph-835)
  • 创建vertex-label和edge-label时可以任意传入index-names(HugeGraph-837)
  • 创建index,base-type=“VERTEX”等值(期望VL、EL),返回500(HugeGraph-846)
  • 创建index,base-type和base-value不匹配,提示不友好(HugeGraph-848)
  • 删除已经不存在的两个实体之间的关系,schema返回204,顶点和边类型的则返回404(期望统一为404)(HugeGraph-853,HugeGraph-854)
  • 给vertex-label追加属性,缺失id-strategy,返回信息有误(HugeGraph-861)
  • 给edge-label追加属性,name缺失,提示信息有误(HugeGraph-862)
  • 给edge-label追加属性,source-label为“null”,提示信息有误(HugeGraph-863)
  • 查询时的StringId如果为空字符串应该抛出异常(HugeGraph-868)
  • 通Rest API创建两个顶点之间的边,在studio中通过g.V()则刚新创建的边则不显示,g.E()则能够显示新创建的边(HugeGraph-869)
  • HugeGraph-Server的内部错误500,不应该将stack trace返回给Client(HugeGraph-879)
  • addEdge传入空的id字符串时会抛出非法参数异常(HugeGraph-885)
  • HugeGraph-Client 的 Gremlin 查询结果在解析 Path 时,如果不包含Vertex/Edge会反序列化异常(HugeGraph-891)
  • 枚举HugeKeys的字符串变成小写字母加下划线,导致API序列化时字段名与类中变量名不一致,进而序列化失败(HugeGraph-896)
  • 增加边到不存在的顶点时返回404(期望400)(HugeGraph-922)

Core

功能更新

  • 支持对顶点/边属性(包括索引列)的更新操作(HugeGraph-369)
  • 索引field为空或者空字符串的支持(hugegraph-553和hugegraph-288)
  • vertex/edge的属性一致性保证推迟到实际要访问属性时(hugegraph-763)
  • 增加ScyllaDB后端驱动(HugeGraph-772)
  • 支持tinkerpop的hasKey、hasValue查询(HugeGraph-826)
  • 支持tinkerpop的variables功能(HugeGraph-396)
  • 以“~”为开头的为系统隐藏属性,用户不可以创建(HugeGraph-842)
  • 增加Backend Features以兼容不同后端的特性(HugeGraph-844)
  • 对mutation的update可能出现的操作不直接抛错,进行细化处理(HugeGraph-887)
  • 对append到vertex-label/edge-label的property检查,必须是nullable的(HugeGraph-890)
  • 对于按照id查询,当有的id不存在时,返回其余存在的对象,而非直接抛异常(HugeGraph-900)

BUG修复

  • Vertex.edges(Direction.BOTH,…) assert error(HugeGraph-661)
  • 无法支持在addVertex函数中对同一property(single)多次赋值(HugeGraph-662)
  • 更新属性时不涉及更新的索引列会丢失(HugeGraph-801)
  • GraphTransaction中的ConditionQuery需要索引查询时,没有触发commit,导致查询失败(HugeGraph-805)
  • Cassandra不支持query offset,查询时limit=offset+limit取回所有记录后过滤(HugeGraph-851)
  • 多个插入操作加上一个删除操作,插入操作会覆盖删除操作(HugeGraph-857)
  • 查询时的StringId如果为空字符串应该抛出异常(HugeGraph-868)
  • 元数据schema方法只返回 hidden 信息(HugeGraph-912)

测试

  • tinkerpop的structure和process测试使用不同的keyspace(HugeGraph-763)
  • 将tinkerpop测试和unit测试添加到流水线release-after-merge中(HugeGraph-763)
  • jenkins脚本分离各阶段子脚本,修改项目中的子脚本即可生效构建(HugeGraph-800)
  • 增加clear backends功能,在tinkerpop suite运行完成后清除后端(HugeGraph-852)
  • 增加BackendMutation的测试(HugeGraph-801)
  • 多线程操作图时可能抛出NoHostAvailableException异常(HugeGraph-883)

内部修改

  • 调整HugeGraphServer和HugeGremlinServer启动时JVM的堆内存初始为256M,最大为2048M(HugeGraph-218)
  • 创建Cassandra Table时,使用schemaBuilder代替字符串拼接(hugegraph-773)
  • 运行测试用例时如果初始化图失败(比如数据库连接不上),clear()报错(HugeGraph-910)
  • Example抛异常 Need to specify a readable config file rather than…(HugeGraph-921)
  • HugeGraphServer和HugeGreminServer的缓存保持同步(HugeGraph-569)

11 - HugeGraph 0.2 Release Notes

API & Java Client

功能更新

0.2版实现了图数据库基本功能,提供如下功能:

元数据(Schema)

顶点类型(Vertex Label)

  • 创建顶点类型
  • 删除顶点类型
  • 查询顶点类型
  • 增加顶点类型的属性

边类型(Edge Label)

  • 创建边类型
  • 删除边类型
  • 查询边类型
  • 增加边类型的属性

属性(Property Key)

  • 创建属性
  • 删除属性
  • 查询属性

索引(Index Label)

  • 创建索引
  • 删除索引
  • 查询索引

元数据检查

  • 元数据依赖的其它元数据检查(如Vertex Label依赖Property Key)
  • 数据依赖的元数据检查(如Vertex依赖Vertex Label)

图数据

顶点(Vertex)

  • 增加顶点

  • 删除顶点

  • 增加顶点属性

  • 删除顶点属性(必须为非索引列)

  • 批量插入顶点

  • 查询

  • 批量查询

  • 顶点ID策略

    • 用户指定ID(字符串)
    • 用户指定某些属性组合作为ID(拼接为可见字符串)
    • 自动生成ID

边(Edge)

  • 增加边
  • 增加多条同类型边到指定的两个节点(SortKey)
  • 删除边
  • 增加边属性
  • 删除边属性(必须为非索引列)
  • 批量插入边
  • 查询
  • 批量查询

顶点/边属性

  • 属性类型支持

    • text
    • boolean
    • byte、blob
    • int、long
    • float、double
    • timestamp
    • uuid
  • 支持单值属性

  • 支持多值属性:List、Set(注意:非嵌套属性

事务

  • 原子性级别保证(依赖后端
  • 自动提交事务
  • 手动提交事务
  • 并行事务

索引

索引类型

  • 二级索引
  • 范围索引(数字类型)

索引操作

  • 为指定类型的顶点/边创建单列索引(不支持List或Set列创建索引)
  • 为指定类型的顶点/边创建复合索引(不支持List或Set列创建索引,复合索引为前缀索引)
  • 删除指定类型顶点/边的索引(部分或全部索引均可)
  • 重建指定类型顶点/边的索引(部分或全部索引均可)

查询/遍历

  • 列出所有元数据、图数据(支持Limit,不支持分页)

  • 根据ID查询元数据、图数据

  • 根据指定属性的值查询图数据

  • 根据指定属性的值范围查询图数据(属性必须为数字类型)

  • 根据指定顶点/边类型、指定属性的值查询顶点/边

  • 根据指定顶点/边类型、指定属性的值范围查询顶点(属性必须为数字类型)

  • 根据顶点类型(Vertex Label)查询顶点

  • 根据边类型(Edge Label)查询边

  • 根据顶点查询边

    • 查询顶点的所有边
    • 查询顶点的指定方向边(出边、入边)
    • 查询顶点的指定方向、指定类型边
    • 查询两个顶点的同类型边中的某条边(SortKey)
  • 标准Gremlin遍历

缓存

可缓存内容

  • 元数据缓存
  • 顶点缓存

缓存特性

  • LRU策略
  • 高性能并发访问
  • 支持超时过期机制

接口(RESTful API)

  • 版本号接口
  • 图实例接口
  • 元数据接口
  • 图数据接口
  • Gremlin接口

更多细节详见API文档

后端支持

支持Cassandra后端

  • 持久化
  • CQL3
  • 集群

支持Memory后端(仅用于测试)

  • 非持久化
  • 部分特性无法支持(如:更新边属性、根据边类型查询边)

其它

支持配置项

  • 后端存储类型
  • 序列化方式
  • 缓存参数

支持多图实例

  • 静态方式(增加多个图配置文件

版本检查

  • 内部依赖包匹配版本检查
  • API匹配版本检查

12 - HugeGraph 0.2.4 Release Notes

API & Java Client

功能更新

元数据(Schema)相关

BUG修复

  • Vertex Label为非primary-key id策略应该允许属性为空(HugeGraph-651)
  • Gremlin-Server 序列化的 EdgeLabel 仅有一个directed 属性,应该打印完整的schema描述(HugeGraph-680)
  • 创建IndexLabel时使用不存在的属性抛出空指针异常,应该抛非法参数异常(HugeGraph-682)
  • 创建schema如果已经存在并指定了ifNotExist时,结果应该返回原来的对象(HugeGraph-694)
  • 由于EdgeLabel的Frequency默认为null以及不允许修改特性,导致Append操作传递null值在API层反序列化失败(HugeGraph-729)
  • 增加对schema名称的正则检查配置项,默认不允许为全空白字符(HugeGraph-727)
  • 中文名的schema在前端显示为乱码(HugeGraph-711)

图数据(Vertex、Edge)相关

功能更新

  • DataType支持Array,并且List类型除了一个一个添加object,也需要支持直接赋值List对象(HugeGraph-719)
  • 自动生成的顶点id由十进制改为十六进制(字符串存储时)(HugeGraph-785)

BUG修复

  • HugeGraph-API的VertexLabel/EdgeLabel API未提供eliminate接口(HugeGraph-614)
  • 增加非primary-key id策略的顶点时,如果属性为空无法插入到数据库中(HugeGraph-652)
  • 使用HugeGraph-Client的gremlin发送无返回值groovy请求时,由于gremlin-server将无返回值序列化为null,导致前端迭代结果集时出现空指针异常(HugeGraph-664)
  • RESTful API在没有找到对应id的vertex/edge时返回500(HugeGraph-734)
  • HugeElement/HugeProperty的equals()与tinkerpop不兼容(HugeGraph-653)
  • HugeEdgeProperty的property的equals函数与tinkerpop兼容 (HugeGraph-740)
  • HugeElement/HugeVertexProperty的hashcode函数与tinkerpop不兼容(HugeGraph-728)
  • HugeVertex/HugeEdge的toString函数与tinkerpop不兼容(HugeGraph-665)
  • 与tinkerpop的异常不兼容,包括IllegalArgumentsException和UnsupportedOperationException(HugeGraph-667)
  • 通过id无法找到element时,抛出的异常类型与tinkerpop不兼容(HugeGraph-689)
  • vertex.addEdge没有检查properties的数目是否为2的倍数(HugeGraph-716)
  • vertex.addEdge()时,assignId调用时机太晚,导致vertex的Set中有重复的edge(HugeGraph-666)
  • 查询时包含大于等于三层逻辑嵌套时,会抛出ClassCastException,现改成抛出非法参数异常(HugeGraph-481)
  • 边查询如果同时包含source-vertex/direction和property作为条件,查询结果错误(HugeGraph-749)
  • HugeGraph-Server 在运行时如果 cassandra 宕掉,插入或查询操作时会抛出DataStax的异常以及详细的调用栈(HugeGraph-771)
  • 删除不存在的 indexLabel 时会抛出异常,而删除其他三种元数据(不存在的)则不会(HugeGraph-782)
  • 当传给EdgeApi的源顶点或目标顶点的id非法时,会因为查询不到该顶点向客户端返回404状态码(HugeGraph-784)
  • 提供内部使用获取元数据的接口,使SchemaManager仅为外部使用,当获取不存在的schema时抛出NotFoundException异常(HugeGraph-743)
  • HugeGraph-Client 创建/添加/移除 元数据都应该返回来自服务端的结果(HugeGraph-760)
  • 创建HugeGraph-Client时如果输入了错误的主机会导致进程阻塞,无法响应(HugeGraph-718)

查询、索引、缓存相关

功能更新

  • 缓存更新更加高效的锁方案(HugeGraph-555)
  • 索引查询增加支持只有一个元素的IN语句(原来仅支持EQ)(HugeGraph-739)

BUG修复

  • 防止请求数据量过大时服务本身hang住(HugeGraph-777)

其它

功能更新

  • 使Init-Store仅用于初始化数据库,清空后端由独立脚本实现(HugeGraph-650)

BUG修复

  • 单元测试跑完后在测试机上遗留了临时的keyspace(HugeGraph-611)
  • Cassandra的info日志信息过多,将大部分修改为debug级别(HugeGraph-722)
  • EventHub.containsListener(String event)判断逻辑有遗漏(HugeGraph-732)
  • EventHub.listeners/unlisten(String event)当没有对应event的listener时会抛空指针异常(HugeGraph-733)

测试

Tinkerpop合规测试

  • 增加自定义ignore机制,规避掉暂时不需要加入持续集成的测试用例(HugeGraph-647)
  • 为TestGraph注册GraphSon和Kryo序列化器,实现 IdGenerator$StringId 的 graphson-v1、graphson-v2 和 Kryo的序列化与反序列化(HugeGraph-660)
  • 增加了可配置的测试用例过滤器,使得tinkerpop测试可以用在开发分支和发布分支的回归测试中
  • 将tinkerpop测试通过配置文件,加入到回归测试中

单元测试

  • 增加Cache及Event的单元测试(HugeGraph-659)
  • HugeGraph-Client 增加API的测试(99个)
  • HugeGraph-Client 增加单元测试,包括RestResult反序列化的单测(12个)

内部修改

  • 改进LOG变量方面代码(HugeGraph-623/HugeGraph-631)
  • License格式调整(HugeGraph-625)
  • 将序列化器中持有的graph抽离,要用到graph的函数通过传参数实现 (HugeGraph-750)
+Click here to print.

Return to the regular view of this page.

CHANGELOGS

1 - HugeGraph 0.12 Release Notes

API & Client

接口更新

其它修改

Core & Server

功能更新

BUG修复

配置项修改:

其它修改

Loader

Tools

2 - HugeGraph 1.0.0 Release Notes

TODO: translate this article to Chinese

Server (API & Client)

接口更新

其它修改

Core & Server

功能更新

BUG修复

配置项修改:

其它修改

Toolchain

Computer

Commons

3 - HugeGraph 0.11 Release Notes

API & Client

功能更新

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

内部修改

4 - HugeGraph 0.10 Release Notes

API & Client

功能更新

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

内部修改

5 - HugeGraph 0.9 Release Notes

API & Client

功能更新

BUG修复

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

6 - HugeGraph 0.8 Release Notes

API & Client

功能更新

BUG修复

内部修改

Core

功能更新

BUG修复

内部修改

其它

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

7 - HugeGraph 0.7 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

内部修改

Loader

功能更新

BUG修复

内部修改

Tools

功能更新

BUG修复

Studio

BUG修复

8 - HugeGraph 0.6 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

Tools

功能更新

BUG修复

Loader

功能更新

BUG修复

9 - HugeGraph 0.5 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

10 - HugeGraph 0.4.4 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

11 - HugeGraph 0.3.3 Release Notes

API & Java Client

功能更新

BUG修复

Core

功能更新

BUG修复

测试

内部修改

12 - HugeGraph 0.2 Release Notes

API & Java Client

功能更新

0.2版实现了图数据库基本功能,提供如下功能:

元数据(Schema)

顶点类型(Vertex Label)

边类型(Edge Label)

属性(Property Key)

索引(Index Label)

元数据检查

图数据

顶点(Vertex)

边(Edge)

顶点/边属性

事务

索引

索引类型

索引操作

查询/遍历

缓存

可缓存内容

缓存特性

接口(RESTful API)

更多细节详见API文档

后端支持

支持Cassandra后端

支持Memory后端(仅用于测试)

其它

支持配置项

支持多图实例

版本检查

13 - HugeGraph 0.2.4 Release Notes

API & Java Client

功能更新

元数据(Schema)相关

BUG修复

图数据(Vertex、Edge)相关

功能更新

BUG修复

查询、索引、缓存相关

功能更新

BUG修复

其它

功能更新

BUG修复

测试

Tinkerpop合规测试

单元测试

内部修改

diff --git a/cn/docs/changelog/hugegraph-0.10.4-release-notes/index.html b/cn/docs/changelog/hugegraph-0.10.4-release-notes/index.html index 7046fc179..fa7401c59 100644 --- a/cn/docs/changelog/hugegraph-0.10.4-release-notes/index.html +++ b/cn/docs/changelog/hugegraph-0.10.4-release-notes/index.html @@ -4,7 +4,7 @@ 支持 HugeGraphServer 服务端内存紧张时返回错误拒绝请求 (hugegraph #476) 支持 API 白名单和 HugeGraphServer GC 频率控制功能 (hugegraph #522) 支持 Rings API …"> -