HerovNL
HerovNL
**Describe the bug** After put xxx.wav file with content type 'audio/wav',it failed to preview the wav file in console GUI. The popup dialog for wav file preview has audio play...
### Expected behavior 期望表现 系统全新环境,在scripts/empty-sample.groovy中添加注入的全局变量 def globals = [graph : hugegraph, g : hugegraph.traversal(), schema: hugegraph.schema()] 然后通过gremlin-console客户端连接hugegraph,此时系统只有这么一个客户端在连接,通过schema对象添加多条propertyKey,期望都能成功。 ### Actual behavior 实际表现 加到第三条时不成功,报“Can't operate a tx in other threads”、“There are still...
### Expected behavior 期望表现 (1)现有的hugegraph的session管理connection在空闲的情况下未及时得到释放,在一个backend数据库中加载多个graph的情况下,每个graph下面占用不少连接又不释放,多个graph将会消耗大量的连接资源,还要不停的重试连接可用性;建议直接引入DruidDataSource连接池; (2)Transaction与connection解耦:connection应该是ThreadLocal的,Transaction对应一系列的SQL或者操作,在运行态只被同一个线程从上到下从开始到执行完成,Transaction的起始时申请Connection放在本线程ThreadLocal中,中间使用Connection时例如根据SQL生成PreparedStatement、commit()之类从ThreadLocal可直接get到,相关的方法入参中不必每次再传递Connection参数,Transaction结束时释放connection退给连接池; ### Actual behavior 实际表现 (1)现有的hugegraph的session管理connection在空闲的情况下未及时得到释放 (2)现有的hugegraph的事务与connection没有解耦
### Expected behavior 期望表现 ApplicationConfig中GrapManagerFactory的provide()有时拿到null导致启动失败,为此项目中进行了如下修改: /** * Graph Manager Factory * */ public class GraphManagerFactory extends AbstractBinder implements Factory { private final HugeConfig hugeConfig; private volatile GraphManager manager = null;...
(1)dist子工程中start-hugegraph.sh中,请在如下两行中间直接加入防止重复启动的检测 . . . . . . PID_FILE=$BIN/pid . $BIN/util.sh . . . . . . 加入后的内容: . . . . . . PID_FILE=$BIN/pid if [[ -f "$PID_FILE" ]]; then...
(1)初始化数据库(bin/init_store.bat): ``` @echo off set LAST_PATH=%cd% cd /d %~dp0 cd .. set LIB_DIR=%cd%\lib cd %LAST_PATH% @java -classpath "%LIB_DIR%\*" com.baidu.hugegraph.cmd.InitStore %* ``` (2)启动hugegraph_server(bin/start_hugegraph.bat): ``` @echo off set LAST_PATH=%cd% cd /d %~dp0...