2019-08-03 20:31:37 Binary trees are defined recursively. A binary tree T is a structure defined on a finite set of nodes that either contains no node ...
分类:
其他好文 时间:
2019-08-03 21:31:34
阅读次数:
94
#查看shard分片中那个分片没有分配,以及它在那个Node上丢失分片了 # curl "localhost:9200/_cat/shards?v&pretty" # shard: 它表示index的分片编号 # prirep: 这是主分片和副本分片,其中:p: 表示主分片, r:表示副本分片 # ...
用户线程和守护线程 用户线程 用户线程执行完,jvm退出。守护线程还是可以跑的 用户线程优先权 例子 java package com.java.javabase.thread.base; import lombok.extern.slf4j.Slf4j; @Slf4j public class P ...
分类:
编程语言 时间:
2019-07-30 21:48:33
阅读次数:
129
解决: 查看开发脚本,一个脚本的单个事务中存在以下内容: insert插入到innodb表,update 更新的是mysaim表 。 联系开发sql拆分两个脚本 分开提交,问题解决。 ...
分类:
数据库 时间:
2019-07-30 16:03:32
阅读次数:
349
dubboe版本2.7.1 spring cloud alibaba最新官网examples 根据readme中说明文档依次启动 1、nacos,默认用户名密码nacos/nacos 2、启动spring-cloud-dubbo-server-sample,此时可以在nacos中看到发布的服务 3、 ...
分类:
其他好文 时间:
2019-07-29 17:44:40
阅读次数:
215
2019-07-29 09:01:06 A PARTY A company has n employees numbered from 1 to n. Each employee either has no immediate manager or exactly one immediate man ...
分类:
其他好文 时间:
2019-07-29 10:00:03
阅读次数:
124
1128. Number of Equivalent Domino Pairs 1128. Number of Equivalent Domino Pairs Given a list of dominoes, dominoes[i] = [a, b] is equivalent to domino ...
分类:
其他好文 时间:
2019-07-28 13:58:48
阅读次数:
102
In Scala, constructors other than the primary constructor are called auxiliary constructors. Auxiliary constructors in Scala start with def this(...). ...
分类:
其他好文 时间:
2019-07-28 13:40:08
阅读次数:
108
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he c ...
分类:
其他好文 时间:
2019-07-25 00:55:44
阅读次数:
150