[Bug] 使用postgre作为backend数据库创建了多个连接,且连接没有自动关闭

Open
#2,801 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
postgresql
Domain
databases

Research direction

Reproduce the report with HugeGraph 1.5.0 by starting the server with bin/start-hugegraph.sh and inspecting PostgreSQL connections, then stop it with bin/stop-hugegraph.sh for comparison. No source file or test is named; done means identifying why the connections remain open during operation and verifying that the expected connections are released without stopping HugeGraph.

Written by the indexing model from the issue text.

Description

bug
Bug Type (问题类型)

others (please edit later)

Before submit
  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
  • Server Version: 1.5.0 (Apache Release Version)
  • Backend: postgresql
  • OS: Ubuntu
  • Data Size: xx vertices, xx edges
Expected & Actual behavior (期望与实际表现)

bin/start-hugegraph.sh启动完hugegraph后, 数据库会出现很多连接,我这里是76个连接

这些连接没有被自动释放或关闭,只有我bin/stop-hugegraph.sh后才会关闭

Image

Vertex/Edge example (问题点 / 边数据举例)

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

Dominant language
Java
Stars
3.2k
Forks
637
Avg merge
3d 18h
Merged PRs (30d)
23

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/hugegraph

All issues in apache/hugegraph

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.