Skip to content

Commit

Permalink
Merge pull request #31 from dwusiq/dev-0.5
Browse files Browse the repository at this point in the history
Abandon log reporting module
  • Loading branch information
mingzhenliu authored Apr 30, 2019
2 parents 384688b + ccd0a28 commit 4805cf3
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 700 deletions.
20 changes: 0 additions & 20 deletions script/webase-ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -221,26 +221,6 @@ CREATE TABLE IF NOT EXISTS `tb_account_info` (



-- ----------------------------
-- Table structure for `tb_node_log`
-- ----------------------------
CREATE TABLE IF NOT EXISTS `tb_node_log` (
`log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志编号',
`node_id` int(11) NOT NULL COMMENT '所属节点',
`log_time` datetime NOT NULL COMMENT '日志产生时间',
`row_number` int(5) NOT NULL COMMENT '日志所在文件行号',
`file_name` varchar(50) NOT NULL COMMENT '日志文件名',
`log_msg` text NOT NULL COMMENT '日志内容',
`log_status` int(1) NOT NULL DEFAULT '1' COMMENT '记录状态(1有效,2无效)',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`modify_time` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`log_id`),
UNIQUE KEY `unique_node_row_time` (`node_id`,`row_number`,`log_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='节点错误日志信息表';






-- ----------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public class ConstantProperties {
// scheduler
private long nodeWaitMax = 180L;
private BigInteger blockRetainMax = new BigInteger("10000");
private int logRetainMax = 10000;
private BigInteger transRetainMax = new BigInteger("10000");
private String statisticsTransDailyCron = "0 0/1 * * * ?";// Execute once every minute
private String deleteInfoCron = "0 0/2 * * * ?";// Execute once every two minute
Expand Down
41 changes: 0 additions & 41 deletions src/main/java/com/webank/webase/node/mgr/logs/LatestLog.java

This file was deleted.

29 changes: 0 additions & 29 deletions src/main/java/com/webank/webase/node/mgr/logs/MinMaxRowNumber.java

This file was deleted.

This file was deleted.

This file was deleted.

37 changes: 0 additions & 37 deletions src/main/java/com/webank/webase/node/mgr/logs/NodeLogMapper.java

This file was deleted.

Loading

0 comments on commit 4805cf3

Please sign in to comment.