profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ClSlaid/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
ClSlaid NERV East Asia https://clslaid.icu Too weak to be a developer.

ClSlaid/PY_FinalWorks 4

PYTHON homework

ClSlaid/ModelWarmingUp 2

Modeling Warming Up for 2020 MCM

ClSlaid/6.S081 1

6.S081 Labs

ClSlaid/doggy_encrypt 1

A small CLI application encrypts text easily, writtern in rust.

ClSlaid/Alight 0

Codes for the Alight project.

ClSlaid/antSword 0

AntSword is a cross-platform website management toolkit.

ClSlaid/archcraft 0

// Source : ISO

ClSlaid/blog 0

try to deploy blog with GitHub repository

ClSlaid/blog-theme 0

theme for clslaid.icu

ClSlaid/bspwm-dotfiles 0

My Arch+Bspwm dotfiles

issue commentarchcraft-os/archcraft

Add CJK fonts and input methods

Can be installed explicitly. Though could be installed explicitly, if the distro set locale to East Asia countries and areas on installation, local language characters will be displayed as squares. I still suggest including CJK-fonts in your distro. Chinese Version: □□□□□□□, □□,□□□□□□□□□(□□/□□),□□□□□□"□"□□□□. □□,□□□□□□.

ClSlaid

comment created time in 4 days

push eventClSlaid/nvimdots

ayamir

commit sha a76decf6ddb88fc5d92e2a56a04e9798aad98e61

[plugin] disable vim-go by default.

view details

ayamir

commit sha d1f2e2ee752ffe80f0a925ede3c759a53e914d6d

[plugin] enable orgmode for cmp.

view details

ayamir

commit sha b8b653623113284936cf965bd13d7d3aed134bb0

[readme] update shots.

view details

ayamir

commit sha ac386eb51076249d58fd9427c023e6315d159b13

[license] change to MIT.

view details

ayamir

commit sha 8dcea645f6db43a5b7e8597372f6574fd5f54c49

[core] disable plugins.

view details

ayamir

commit sha cbe59f051b4a913fcdc014664ce32b37c3b0f577

[plugin] fix wilder's config.

view details

ayamir

commit sha fa7a1f1f28f86090d35e270c513ef425479d3b5b

[plugin] fix #25.

view details

1096015776

commit sha 1fe65534ca721e194b0c9387e8cd000b13106e49

fix comment-ts-context-commentstring

view details

ayamir

commit sha 12c0edf12524314752573cf73eb1fe1b3cb5ef37

Merge pull request #28 from 1096015776/main fix comment-ts-context-commentstring

view details

ayamir

commit sha 57a6f8d8c890e35caa15a79cade0d273465e945e

[lspconfig] reduce duplicated code block.

view details

ayamir

commit sha ac9b9c4c5b03223966a84103c8578c0209c4c578

Merge branch 'main' of https://github.com/ayamir/nvimdots

view details

ayamir

commit sha 39c34b1db2bb7b7173fa2d26ceeb3345b75e3348

[lsp] add clangd custom config.

view details

ayamir

commit sha 930e81e8760bedf790d1596b68f1c2cafe63d364

docs: update

view details

ayamir

commit sha 1f7a2951bdfdd549cc246406d52e991e426e6848

docs: update ignore

view details

ayamir

commit sha efb9e4380af12e8c6e2d6483b2d426a91f1b5cf8

[plugin] use context explicitly.

view details

ayamir

commit sha 0124f91ed84b321bcd4d18f768a12e7c5c9726f7

[plugin] update dapui's api name.

view details

ayamir

commit sha cfaea09aac8fe84f570e3ee75197f68faf22880a

fix(gitsign): update api name.

view details

ayamir

commit sha c9a3c3e94c6da9babeeac26305ad7666ea9d5a1a

fix(options): fix #31.

view details

ayamir

commit sha 5cb0ba579c5bc54b7f47923533b62e6a61dfd5c5

[option] wrap=true

view details

ClSlaid

commit sha 85b95930882e2aa050faee2f3865d68761ca85dd

[lang]: support racket Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in 14 days

startedasvetliakov/vscode-neovim

started time in 25 days

issue openedkabouzeid/nvim-lspinstall

[language]: add support for racket language

could you please add language server for racket language? thanks!

created time in a month

push eventClSlaid/nvimdots

ayamir

commit sha 7b5f2814eb56871aac73f8c3968d8de250730482

[event] support fcitx5 auto switch.

view details

ayamir

commit sha 75572c7d6d8ec8fa6004238de4e33d99e2deb854

[event] disable fcitx5 switch default.

view details

ayamir

commit sha ff2e3d8ee7784a45eac6804948bbb062fa5d7a41

[ui] enable webdevicon on start.

view details

ayamir

commit sha f863e42ebacd08e8cc4547e179c7374c7ea484eb

[ui] remove icon for lualine diff flags.

view details

ayamir

commit sha 2b928fc2f9bff5868c74c84f7fbbb4b7043e40fc

[editor] add treesitter-context.

view details

ayamir

commit sha 72104f7d3feda3b69f35dcaed2d04f70bf6ed1bb

[editor] add config for treesitter-textobject.

view details

ayamir

commit sha 22b56d471ecd055e6f3d51bcc39bdf11b828b965

[editor] modify treesitter-textobject keymap.

view details

ayamir

commit sha e4987acd45f6cbb35d40d4af982f61361f7a33c3

[keymap] update imap <C-h> <C-l> <C-j> <C-k>.

view details

ayamir

commit sha 331d3b22b1755f970d3d639496a4631f8f1cebd7

[keymap] update.

view details

ayamir

commit sha 96b2c9ef4acbba993800bb9fb444af7f9df2610e

[plugin] remove vim-slash to fix gd error.

view details

ayamir

commit sha 2d6f3172d31f18cef5946593256a24a0f19d473c

[readme] update.

view details

ayamir

commit sha 6802e150e08b853fa57b025a5c2193d812cdccd5

[readme] add yarn for markdown-preview.

view details

ayamir

commit sha 0ac90a031093332d546a7af3da95cb4e58f36f03

[mapping] add set hls! as F3.

view details

ayamir

commit sha 4773a42ba18254438b0dad5ea23226fa193f48c1

[tools] add sniprun.

view details

ayamir

commit sha 9bc3f784fca9fc3dac1d81e1179589ca406c6228

Merge pull request #9 from ayamir/develop [tools] add sniprun and its keymap.

view details

ayamir

commit sha 33c820cb3d7987a4a70f716c1a8c7468968662c1

[lang] update lang tools configuration.

view details

ayamir

commit sha 19f8b855934843116360b271987ee3057de2c1ab

[lang] remove invaild settings.

view details

ayamir

commit sha 097cdab2493634e4137dcfb620def1bbb742ebd9

[plugin] add wilder.nvim.

view details

ayamir

commit sha 04714f08d8d724e8a0c12d51e3ab1bc784498b38

[readme] update plugins list.

view details

ayamir

commit sha bab2eaa50aac7d57038e042e6b6baae5cd348128

[option] remove onemore option.

view details

push time in a month

push eventClSlaid/nvimdots

ClSlaid

commit sha 89455163103b2d8c1e1faf3ef0fe359fbd5dfe23

[LICENSE] merge LICENSE Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

push eventClSlaid/nvimdots

ayamir

commit sha e6591bf150c1b240460f77a78f17b9338103d416

[readme] update plugins

view details

ayamir

commit sha e68788425640781ce9896499aef897785c71666b

[plugin] change dashboard session path

view details

ayamir

commit sha 074ce6d248d5032491c4ab718f051629b05be7af

[plugin] rename configs

view details

ayamir

commit sha 67298781e8b494b1a319d24cf8deb0fd34f1532e

[readme] update shots.

view details

ayamir

commit sha 03ee58f43c7ff7d8381d75c532b8f5fa1ce3b323

Merge pull request #2 from ayamir/lua Lua

view details

ayamir

commit sha a5b8ec04f3b871172758b76aba97bc8e7d9a4d76

[readme] update shots.

view details

ayamir

commit sha d07be30de54ae4fb504a000a6a009f64c27ba849

Merge pull request #3 from ayamir/lua [readme] update shots.

view details

ayamir

commit sha 147d3d19c4a189f27029fc83bc79f53dd6f12b99

[wallpaper] add rem.

view details

ayamir

commit sha c3e688da8469efcb769f3159a9c62a69465f716d

[readme] update shot.

view details

ayamir

commit sha 26d79e347aae32cbcdbe396e0c3bdb84ef9a98d1

[readme] update dependency.

view details

ayamir

commit sha 0350bbe6f89ae47928e6e5c53785cad421541f0e

[readme] update keybindings.

view details

ayamir

commit sha dfd68b087970be4a43809d40aac5dddd4316e1b2

[readme] update plugins

view details

ayamir

commit sha 7b39bf3bc89eb9c454bb6e5e076e5fe16fa51c2b

[init] add neovide's config.

view details

ayamir

commit sha 1adee8576dade571292f8ce1fd6e4b14d28131e3

[plugin] add footrt icon.

view details

ayamir

commit sha b8a286ad2023eb3289993b9c49391d59d349f1f1

[readme] add more prerequists Description.

view details

ayamir

commit sha 95f273de1551a8e41fcb583378bd3003597eba34

[init] update neovide's font

view details

ayamir

commit sha 53be565dc532066ca3c41cd4598fe72a5552503c

[init] disable auto neoformat when save.

view details

ayamir

commit sha fe18119c7de45fcc8a49467c9777ee24c79d0354

[init] enable neoformat

view details

ayamir

commit sha facbe6af7f52a55b919d06c1461a93da3b06a199

[plugin] add json toml yaml treesitter config

view details

ayamir

commit sha c7bfda0da84f6c74bd627dcdca41b7d5812f3337

[plugin] add Zen-Mode and Twilight for immersive experience.

view details

push time in a month

startedJmPotato/potatodb

started time in a month

startedshenzhengfang/kkndme_tianya

started time in a month

starteddouchuan/algorithm

started time in a month

issue openedpingcap/tidb

show processlist show point-get SQL as null.

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

<!-- a step by step guide for reproducing the bug. -->

  1. create test table in TiDB connect database test
create table if not exists t_point_get (
a bigint auto_increment,
b bigint not null,
c timestamp(6) default current_timestamp(6),
d decimal(48,3)
);
  1. Generate data and test with following golang code:
package main

import (
	"context"
	"database/sql"
	"fmt"
	"sync"
	"sync/atomic"
	"time"

	"github.com/go-sql-driver/mysql"
)

func prepareData(db *sql.DB) error {
	stmt, err := db.Prepare("Insert into t_point_get (b, d) values (?, ?);")
	if err != nil {
		fmt.Println("load error:", err)
		return err
	}
	for i := 0; i < 10000; i++ {
		_, err = stmt.Exec([]interface{}{i, i})
		if err != nil {
			fmt.Println("load error:", err)
			return err
		}
	}
	return nil
}

func main() {
	ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
	defer cancel()
	var counter int64
	ticker := time.NewTicker(time.Second)
	var wg sync.WaitGroup

	cfg := mysql.Config{
		User:                 "root",
		Passwd:               "",
		Net:                  "tcp",
		Addr:                 "127.0.0.1:4000",
		DBName:               "test",
		AllowNativePasswords: true,
	}
	db, err := sql.Open("mysql", cfg.FormatDSN())
	if err != nil {
		fmt.Println("connection error:", err)
		return
	}
	
        prepareData(db)

	stmt, err := db.Prepare("select * from t_point_get where a=?;")
	if err != nil {
		fmt.Println("prepared statement error:", err)
		return
	}

	for i := 0; i < 5; i++ {
		wg.Add(1)
		go func() {
			defer wg.Done()
			for {
				select {
				case <-ctx.Done():
					return
				case <-ticker.C:
					fmt.Println("query run", atomic.LoadInt64(&counter), "times")
				default:
				}
				atomic.AddInt64(&counter, 1)
				_, err = stmt.Exec([]interface{}{1}...)
				if err != nil {
					fmt.Println("exec error:", err)
					cancel()
				}
			}
		}()
	}
	wg.Wait()
}
  1. while running test, connect to TiDB and run show processlist

2. What did you expect to see? (Required)

All currently run SQLs are fully show in table.

Id User Host db Command Time State Info
12241 root 127.0.0.1:38774 test Sleep 0 autocommit select * from t_point_get where a = ?
12239 root 127.0.0.1:38770 test Sleep 0 autocommit select * from t_point_get where a = ?
1009 root 127.0.0.1:52196 test Query 0 autocommit show processlist
12243 root 127.0.0.1:38772 test Sleep 0 autocommit select * from t_point_get where a = ?
12221 root 127.0.0.1:38748 test Sleep 0 autocommit select * from t_point_get where a = ?
12233 root 127.0.0.1:38762 test Sleep 0 autocommit select * from t_point_get where a = ?

3. What did you see instead (Required)

Id User Host db Command Time State Info
12241 root 127.0.0.1:38774 test Sleep 0 autocommit < null >
12239 root 127.0.0.1:38770 test Sleep 0 autocommit < null >
1009 root 127.0.0.1:52196 test Query 0 autocommit show processlist
12243 root 127.0.0.1:38772 test Sleep 0 autocommit < null >
12221 root 127.0.0.1:38748 test Sleep 0 autocommit < null >
12233 root 127.0.0.1:38762 test Sleep 0 autocommit < null >

4. What is your TiDB version? (Required)

TiDB 5.1.1

| Release Version: v5.1.1\nEdition: Community\nGit Commit Hash: 797bddd25310ed42f0791c8eccb78be8cce2f502\nGit Branch: heads/refs/tags/v5.1.1\nUTC Build Time: 2021-07-28 11:00:26\nGoVersion: go1.16.4\nRace Enabled: false\nTiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306\nCheck Table Before Drop: false |

<!-- Paste the output of SELECT tidb_version() -->

created time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha 578fef7b7359e6e8a51c6d91bedb0c5a57fb2d9a

fix QPS logging Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

ClSlaid

commit sha b47fe8a4a12ff5350d10610a88837f36a7345d4c

Merge branch 'complete' of github.com:ClSlaid/loadgen into complete

view details

push time in a month

push eventClSlaid/loadgen

crazycs520

commit sha 0904a1cfa86ea881e13968afb875957cd75f753e

fix split region bug Signed-off-by: crazycs520 <crazycs520@gmail.com>

view details

ClSlaid

commit sha 8ba13bbba530a8f8a6371999f5ec7615dcd11b3a

Merge branch 'main' into complete

view details

push time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha 6b24cdc1986a23848aa7aaf5ea10041723918b30

Add QPS logging Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha b58c5741832f6d8eea42d626a734ef91c009f3bd

finish fix-update-key Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

PR opened crazycs520/loadgen

Complete payloads

adding payloads for loadgen

+1118 -229

0 comment

27 changed files

pr created time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha 3d13b0624efa8b094815344a7f59a776ac369587

finish write random Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha 8b75a3c4f44d49a0f232a08692310cf1898aa5ff

Add time and isBack option for BasicQuerySuite Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha 13dc48d8cc7beac83bc2f8d1b7d3ce72734b7b32

Add time and isBack option for BasicQuerySuite Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

create barnchClSlaid/loadgen

branch : complete

created branch time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha f634e157fd5ebef15068fa8851a5b6aa5c18e6b3

typo fix Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha a79303d1ff5a2f95897bb72de1dfc40f07a4f3c3

add timeout for payload: write-auto-inc Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in a month

push eventClSlaid/loadgen

ClSlaid

commit sha 41352c2a258c2cd2ee1d4e69a52b9c6be480af94

multithreaded write_auto_inc Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in 2 months

push eventClSlaid/loadgen

ClSlaid

commit sha 2110d38b938ebc7a6eeebd78e1ebac52de14dbd9

finish write_auto_inc Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in 2 months

PR opened crazycs520/loadgen

Change SQL direct execution into prepare statements

Change SQL direct execution into prepare statements, making benchmarks closer to DB's actual performance.

Deploy TiDB (v5.1.1) with TiUP and benchmark with loadgen payload rand-point-get. The former curve is benchmarked by the main branch and the following one is by PR. 图片

+627 -181

0 comment

23 changed files

pr created time in 2 months

startedesrrhs/pingtunnel

started time in 2 months

issue commentpingcap/tidb

Var tidb_stmt_summary_max_stmt_count does not work

this is a new row of records in statements summary, you can check #25031 for details. docs are on the way.

jingshanglu

comment created time in 2 months

push eventClSlaid/loadgen

ClSlaid

commit sha 92e7f9f37096391faba751d04030d434419c5052

adapt query tests into prepared query Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in 2 months

create barnchClSlaid/loadgen

branch : prepare

created branch time in 2 months

push eventClSlaid/loadgen

ClSlaid

commit sha abf6c8f3f3b401d58c9b10b65cc40a908c4585c1

correct package name Signed-off-by: ClSlaid <cailue@bupt.edu.cn>

view details

push time in 2 months