Skip to content

Instantly share code, notes, and snippets.

View vadimtk's full-sized avatar

Vadim Tkachenko vadimtk

View GitHub Profile
make run
export TF_LOG=TRACE && terraform apply -no-color 2>&1
2022/04/26 08:22:18 [INFO] Terraform version: 0.14.4
2022/04/26 08:22:18 [INFO] Go runtime version: go1.15.6
2022/04/26 08:22:18 [INFO] CLI args: []string{"/usr/bin/terraform", "apply", "-no-color"}
2022/04/26 08:22:18 [DEBUG] Attempting to open CLI config file: /home/vadim/.terraformrc
2022/04/26 08:22:18 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022/04/26 08:22:18 [DEBUG] checking for credentials in "/home/vadim/.terraform.d/plugins"
2022/04/26 08:22:18 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022/04/26 08:22:18 [DEBUG] will search for provider plugins in /home/vadim/.terraform.d/plugins
[16504] pxc.cluster1-pxc-1.mysqld-error.log: [1623435705.623879605, {"log"=>"2021-06-11T18:21:45.623861Z 0 [Note] [MY-000000] [Galera] ####### Passing WS 152091"}]
[16505] pxc.cluster1-pxc-1.mysqld-error.log: [1623435705.623910186, {"log"=>"2021-06-11T18:21:45.623879Z 0 [Note] [MY-000000] [Galera] ####### Passing WS 152092"}]
[16506] pxc.cluster1-pxc-1.mysqld-error.log: [1623435705.623910758, {"log"=>"2021-06-11T18:21:45.623898Z 0 [Note] [MY-000000] [Galera] ####### Passing WS 152093"}]
[16507] pxc.cluster1-pxc-1.mysqld-error.log: [1623435705.623944002, {"log"=>"2021-06-11T18:21:45.623930Z 0 [Note] [MY-000000] [Galera] ####### Passing WS 152094"}]
[16508] pxc.cluster1-pxc-1.mysqld-error.log: [1623435705.623975378, {"log"=>"2021-06-11T18:21:45.623950Z 0 [Note] [MY-000000] [Galera] ####### Passing WS 152095"}]
[16509] pxc.cluster1-pxc-1.mysqld-error.log: [1623435705.623975981, {"log"=>"2021-06-11T18:21:45.623970Z 0 [Note] [MY-000000] [Galera] ####### Passing WS 152096"}]
[16510] pxc.cluster1-pxc-1.mysqld-error.
[24] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611225111, {"log"=>"2021-06-11T15:01:10.611193Z 0 [Note] [MY-000000] [Galera] Quorum results:"}]
[25] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611226439, {"log"=>" version = 6,"}]
[26] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611227409, {"log"=>" component = PRIMARY,"}]
[27] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611228277, {"log"=>" conf_id = 32,"}]
[28] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611229295, {"log"=>" members = 2/3 (primary/total),"}]
[29] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611230283, {"log"=>" act_id = 62,"}]
[30] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611231248, {"log"=>" last_appl. = 23,"}]
[31] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611232219, {"log"=>" protocols = 2/10/4 (gcs/repl/appl),"}]
[32] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611233148, {"log"=>" vote policy= 0,"}]
[33] pxc.cluster1-pxc-0.mysqld-error.log: [1623423670.611234088, {"log"=>" group UUID =
kubectl logs percona-xtradb-cluster-operator-d99c748-7zxbt
{"level":"info","ts":1621359567.588477,"logger":"cmd","msg":"Runs on","platform":"kubernetes","version":"v1.21.1"}
{"level":"info","ts":1621359567.588623,"logger":"cmd","msg":"Git commit: 4e80366586138996191aacd7fe1f009eb8ae36c1 Git branch: release-1-8-0 Build time: 2021-04-22T13:22:59Z"}
{"level":"info","ts":1621359567.5886452,"logger":"cmd","msg":"Go Version: go1.16.3"}
{"level":"info","ts":1621359567.5886583,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1621359567.5886707,"logger":"cmd","msg":"operator-sdk Version: v0.17.1"}
{"level":"info","ts":1621359567.5889187,"logger":"leader","msg":"Trying to become the leader."}
I0518 17:39:28.633459 1 request.go:621] Throttling request took 1.034254953s, request: GET:https://10.96.0.1:443/apis/rbac.authorization.k8s.io/v1beta1?timeout=32s
{"level":"info","ts":1621359568.7602038,"logger":"leader","msg":"No pre-existing lock was found."}
{"level":"info","ts":1621359568.7633045,"
=== mongo.sh ===
docker rm -f db$2
rm -fr /mnt/data/mongo$2-$1
docker run -d --name db$2 \
-v /mnt/data/mongo$2-$1:/data/db \
--net=host \
mongo:$1 --replSet "rs$2" --port $(( 27016 + $2 )) --logpath /data/db/server1.log --slowms=10000
# --enableFlowControl=0
sleep 10
NVME, buffer pool 25GB
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 56
Report intermediate results every 1 second(s)
Initializing random number generator from current time
bash run_sock.sh
sysbench 1.0.19 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 64
Target transaction rate: 200000/sec
Report intermediate results every 10 second(s)
Initializing random number generator from current time
sysbench 1.0.19 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 64
Target transaction rate: 200000/sec
Report intermediate results every 10 second(s)
Initializing random number generator from current time
Initializing worker threads...

Percona LLC - Individual Contributor License Agreement ("Agreement")

Thank you for your interest in Percona LLC (Percona). In order to clarify the intellectual property license granted with Contributions from any person or entity, Percona must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Percona and its users; it does not change your rights to use your own Contributions for any other purpose. You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Percona. Except for the license granted herein to Percona and recipients of software distributed by Percona, You reserve all right, title, and interest in and to Your Contributions.

  1. Definitions. "You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement w
+ cat /proc/meminfo
MemTotal: 264032780 kB
MemFree: 146066612 kB
MemAvailable: 145261392 kB
Buffers: 58060 kB
Cached: 443524 kB
SwapCached: 960796 kB
Active: 111018000 kB
Inactive: 5340256 kB
Active(anon): 110793808 kB