Next: [Elasticsearch source] CCR source analysis (1).
The sendShardChangesRequest method finally enters shardchangesaction.transportaction ා shardoperation. According to the read request above, obtain all operations within the SEQ ﹣ no range of the Shard from the tralog, and return the latest operat ...
Posted on Tue, 21 Jan 2020 04:05:16 -0800 by superjoe30
·Virtualbox source code analysis 8: VM manager
In the code of VMM, there are various managers besides the VT-X virtualization framework. From the function vmR3InitRing3(), you can see the initialization functions of all managers
* Initializes all R3 components of the VM
static int vmR3 ...
Posted on Tue, 21 Jan 2020 03:58:13 -0800 by Canadiengland
1. According to the company's cloud plan, N sets of ES2.3 clusters in the current production environment need to be moved to the Alibaba cloud ES environment. However, due to the limited disk space in the production environment, the "source" is not enabled, so data migration cannot be performed through reindex. Here, you ...
Posted on Thu, 16 Jan 2020 09:04:05 -0800 by plouka
Source address: https://www.ev0l.art/index.php/archives/20/
A pattern that records the snapshot state of another class within one class. It can be used to jump back at the right time
There are three steps in the design memo:
Node of design record, storage record2. Storage of design records: vector list map set can make the list ...
Posted on Sun, 05 Jan 2020 14:53:04 -0800 by southofsomewhere
Getting and creating projects
# Create a Git code base in the current directory
$ git init
# Initialize to Git code base in the specified directory
$ git init [project-name]
# Download a project and its entire code history to the current path
$ git clone [url]
# Download a project a ...
Posted on Sun, 05 Jan 2020 12:50:46 -0800 by stockdalep
1, ES6 compatible issues
1. In the project, the Promise object of ES6 is used, and the code runs normally in Google browser. In the compatibility mode of 360 browser, IE kernel does not support Promise.
2. Support of ES6 promise found through can i use website https://caniuse.com/)
3. If the Promsie object is used in th ...
Posted on Fri, 03 Jan 2020 11:29:29 -0800 by Thrakorzog
The local cache data is generally cached in / sdcard / Android / data / < application package > / cache. Because it is stored in the SDK, it will not affect the memory space of the mobile phone. This is the application cache path recognized by the Android system. When the program is uninstalled, the data here will be clea ...
Posted on Wed, 01 Jan 2020 16:58:48 -0800 by bskauge
With the new keyword, heap memory is used when creating objects
Thread sharing, objects in the heap need to consider thread safety
There is garbage collection mechanism
Java Heap is the largest piece of memory managed by Java virtual machine, also known as "GC heap". It is a memory area shar ...
Posted on Mon, 30 Dec 2019 21:01:39 -0800 by Barkord
Learn how to use Redis with Spring Cloud and Spring Data to provide configuration servers, message brokers, and databases.
Redis can be widely used in microservice architecture. It may be one of the few popular software solutions that your application can leverage in many different ways. On request, it can act as a master database, cache, ...
Posted on Thu, 26 Dec 2019 02:45:41 -0800 by Twentyoneth
1. Purpose of the script
When the java process is alive, but there are serious exceptions, pseudo death, no response, etc., execute the dump.sh script, snapshot the current system and jvm information, and keep the problem site.
2. Script address
3. Execute demo
# Upload dump.sh file
mkdir -p /data/sh/java
Posted on Mon, 23 Dec 2019 07:03:15 -0800 by crickettdt