Skip to content

Instantly share code, notes, and snippets.

@ZhouXing19
Created January 17, 2024 17:55
Show Gist options
  • Save ZhouXing19/31905248b6653187f542640921a95a50 to your computer and use it in GitHub Desktop.
Save ZhouXing19/31905248b6653187f542640921a95a50 to your computer and use it in GitHub Desktop.
1 glog
2 gau
3 gfix 8c63b92
4 git add -u
5 git rebase --continue
6 fixproxylint && make gen
7 docker rm -f $(docker ps -a -q)
8 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
9 make run_orch
10 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
11 go build -o molt-lms-cli ./cli
12 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
13 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
14 ./molt-lms-cli cutover consistent begin
15 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
16 ./molt-lms-cli cutover consistent begin
17 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
18 ./molt-lms-cli cutover consistent commit
19 ./molt-lms-cli cutover consistent begin
20 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
21 gs
22 glog
23 git diff 106e062 5ec7248 > hello.diff ':!orchestrator/gen'
24 subl hello.diff
25 make run_orch
26 docker rm -f $(docker ps -a -q)
27 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
28 make run_orch
29 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
30 go build -o molt-lms-cli ./cli
31 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
32 gau
33 glog
34 gfix 9ff9276
35 glog
36 gs
37 glog
38 git diff 106e062 2c0831c > hello.diff ':!orchestrator/gen'
39 subl hello.diff
40 gau
41 glog
42 gfix 0477189
43 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
44 docker rm -f $(docker ps -a -q)
45 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
46 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
47 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
48 make run_orch
49 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
50 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
51 ./molt-lms-cli cutover consistent begin
52 go build -o molt-lms-cli ./cli
53 ./molt-lms-cli cutover consistent begin
54 ./molt-lms-cli cutover consistent commit
55 ./molt-lms-cli cutover consistent begin
56 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
57 ./molt-lms-cli cutover consistent begin
58 ma
59 make run_orch
60 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
61 ./molt-lms-cli cutover consistent begin
62 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
63 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
64 gs
65 glog
66 git checkout -
67 gau
68 git commit -m "worked test"
69 git reset 1833e18 --hard
70 fixproxylint && make gen
71 gs
72 gau
73 glog
74 gcan
75 git push upstream --force
76 glog
77 6df7d80
78 git checkout -
79 glog
80 glog 6df7d80
81 git cherry-pick 207673a
82 docker rm -f $(docker ps -a -q)
83 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
84 make run_orch
85 go build -o molt-lms-cli ./cli
86 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
87 ./molt-lms-cli cutover consistent begin
88 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
89 glog
90 docker rm -f $(docker ps -a -q)
91 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
92 make run_orch
93 go build -o molt-lms-cli ./cli
94 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
95 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
96 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
97 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
98 ./molt-lms-cli cutover consistent begin
99 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
100 docker rm -f $(docker ps -a -q)
101 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
102 make run_orch
103 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
104 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
105 ./molt-lms-cli cutover consistent begin
106 gay
107 gau
108 git commit -m "doesn't work"
109 glog
110 git reset 000af97 --hard
111 docker rm -f $(docker ps -a -q)
112 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
113 go build -o molt-lms-cli ./cli
114 make run_orch
115 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
116 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
117 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
118 ./molt-lms-cli cutover consistent begin
119 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
120 ./cockroach sql --insecure --database=defaultdb --user=admin
121 ./cockroach sql --insecure --database=_crdb_migrations
122 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
123 make run_orch
124 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
125 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
126 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
127 go build -o molt-lms-cli ./cli
128 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
129 ./molt-lms-cli cutover consistent begin
130 ./molt-lms-cli cutover consistent begin
131 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
132 make run_orch
133 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
134 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
135 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
136 ./molt-lms-cli cutover consistent begin
137 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
138 make run_orch
139 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
140 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
141 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
142 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
143 ./molt-lms-cli cutover consistent begin
144 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
145 ./molt-lms-cli cutover consistent begin
146 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
147 \q
148 glog
149 gs
150 git reglog
151 git reflog
152 git reset e2d97a7 --hard
153 glog
154 git reset 000af97
155 go build -o molt-lms-cli ./cli
156 make run_orch
157 make run_orch
158 go build -o molt-lms-cli ./cli
159 make run_orch
160 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
161 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
162 ./molt-lms-cli cutover consistent begin
163 ex
164 ./molt-lms-cli cutover consistent begin
165 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
166 ./molt-lms-cli cutover consistent begin
167 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
168 gau
169 git commit -m "split, work with shadow-none"
170 glog
171 rebasemain
172 glog 827ef08
173 git cherry-pick 151cee1
174 git cherry-pick 000af97
175 git cherry-pick 827ef08
176 rebasemain
177 git cherry-pick 827ef08
178 gau
179 git commit -m "split"
180 git cherry-pick 151cee1
181 gau
182 git cherry-pick --continue
183 fixproxylint && make gen
184 make gen && fixproxylint
185 glog
186 git reset 78a3719 --hard
187 gs
188 gau
189 glog
190 gfix 2796f0c
191 gti rebase --abort
192 glog
193 git reset 78a3719
194 gs
195 gau
196 gfix 78a37198
197 git cherry-pick 000af97
198 fixproxylint && make gen
199 gs
200 docker rm -f $(docker ps -a -q)
201 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
202 make run_orch
203 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
204 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
205 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
206 go build -o molt-lms-cli ./cli
207 ./molt-lms-cli cutover consistent begin
208 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
209 glog
210 rebasemain
211 git cherry-pick 207673a17ed8ac9c310570807a4af6cffff57b92
212 git cherry-pick -n 6df7d80fbdc9ce05234845bb7ae952c89a183baf
213 gau
214 gcan
215 glog
216 glog 2e59bee
217 git cherry-pick 29e96d9
218 gau
219 git cherry-pick --continue
220 git cherry-pick 2e59bee
221 docker rm -f $(docker ps -a -q)
222 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
223 make run_orch
224 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
225 go build -o molt-lms-cli ./cli
226 ./molt-lms-cli cutover consistent begin
227 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
228 git push upstream --force
229 fix
230 fixproxylint && make gen
231 gs
232 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=none
233 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
234 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
235 make run_orch
236 docker rm -f $(docker ps -a -q)
237 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
238 make run_orch
239 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
240 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
241 git checkout main
242 rebasemain
243 docker rm -f $(docker ps -a -q)
244 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
245 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
246 make run_orch
247 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
248 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
249 ./cockroach sql --insecure --database=defaultdb --user=admin
250 git checkout -
251 docker rm -f $(docker ps -a -q)
252 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
253 make run_orch
254 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=strict-sync
255 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
256 go build -o molt-lms-cli ./cli
257 ./molt-lms-cli cutover consistent begin
258 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
259 gau
260 gfix e2086bcc
261 git push upstream --force
262 curl --fail-with-body -o versions.txt -s 'https://molt.cockroachdb.com/lms/cli/versions.txt'
263 subl ./versions.txt
264 history | grep hea
265 git rebase -i HEAD~2
266 git rebase -i HEAD~3
267 git push upstream --force
268 rebasemain
269 gti checkout main
270 subl ~/.zshrc
271 alias mian='main'
272 git checkout mian
273 source ~/.zshrc
274 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=strict-sync
275 gchourmain
276 gchoutmain
277 source ~/.zshrc
278 gck ctrl-c-cutover-begin
279 gck -
280 subl ~/.zshrc
281 go b
282 go build -o molt-lms-cli ./cli
283 subl ~/.zshrc
284 source ~/.zshrc
285 rsorch
286 docker rm -f $(docker ps -a -q)
287 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
288 make run_orch
289 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
290 subl ~/.zshrc
291 git rebase main
292 rebasemain
293 gau
294 git commit -m ""
295 git commit -m "draft"
296 rebasemain
297 gau
298 gckb rwmutex-cutover-token
299 git commit
300 git push upstream --force
301 git cherry-pick de505f1
302 gau
303 gcan
304 git reset 2540fb762ddc89f8b35a1b650ae20c80a945ef36 --hard
305 glog 9da2ed4
306 git cherry-pick 9da2ed4
307 ./cockroach start --insecure --advertise-addr=localhost:26257 --join=localhost:26257,localhost:26258,localhost:26259
308 ./cockroach start --insecure --advertise-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259
309 ./cockroach start --insecure --listen-addr=localhost:26257 --http-port=8888 --join=localhost:26257,localhost:26258,localhost:26259 --background
310 ./cockroach start --insecure --listen-addr=localhost:26258 --http-port=8888 --join=localhost:26257,localhost:26258,localhost:26259 --background
311 pkill -f cockroach
312 ls
313 rm -rf cockroach-data
314 ./cockroach start --insecure --listen-addr=localhost:26258 --http-port=8888 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node0
315 ./cockroach start --insecure --listen-addr=localhost:26257 --http-port=8888 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node1
316 ./cockroach start --insecure --listen-addr=localhost:26259 --http-port=8888 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node2
317 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node2
318 cockroach init --insecure --host=localhost --port=26257
319 ps | grep cockroach
320 ./cockroach --help
321 ./cockroach node --help
322 ./cockroach node ls
323 ./cockroach node ls --insecure
324 ./cockroach node status --insecure
325 ./cockroach sql --insecure --help
326 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
327 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
328 ./cockroach node status --insecure
329 ./cockroach sql --insecure --url="postgresql://root@localhost:26259/defaultdb"
330 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
331 ps | grep cockroach
332 kill -9 63694
333 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
334 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node2
335 ps | grep cockroach
336 docker rm -f $(docker ps -a -q)
337 ps | grep cockroach
338 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
339 pkill -f cockroach
340 docker rm -f $(docker ps -a -q)
341 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node2
342 ./cockroach sql --insecure --url="postgresql://root@localhost:26259/defaultdb"
343 docker rm -f $(docker ps -a -q)
344 ps | grep cockroach
345 ./cockroach node status --insecure
346 ./cockroach node status --insecure --help
347 ./cockroach node status --insecure --all
348 ./cockroach node status --insecure --url="postgresql://root@localhost:26259/defaultdb"
349 ./cockroach node status --insecure --url="postgresql://root@localhost:26259"
350 pkill -f cockroach
351 ps | grep cockroach
352 rm -rf cockroach-data
353 ls
354 rm -rf /tmp/node0
355 rm -rf /tmp/node1
356 rm -rf /tmp/node2
357 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node2
358 ./cockroach start --insecure --listen-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259 --background --store=/tmp/node1
359 ./cockroach start --insecure --listen-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8081 --background --store=/tmp/node1
360 ./cockroach start --insecure --listen-addr=localhost:26257 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8082 --background --store=/tmp/node0
361 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
362 docker log roach5
363 docker lg --help
364 docker logs roach5
365 ./cockroach sql --insecure --url="postgresql://root@localhost:26259/defaultdb"
366 history | grep init
367 ./cockroach init --insecure --host=localhost --port=26257
368 ./cockroach sql --insecure --url="postgresql://root@localhost:26259/defaultdb"
369 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
370 ./cockroach node status --insecure --url="postgresql://root@localhost:26257"
371 ./cockroach sql --insecure
372 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
373 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
374 ps | grep cockroach
375 pkill -f cockroach
376 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --store=/tmp/node2
377 ./cockroach start --insecure --listen-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8081 --store=/tmp/node1
378 pkill -f cockroach
379 rm -rf /tmp/node2
380 rm -rf /tmp/node1
381 rm -rf /tmp/node0
382 ./cockroach start --insecure --listen-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8081 --store=/tmp/node1
383 ./cockroach start --insecure --listen-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8081 --store=/tmp/node1 --background
384 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --store=/tmp/node2 --background
385 ps | grep cockroach
386 kill -9 68256
387 ps | grep cockroach
388 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --store=/tmp/node2 --background
389 ps | grep cockroach
390 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
391 ./cockroach init --insecure --host=localhost --port=26257
392 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
393 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
394 ./cockroach node status --insecure --url="postgresql://root@localhost:26257"
395 ./cockroach node status --insecure --url="postgresql://root@localhost:26258"
396 ps -ef | grep cockroach | grep -v grep
397 kill -9 66700
398 kill -9 68186
399 ps -ef | grep cockroach | grep -v grep
400 rm -rf /tmp/node0
401 rm -rf /tmp/node1
402 rm -rf /tmp/node2
403 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --store=/tmp/node2 --background
404 rm -rf /tmp/node2
405 rm -rf /tmp/node1
406 rm -rf /tmp/node0
407 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --store=/tmp/node2 --background
408 docker rm -f $(docker ps -a -q)
409 rm -rf /tmp/node1
410 rm -rf /tmp/node2
411 rm -rf /tmp/node0
412 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --store=/tmp/node2 --background
413 ./cockroach start --insecure --listen-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8081 --store=/tmp/node1 --background
414 kill -9 68186
415 ps -ef | grep cockroach | grep -v grep
416 ./cockroach start --insecure --listen-addr=localhost:26257 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8082 --store=/tmp/node0 --background
417 ps -ef | grep cockroach | grep -v grep
418 ./cockroach node status --insecure --url="postgresql://root@localhost:26258"
419 pkill -f cockroach
420 ps -ef | grep cockroach | grep -v grep
421 rm -rf /tmp/node0
422 rm -rf /tmp/node1
423 rm -rf /tmp/node2
424 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
425 rm -rf /tmp/node2
426 rm -rf /tmp/node1
427 rm -rf /tmp/node0
428 pkill -f cockroach
429 ps -ef | grep cockroach | grep -v grep
430 docker rm -f $(docker ps -a -q)
431 ./cockroach start --insecure --listen-addr=localhost:26257 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8080 --store=/tmp/node0 --background
432 ./cockroach start --insecure --listen-addr=localhost:26258 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8081 --store=/tmp/node1 --background
433 ./cockroach start --insecure --listen-addr=localhost:26259 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8082 --store=/tmp/node2 --background
434 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
435 ./cockroach init --insecure --host=localhost --port=26257
436 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
437 ./cockroach node status --insecure --url="postgresql://root@localhost:26257"
438 ps -ef | grep cockroach | grep -v grep
439 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
440 ./cockroach node status --decommission
441 ./cockroach node status --decommission --insecure
442 ps -ef | grep cockroach | grep -v grep
443 kill -TERM 12485
444 ps -ef | grep cockroach | grep -v grep
445 grep 'drain' /tmp/node0/logs/cockroach.log
446 ps -ef | grep cockroach | grep -v grep
447 ./cockroach sql --insecure --url="postgresql://root@localhost:26258/defaultdb"
448 ./cockroach start --insecure --listen-addr=localhost:26257 --join=localhost:26257,localhost:26258,localhost:26259 --http-addr=localhost:8080 --store=/tmp/node0 --background
449 ps -ef | grep cockroach | grep -v grep
450 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
451 git checkout ctrl-c-cutover-begin --force
452 gs
453 gau
454 gfix 73b9ad00
455 docker rm -f $(docker ps -a -q)
456 rm -rf /tmp/node0
457 rm -rf /tmp/node1
458 rm -rf /tmp/node2
459 ls
460 rm -rf cockroach-data
461 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
462 fixproxylint && make gen
463 gau
464 git commit -m "add test for mysql"
465 git push upstream --force
466 docker rm -f $(docker ps -a -q)
467 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
468 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -v "${PWD}/init.sql:/docker-entrypoint-initdb.d/init.sql" postgres:15-alpine
469 make run_orch_pg
470 go run . pg --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 --logging=debug \\n--init-source 'postgresql://postgres@localhost:5437/defaultdb' \\n--init-target 'postgresql://[email protected]:26257/defaultdb?sslmode=disable' \\n--logging=debug --shadow-mode=strict-sync
471 go build -o molt-lms-cli ./cli
472 psql 'postgres://postgres@localhost:9043/?sslmode=disable&gssencmode=disable'
473 ./molt-lms-cli cutover consistent begin
474 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
475 ./molt-lms-cli cutover consistent begin
476 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
477 psql 'postgres://postgres@localhost:9043/?sslmode=disable&gssencmode=disable'
478 gau
479 git commit -m "add race-proof test for mysql"
480 git push upstream --force
481 gau
482 git commit -m "add test for pg"
483 git push
484 git push upstream --force
485 gau
486 git commit -m "add comment for test"
487 git push upstream --force
488 docker rm -f $(docker ps -a -q)
489 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -v "${PWD}/init.sql:/docker-entrypoint-initdb.d/init.sql" postgres:15-alpine
490 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
491 gau
492 glog
493 gcan
494 git push upstream --force
495 git checkout main --force
496 re
497 rebasemain
498 git checkout -
499 gau
500 git commit -m "bug fix for error handling"
501 git push upstream --force
502 gau
503 gcan
504 git push upstream --force
505 glog
506 rebasemain
507 git reset 08e5fb9 --hard
508 gau
509 gcan
510 git push upstream --force
511 git checkout main
512 rebasemain
513 git checkout -
514 gau
515 gcan
516 git push upstream --force
517 glog
518 rebasemain
519 git cherry-pick 609bfe8
520 git cherry-pick 0029715
521 git cherry-pick aeeb173
522 gca
523 subl ~/.zshrc
524 gcpfromto daace40 02d71ea
525 glog
526 git reset 625ec7a --hard
527 glog
528 git reset 33649e2
529 gau
530 git commit
531 git cherry-pick 02d71ea
532 glog
533 gca
534 git push upstream --force
535 git diff 02d71ea179becb0b73d1ed8b73b67553417b8580 HEAD > hello.diff
536 subl ./hello.diff
537 alias gdiff='f() { git diff ${1} ${2:HEAD} > ./tmp.diff && subl ./tmp.diff };f'
538 gdiff 02d71ea179becb0b73d1ed8b73b67553417b8580
539 alias gdiff='f() { git diff ${1} ${2:-"HEAD"} > ./tmp.diff && subl ./tmp.diff };f'
540 gdiff 02d71ea179becb0b73d1ed8b73b67553417b8580
541 gs
542 rm *.diff
543 gs
544 rm -rf ./certs
545 gs
546 rm -rf mysecret
547 gs
548 git checkout -b test-ctrl-c
549 git push upstream --force
550 glog
551 git reset 33649e2 --hard
552 git commit -m "-----based on https://github.com/cockroachlabs/crdb-proxy/pull/670-----" --allow-empty
553 gcpfromto 687b5f0 144a0c3
554 git push upstream --force
555 gti checkout -
556 git reset 33649e2 --hard
557 git push upstream --force
558 git checkout -
559 gs
560 glog
561 gfix 2c2c390
562 gau
563 gfix 2c2c390
564 git push upstream --force
565 gdiff d8b217f1bdcdd826d67d2497d5fffc6ca66e0488
566 source ~/.zshrc
567 gdiff d8b217f1bdcdd826d67d2497d5fffc6ca66e0488
568 git checkout -
569 gs
570 gau
571 gfix d722f61er
572 gfix d722f61e
573 git push upstream --force
574 docker rm -f $(docker ps -a -q)
575 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
576 make run_orch
577 procOfPort 4201
578 make run_orch
579 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
580 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
581 go build -o molt-lms-cli ./cli
582 ./molt-lms-cli --help
583 ./molt-lms-cli connections
584 ./molt-lms-cli connections list
585 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
586 ./molt-lms-cli connections list
587 ./molt-lms-cli connections list --help
588 ./molt-lms-cli connections list --lms-addresses="0.0.0.0:1234"
589 ./molt-lms-cli connections list --help
590 git checkout -
591 git checkout main
592 rebasemain
593 git checkout -b immediate-exit-cutover-begin
594 git cherry-pick 58954c8fafbb86e5d51d095022a58cfd9d14830b
595 gau
596 git cherry-pick --continue
597 gca
598 git push upstream --force
599 glog
600 git reset fe0710e
601 docker rm -f $(docker ps -a -q)
602 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
603 make run_orch
604 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
605 git checkout main
606 git checkout -
607 glog
608 git reset c10970824ce365b2265e0060e6252c2ccea98086 --hard
609 git checkout main
610 re
611 rebasemain
612 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
613 docker rm -f $(docker ps -a -q)
614 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
615 make run_orch
616 docker rm -f $(docker ps -a -q)
617 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
618 make run_orch
619 git checkout ctrl-c-cutover-begin --force
620 glog
621 rebasemain
622 gcpfromto 503e5a1 e9cf455
623 gau
624 git cherry-pick --continue
625 fixproxylint && make gen
626 gau
627 gfix f99fbd91
628 git rebase --abort
629 glog
630 git reset ab26f88
631 gau
632 git commit -m "chan solution"
633 fixproxylint && make gen
634 gs
635 gau
636 glog
637 gca
638 git push upstream --force
639 gca
640 gau
641 gca
642 git push upstream --force
643 glog
644 gau
645 gcan
646 fixproxylint && make gen
647 gs
648 gau
649 glog
650 gcan
651 git push upstream --force
652 gau
653 gcan
654 git push upstream --force
655 git checkout test-ctrl-c
656 glog
657 rebasemain
658 git cherry-pick a483aa5
659 git cherry-pick acdaabf
660 gau
661 glog
662 gau
663 gcan
664 go mod tidy
665 go build -o molt-lms-cli ./cli
666 go build -o .artifacts/molt-lms-cli ./cli
667 go build -o ./artifacts/molt-lms-cli ./cli
668 kubectl --help
669 /bin/sh kubectl
670 which kubectl
671 cp /usr/local/bin/kubectl /usr/local/bin/kubectl
672 /bin/sh
673 go test -o artifacts/e2e ./e2e
674 go test -o e2e ./e2e
675 go build -o ./e2e ./e2e
676 go test ./e2e -e2e-enabled -run TestDataDriven/pg-shadow-none
677 helm uninstall lms
678 cd helm-molt-lms
679 helm install --namespace default -f values.yaml lms .
680 export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
681 helm install --namespace default -f values.yaml lms .
682 export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
683 helm install --namespace default -f values.yaml lms .
684 cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
685 cat /etc/rancher/k3s/k3s.yaml
686 helm install --namespace default -f values.yaml lms .
687 export KUBECONFIG=~/.kube/config
688 mkdir ~/.kube 2> /dev/null
689 sudo k3s kubectl config view --raw > "$KUBECONFIG"
690 k3s --version
691 curl -sfL https://get.k3s.io | sh -
692 k3s --version
693 curl -sfL https://get.k3s.io | sh -
694 helm install --namespace default -f values.yaml lms .
695 helm uninstall lms
696 cd ..
697 go test ./e2e -e2e-enabled -run TestDataDriven/pg-shadow-none
698 go test ./e2e -e2e-enabled
699 kpg
700 kgp
701 kl lms-7b9c4b8d4f-7x4sr
702 helm uninstall lms
703 docker rm -f $(docker ps -a -q)
704 kgp
705 gs
706 cau
707 gau
708 git commit -m "draft"
709 git checkout mian
710 git checkout main
711 rebasemain
712 go build -o ./e2e ./e2e
713 go test ./e2e -e2e-enabled
714 kg
715 kgp
716 docker build -t cockroachdb/molt-lms:local .
717 helm uninstall lms
718 docker rm -f $(docker ps -a -q)
719 helm install --namespace default -f values.yaml lms .
720 cd helm-molt-lms
721 helm install --namespace default -f values.yaml lms .
722 kgp
723 kl lms-b9b9b487-dbcbb
724 kgp
725 kl lms-b9b9b487-dbcbb
726 helm uninstall lms
727 docker rm -f $(docker ps -a -q)
728 kgp
729 go test ./e2e -e2e-enabled
730 cd ..
731 go test ./e2e -e2e-enabled
732 kgp
733 helm uninstall lms
734 kgp
735 docker rm -f $(docker ps -a -q)
736 go test ./e2e -e2e-enabled
737 kgp
738 kl lms-7875549dbd-6ss24
739 helm uninstall lms
740 docker rm -f $(docker ps -a -q)
741 kgp
742 go test ./e2e -e2e-enabled
743 kgp
744 helm uninstall lms
745 docker build -t cockroachdb/molt-lms:latest .
746 go test ./e2e -e2e-enabled -run TestDataDriven
747 kgp
748 helm uninstall lms
749 docker rm -f $(docker ps -a -q)
750 kgp
751 helm uninstall lms
752 helm install --namespace default -f helm-molt-lms/values.yaml lms helm-molt-lms \\n --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false
753 docker rm -f $(docker ps -a -q)
754 go test ./e2e -e2e-enabled -run TestDataDriven
755 kgp
756 go test ./e2d --help
757 go test ./e2e --help
758 kgp
759 helm uninstall lms
760 docker rm -f $(docker ps -a -q)
761 kgp
762 go test ./e2e -e2e-enabled -run TestDataDriven
763 helm uninstall lms
764 docker rm -f $(docker ps -a -q)
765 kgp
766 go test ./e2e -e2e-enabled -run TestDataDriven
767 go test --help
768 go help test
769 go test -v ./e2e -e2e-enabled
770 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
771 docker rm -f $(docker ps -a -q)
772 helm uninstall lms
773 go test -v ./e2e -e2e-enabled -run TestDataDriven/pg-shadow-none
774 helm uninstall lms
775 docker rm -f $(docker ps -a -q)
776 helm install --namespace default -f helm-molt-lms/values.yaml lms helm-molt-lms \\n --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false
777 kgp
778 kl lms-fd94cb89c-g25jg
779 kgp
780 helm uninstall lms
781 helm install --namespace default -f helm-molt-lms/values.yaml lms helm-molt-lms \\n --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set deps.postgresql.enabled=true \\n --set deps.mysql.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set lms.lms.sourceDialect=pg \\n --set global.lmsInitSource=postgresql://postgres:[email protected]:5432/defaultdb \\n --set lms.orchestrator.sourceDialect=pg \\n --set cdcsink.enabled=false \\n --set global.lmsURL=postgres://postgres:[email protected]:9043/defaultdb
782 kgp
783 kl lms-647bb699b6-h69xq
784 kubectl port-forward svc/lms-cockroach 26257:26257 &
785 kgp
786 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
787 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
788 ./scripts/cleanup-e2e.sh mysql
789 helm install --namespace default -f helm-molt-lms/values.yaml lms helm-molt-lms \\n --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set deps.postgresql.enabled=true \\n --set deps.mysql.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set lms.lms.sourceDialect=pg \\n --set global.lmsInitSource=postgresql://postgres:[email protected]:5432/defaultdb \\n --set lms.orchestrator.sourceDialect=pg \\n --set cdcsink.enabled=false \\n --set global.lmsURL=postgres://postgres:[email protected]:9043/defaultdb
790 kgp
791 kl lms-647bb699b6-d7pvl
792 kgp
793 kgp lms-647bb699b6-l8m5b
794 kl lms-647bb699b6-l8m5b
795 kgp lms-647bb699b6-l8m5b
796 kgo
797 kgp
798 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
799 kubectl port-forward svc/lms-cockroachdb 26259:26257 &
800 ./cockroach sql --insecure --url="postgresql://root@localhost:26259/defaultdb"
801 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
802 kubectl port-forward svc/lms-postgresql 5432:5432 &
803 kubectl port-forward svc/lms-postgresql 5432:5437 &
804 kubectl port-forward svc/lms-postgresql 5437:5432 &
805 psql 'postgres://postgres@localhost:5437/?sslmode=disable&gssencmode=disable'
806 helm uninstall lms
807 ./scripts/cleanup-e2e.sh mysql
808 ./scripts/cleanup-e2e.sh
809 go test -v ./e2e -e2e-enabled -run TestDataDriven/pg-shadow-none
810 procOfPort 5437
811 helm uninstall lms
812 history | grep pkill
813 pkill -f kubectl
814 go test -v ./e2e -e2e-enabled -run TestDataDriven/pg-shadow-none
815 kgp
816 helm uninstall lms
817 ./scripts/cleanup-e2e.sh
818 pkill -f kubectl
819 go test -v ./e2e -e2e-enabled -run TestDataDriven/pg-shadow-none
820 psql 'postgres://postgres:password@localhost:9043/defaultdb'
821 procOfPort 5432
822 docker rm -f $(docker ps -a -q)
823 kgp
824 helm uninstall lms
825 docker rm -f $(docker ps -a -q)
826 ./scripts/cleanup-e2e.sh
827 go test -v ./e2e -e2e-enabled -run TestDataDriven/pg-shadow-none
828 procOfPort 5432
829 kgp
830 kubectl port-forward svc/lms-postgresql 5432:5432
831 kubectl port-forward svc/lms-postgresql 5437:5432
832 procOfPort 9043
833 psql 'postgres://postgres:password@localhost:9043/defaultdb'
834 pkill -f kubectl
835 procOfPort 9043
836 kgp
837 kubectl port-forward svc/lms 9043:9043
838 procOfPort 9043
839 psql 'postgres://postgres:password@localhost:9043/defaultdb'
840 kl svc/lms
841 psql 'postgres://postgres:password@localhost:9043/defaultdb&gssencmode=disable'
842 psql 'postgres://postgres:password@localhost:9043/?sslmode=disable&gssencmode=disable'
843 kubectl port-forward svc/lms-postgresql 5437:5432
844 kubectl port-forward svc/lms-postgresql 5437:5432 &
845 psql 'postgres://postgres:password@localhost:5437'
846 kubectl port-forward svc/lms 9043:9043 &
847 psql 'postgres://postgres:password@localhost:9043/?sslmode=disable&gssencmode=disable'
848 psql 'postgres://postgres:password@localhost:9043/defaultdb&sslmode=disable&gssencmode=disable'
849 psql 'postgres://postgres:password@localhost:9043/sslmode=disable&gssencmode=disable'
850 psql 'postgres://postgres:password@localhost:9043/?sslmode=disable&gssencmode=disable'
851 psql 'postgres://postgres:password@localhost:9043/defaultdb/?sslmode=disable&gssencmode=disable'
852 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
853 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c 'DROP TABLE IF EXISTS test_table; CREATE TABLE IF NOT EXISTS test_table (id INT PRIMARY KEY, t TEXT);'\n
854 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable&gssencmode=disable' -c 'DROP TABLE IF EXISTS test_table; CREATE TABLE IF NOT EXISTS test_table (id INT PRIMARY KEY, t TEXT);'\n
855 kubectl port-forward svc/lms-cockroachdb-public 26257:26257 &
856 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable&gssencmode=disable' -c 'DROP TABLE IF EXISTS test_table; CREATE TABLE IF NOT EXISTS test_table (id INT PRIMARY KEY, t TEXT);'\n
857 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c "INSERT INTO test_table VALUES (1, 'one'), (2, 'one')";
858 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable&gssencmode=disable' -c "INSERT INTO test_table VALUES (3, 'crdb_only')";
859 psql 'postgres://postgres:password@localhost:5437/defaultdb?sslmode=disable&gssencmode=disable' -c "INSERT INTO test_table VALUES (4, 'pg_only')";
860 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c 'SELECT * FROM test_table';
861 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c "SELECT version() LIKE 'CockroachDB%'"
862 helm uninstall lms
863 ./scripts/cleanup-e2e.sh
864 docker rm -f $(docker ps -a -q)
865 helm uninstall lms
866 docker rm -f $(docker ps -a -q)
867 kgp
868 gau
869 git commit -m "draft"
870 rebasemain
871 git add -u
872 git checkout -b comment-out-silent
873 git commit -m "no-slient"
874 git push upstream --force
875 git checkout -
876 glog
877 gau
878 git commit -m "enable pr test for e2e"
879 git checkout -b e2e-pr
880 git push upstream --force
881 git reflog
882 git reset 2c3a1bf --hard
883 glog
884 git reset d01522c
885 go test -v ./e2e -e2e-enabled -run TestDataDriven
886 pkill -f kubectl
887 helm uninstall lms
888 ./scripts/cleanup-e2e.sh
889 procOfPort 9043
890 go test -v ./e2e -e2e-enabled -run TestDataDriven
891 ./scripts/cleanup-e2e.sh
892 go test -v ./e2e -e2e-enabled -run TestDataDriven
893 ./scripts/cleanup-e2e.sh
894 procOfPort 9043
895 kgp
896 $(kgp)
897 if [[ $(kgp) == *No resources* ]]; echo hello; fi
898 kgp | grep No resources
899 kgp | grep "No resources"
900 if kgp | grep -q "No resources"; then\n echo "Found the substring"\nelse\n echo "Substring not found"\nfi
901 subl ~/.zshrc
902 subl ./hello.sh
903 chmod ./hello.sh
904 chmod u+x ./hello.sh
905 ./hello.sh
906 ./scripts/cleanup-e2e.sh
907 go test -v ./e2e -e2e-enabled -run TestDataDriven
908 ./scripts/cleanup-e2e.sh mysql
909 go test -v ./e2e -e2e-enabled -run TestDataDriven
910 ./scripts/cleanup-e2e.sh mysql
911 go test -v ./e2e -e2e-enabled -run TestDataDriven
912 ./scripts/cleanup-e2e.sh mysql
913 go test -v ./e2e -e2e-enabled -run TestDataDriven
914 ./scripts/cleanup-e2e.sh mysql
915 ./scripts/cleanup-e2e.sh
916 go test -v ./e2e -e2e-enabled -run TestDataDriven
917 ./scripts/cleanup-e2e.sh
918 go test -v ./e2e -e2e-enabled -run TestDataDriven
919 ./scripts/cleanup-e2e.sh
920 ./scripts/cleanup-e2e.sh mysql
921 git add -u
922 git commit -m "draft"
923 git checkout main
924 rebasemain
925 gau
926 git checkout -b redo-silent
927 git commit
928 git push upstream --force
929 git reset 37ae257 --hard
930 glog
931 git reset d01522c
932 go test -v ./e2e -e2e-enabled -run TestDataDriven
933 ./scripts/cleanup-e2e.sh mysql
934 go test -v ./e2e -e2e-enabled -run TestDataDriven
935 ./scripts/cleanup-e2e.sh mysql
936 ./scripts/cleanup-e2e.sh
937 go test -v ./e2e -e2e-enabled -run TestDataDriven
938 ./scripts/cleanup-e2e.sh
939 ./cockroach demo
940 rebasemain
941 rebasemaster
942 ./cockroach demo
943 gs
944 gau
945 git commit -m "draft"
946 git checkout main
947 rebasemaster
948 rebasemain
949 ./cockroach demo
950 rebasemain
951 gau
952 git commit -m "e2e: print command being executed for debug"
953 git checkout -b e2e-verbose
954 git push upstream --force
955 git checkout -
956 rebasemain
957 mysql -u admin -p'admin' -h '127.0.0.1' -P 3306 -D defaultdb
958 git checkout test-ctrl-c
959 glog
960 rebasemain
961 git cherry-pick a483aa5371a81a527ac1f5d12f599fab3207fcda
962 git cherry-pick acdaabf350b02cd014002797431c4a0907c64cd0
963 git push upstream --force
964 docker rm -f $(docker ps -a -q)
965 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
966 helm uninstall lms
967 docker ps
968 docker logs roach5
969 make run_orch
970 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
971 git checkout main
972 rebasemain
973 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
974 lsof -i TCP:9043
975 pkill 22592
976 lsof -i TCP:9043
977 kill -9 22592
978 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
979 lsof -i TCP:9043
980 kill -9 24383
981 git reset bb891fae4bf595b49d690dcb85fe4556dc5e8962 --hard
982 gs
983 gau
984 git commit -m "important draft"
985 git checkout -
986 gau
987 gcan
988 git push upstream --force
989 glog
990 git reset 298f5cd7ba005d45c0d0f9b14489658bc0d139f7
991 gau
992 git commit --fixup 3f8b6725
993 glog
994 git rebase -i --autosquash 3f8b672^
995 git push upstream --force
996 docker rm -f $(docker ps -a -q)
997 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
998 go build -o molt-lms-cli ./cli
999 \q
1000 exit
1001 docker rm -f $(docker ps -a -q)
1002 docker build -t cockroachdb/molt-lms:latest .
1003 docker build -t cockroachdb/molt-lms:sleep .
1004 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1005 roachprod --help
1006 roachtest --help
1007 fixproxylint && make gen
1008 gau
1009 git commit
1010 glog
1011 git reset 5bccbb4
1012 gs
1013 git add internal/frontend/frontend.go
1014 gs
1015 git add orchestrator/
1016 git commit
1017 git push upstream --force
1018 cd helm-molt-lms
1019 helm install --namespace default -f values.yaml lms .
1020 kgp
1021 kl lms-fd94cb89c-vmd29
1022 kgp
1023 kubectl port-forward svc/lms 9043:9043 & \\nkubectl port-forward svc/lms-orchestrator 4200:4200 & \\nkubectl port-forward svc/lms-grafana 3000:80 & \\nkubectl port-forward svc/lms-mysql 3308:3306 & \\nkubectl port-forward svc/lms-cockroachdb 26257:26257 & \\nkubectl port-forward svc/lms-cockroachdb 8080:8080 &
1024 kgp
1025 kl -f lms-orchestrator
1026 kl -f lms-orchestrator-5758cc8bb9-tzg99
1027 docker rm -f $(docker ps -a -q)
1028 helm uninstall lms
1029 pkill -f kubectl
1030 helm uninstall lms
1031 kgp
1032 docker rm -f $(docker ps -a -q)
1033 helm install --namespace default -f values.yaml lms .
1034 kgp
1035 kl -f lms-orchestrator-5758cc8bb9-64ncr\
1036 kl -f lms-orchestrator-5758cc8bb9-64ncr
1037 kubectl port-forward svc/lms 9043:9043 & \\nkubectl port-forward svc/lms-orchestrator 4200:4200 & \\nkubectl port-forward svc/lms-grafana 3000:80 & \\nkubectl port-forward svc/lms-mysql 3308:3306 & \\nkubectl port-forward svc/lms-cockroachdb 26257:26257 & \\nkubectl port-forward svc/lms-cockroachdb 8080:8080 &
1038 go build -o ./artifacts/molt-lms-cli ./cli
1039 go build -o molt-lms-cli ./cli
1040 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1041 mysql -u root -p'password' -h '127.0.0.1' -P 9043 -D defaultdb
1042 mysql -h '127.0.0.1' -P 9043 -D defaultdb
1043 kl -f lms-fd94cb89c-fg7q5
1044 mysql -u root -p'password' -h '127.0.0.1' -P 3306
1045 mysql -u root -p'password' -h '127.0.0.1' -P 9043
1046 kl lms-fd94cb89c-4dtmh
1047 kl lms-promtail-2j8tk
1048 helm uninstall lms
1049 pkill -f kubectl
1050 kgp
1051 ./cleanup.sh
1052 helm install --namespace default -f values.yaml lms .
1053 kgp
1054 kl lms-fd94cb89c-dr4x7
1055 kl lms-cockroachdb-1
1056 kgp
1057 kl lms-fd94cb89c-dr4x7
1058 kgp
1059 helm uninstall lms
1060 cd ..
1061 docker rm -f $(docker ps -a -q)
1062 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1063 make run_orch
1064 mysqlproxyup 9045 9046
1065 mysqlproxyup 9047 9048
1066 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1067 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
1068 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043, 0.0.0.0:9045, 0.0.0.0:9047"
1069 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1070 mysql -u admin -p'admin' -h '127.0.0.1' -P 9047 -D defaultdb
1071 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1072 git log --oneline | tail -n 1
1073 git log --oneline | head -n 1
1074 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1075 mysql -u admin -p'admin' -h '127.0.0.1' -P 9045 -D defaultdb
1076 mysql -u admin -p'admin' -h '127.0.0.1' -P 9045 -D defaultdb
1077 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1078 mysql -u admin -p'admin' -h '127.0.0.1' -P 9047 -D defaultdb
1079 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1080 mysql -u admin -p'admin' -h '127.0.0.1' -P 9045 -D defaultdb
1081 mysql -u admin -p'admin' -h '127.0.0.1' -P 9047 -D defaultdb
1082 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1083 make run_orch
1084 make run_orch
1085 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1086 mysql -u admin -p'admin' -h '127.0.0.1' -P 9045 -D defaultdb
1087 mysql -u admin -p'admin' -h '127.0.0.1' -P 9047 -D defaultdb
1088 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1089 go build -o molt-lms-cli ./cli
1090 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1091 git reflog | grep -- "important draft"
1092 git checkout main
1093 rebasemain
1094 mysqlproxyup 9043 9044
1095 git reC
1096 git reflog | grep -- "important draft"
1097 glog
1098 git cherry-pick f3291c8
1099 glog
1100 git reset 0615242
1101 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
1102 make run_orch
1103 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
1104 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1105 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
1106 make run_orch
1107 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1108 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1109 lsof -i TCP:9043
1110 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1111 kill -9 99501
1112 kill -9 99575
1113 make run_orch
1114 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1115 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1116 lsof -i TCP:9043
1117 kill -9 1110
1118 gau
1119 make run_orch
1120 gs
1121 gau
1122 glog
1123 gs
1124 git commit -m "readyfortraffic + mysql conn is for cutover"
1125 git push upstream --force
1126 git checkout -b immediate-exit-draft
1127 git push upstream --force
1128 fixproxylint && make gen
1129 gs
1130 make run_orch
1131 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1132 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1133 lsof -i TCP:9043
1134 kill -9 7956
1135 make run_orch
1136 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1137 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1138 ./molt-lms-cli cutover consistent abort --lms-addresses="0.0.0.0:9043"
1139 ./molt-lms-cli cutover consistent abort
1140 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1141 make run_orch
1142 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1143 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1144 make run_orch
1145 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1146 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1147 ./molt-lms-cli cutover consistent abort
1148 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1149 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1150 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1151 make run_orch
1152 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1153 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1154 make run_orch
1155 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1156 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1157 make run_orch
1158 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1159 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1160 make run_orch
1161 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1162 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1163 make run_orch
1164 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1165 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1166 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1167 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1168 make run_orch
1169 make run_orch
1170 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1171 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1172 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1173 make run_orch
1174 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1175 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1176 make run_orch
1177 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1178 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1179 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1180 make run_orch
1181 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1182 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1183 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1184 make run_orch
1185 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1186 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1187 make run_orch
1188 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1189 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1190 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1191 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1192 lsof -i TCP:9043
1193 kill -9 28885
1194 make run_orch
1195 make run_orch
1196 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1197 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1198 make run_orch
1199 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1200 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1201 make run_orch
1202 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1203 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1204 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1205 make run_orch
1206 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1207 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1208 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1209 glog
1210 gau
1211 git commit -m "buggy but working"
1212 git push upstream --force
1213 glog
1214 git reset 54bff07
1215 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1216 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1217 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1218 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1219 glog
1220 git reflog
1221 git reset f94c0ab --hard
1222 make run_orch
1223 make run_orch
1224 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1225 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1226 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1227 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1228 procOfPort 9043
1229 make run_orch
1230 make run_orch
1231 procOfPort 9043
1232 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1233 procOfPort 9043
1234 git checkout main
1235 rebasemain
1236 make run_orch
1237 go build -o molt-lms-cli ./cli
1238 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1239 docker rm -f $(docker ps -a -q)
1240 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1241 git checkout -
1242 glog
1243 go build -o molt-lms-cli ./cli
1244 make run_orch
1245 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1246 make run_orch
1247 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1248 make run_orch
1249 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1250 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1251 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1252 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1253 make run_orch
1254 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1255 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1256 gau
1257 git commit -m "removed lock"
1258 make run_orch
1259 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1260 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1261 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1262 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1263 make run_orch
1264 make run_orch
1265 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1266 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1267 make run_orch
1268 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1269 make run_orch
1270 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1271 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1272 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1273 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1274 make run_orch
1275 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1276 make run_orch
1277 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1278 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1279 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1280 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1281 make run_orch
1282 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1283 make run_orch
1284 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1285 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1286 history | grep cp
1287 roachprod --help
1288 make run_orch
1289 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1290 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1291 make run_orch
1292 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1293 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1294 gau
1295 git commit -m "important working"
1296 git push upstream --force
1297 fixproxylint && make gen
1298 gs
1299 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1300 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1301 make run_orch
1302 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1303 ./molt-lms-cli cutover consistent commit
1304 make run_orch
1305 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1306 ./molt-lms-cli cutover consistent commit
1307 git checkout main
1308 rebasemain
1309 go build -o molt-lms-cli ./cli
1310 make run_orch
1311 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1312 ./molt-lms-cli cutover consistent commit
1313 make run_orch
1314 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1315 make run_orch
1316 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1317 ./molt-lms-cli cutover consistent commit
1318 gau
1319 git commit -m "add pointer"
1320 git checkout -
1321 git cherry-pick 4196ed2
1322 go build -o molt-lms-cli ./cli
1323 make run_orch
1324 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1325 make run_orch
1326 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1327 ./molt-lms-cli cutover consistent commit
1328 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1329 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1330 make run_orch
1331 make run_orch
1332 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1333 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1334 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1335 make run_orch
1336 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1337 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1338 ./cockroach init --insecure --host=localhost --port=26257
1339 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1340 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1341 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1342 make run_orch
1343 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1344 make run_orch
1345 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1346 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1347 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1348 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1349 make run_orch
1350 make run_orch
1351 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1352 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1353 make run_orch
1354 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1355 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1356 make run_orch
1357 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1358 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1359 ./molt-lms-cli cutover consistent commit
1360 gau
1361 git commit -m "working for both commit and immediate exit"
1362 git push upstream --force
1363 docker rm -f $(docker ps -a -q)
1364 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1365 make run_orch
1366 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1367 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1368 ./molt-lms-cli cutover consistent commit
1369 gs
1370 git checkout main
1371 git checkout -
1372 gau
1373 git push upstream --force
1374 gau
1375 gcan
1376 git push upstream --force
1377 fixproxylint && make gen
1378 gau
1379 gcan
1380 gs
1381 git checkout main
1382 rebasemain
1383 docker rm -f $(docker ps -a -q)
1384 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1385 mysqlproxyup 9043 9044
1386 mysqlproxyup 9045 9046
1387 mysqlproxyup 9047 9048
1388 go mod tidy
1389 mysqlproxyup 9043 9044
1390 mysqlproxyup 9045 9046
1391 mysqlproxyup 9047 9048
1392 mysqlproxyup 9043 9044
1393 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1394 lsof -i TCP:9043
1395 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1396 lsof -i TCP:9043
1397 go build -o molt-lms-cli ./cli
1398 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
1399 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1400 lsof -i TCP:9043
1401 kill -9 18536
1402 lsof -i TCP:9043
1403 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1404 lsof -i TCP:9043
1405 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1406 ./molt-lms-cli cutover consistent commit
1407 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1408 lsof -i TCP:9043
1409 lsof -i TCP:9045
1410 make gen_orch
1411 docker rm -f $(docker ps -a -q)
1412 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1413 mysqlproxyup 9043 9044
1414 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1415 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1416 0.0.0.0:9043
1417 mysqlproxyup 9045 9046
1418 mysqlproxyup 9047 9048
1419 mysqlproxyup 9043 9044
1420 mysqlproxyup 9045 9046
1421 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1422 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045,0.0.0.0:9047"
1423 rebasemain
1424 git checkout main
1425 rebasemain
1426 make gen_orch
1427 gau
1428 git commit -m "draft for detailed metadata"
1429 rebasemain
1430 docker rm -f $(docker ps -a -q)
1431 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1432 docker run -d --name=roach6 --hostname=roach6 -p 26257:26258 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1433 docker rm roach6
1434 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8081 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1435 docker logs
1436 docker logs roach5
1437 docker logs roach6
1438 docker logs roach5
1439 gs
1440 glog
1441 git add -u
1442 git commit -m "crdbcrdbtest"
1443 rebasemain
1444 cd ../molt
1445 rebasemain
1446 cd docker
1447 docker-compose up -d\n
1448 cd ..
1449 go build -o molt .
1450 ls
1451 subl mysql_import_data.sql
1452 subl pg_import_data.sql
1453 chmod u+x ./mysql_import_data.sql
1454 chmod u+x ./pg_import_data.sql
1455 docker ps
1456 docker logs bc102492a37a
1457 mysql -u root -p'password' -h '0.0.0.0' -P 33060
1458 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1459 mysql -u root -p'password' -h '127.0.0.1' -P 3306
1460 docker rm -f $(docker ps -a -q)
1461 mysql -u root -p'password' -h '127.0.0.1' -P 3306
1462 history | grep 3306
1463 mysql -u root -p'password' -h '127.0.0.1' -P 3306
1464 mysql -u admin -p'admin' -h '127.0.0.1' -P 3306
1465 docker rm -f $(docker ps -a -q)
1466 cd docker
1467 docker-compose up -d\n
1468 docker ps
1469 docker logs 7f63600785c5
1470 mysql -u admin -p'admin' -h '127.0.0.1' -P 3307
1471 mysql -u root -p'password' -h '127.0.0.1' -P 3307
1472 mysql -u root -p'password' -h '127.0.0.1' -P 3308
1473 mysql -u root -p'password' -h '127.0.0.1' -P 3307
1474 docker ps
1475 docker logs c7cb2049a963
1476 history | grep psql
1477 psql 'postgres://postgres:password@localhost:5433/defaultdb'
1478 psql 'postgres://postgres:postgres@localhost:5433/defaultdb'
1479 psql 'postgres://postgres:postgres@localhost:5433'
1480 psql 'postgres://postgres:postgres@localhost:5437'
1481 docker rm -f $(docker ps -a -q)
1482 psql 'postgres://postgres:postgres@localhost:5433'
1483 docker-compose up -d\n
1484 cd docker
1485 docker-compose up -d\n
1486 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1487 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1488 docker ps
1489 docker logs 7e7620c5d452
1490 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1491 open /etc/mysql/
1492 docker ps
1493 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1494 ls
1495 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307 -f ./mysql-init/mysql-init.sql
1496 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307 --help
1497 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307 < ./mysql-init/mysql-init.sql
1498 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1499 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1500 mysql -u root -p'password' -h '0.0.0.0' -P 3307 < ./mysql-init/mysql-init.sql
1501 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1502 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1503 history | grep 5433
1504 psql 'postgres://postgres:postgres@localhost:5433'
1505 export AWS_REGION='us-east-1'\n
1506 toproxy
1507 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1508 export AWS_REGION='us-east-1'\n
1509 ./molt fetch --source 'postgres://postgres:postgres@localhost:5433/moly' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'employees' --s3-bucket 'molt-test'
1510 cd ..
1511 ./molt fetch --source 'postgres://postgres:postgres@localhost:5433/moly' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'employees' --s3-bucket 'molt-test'
1512 ./molt fetch --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'employees' --s3-bucket 'molt-test'
1513 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1514 ./molt fetch --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'employees' --s3-bucket 'molt-test'
1515 ./molt verify --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1516 ./molt verify --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1517 cd ../molt
1518 ./molt verify --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1519 ./molt verify --help
1520 ./molt fetch --help
1521 ./molt fetch --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'employees' --s3-bucket 'molt-test'
1522 toproxy
1523 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1524 ./molt verify --help
1525 ./molt verify --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1526 ./molt fetch --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'employees' --s3-bucket 'molt-test'
1527 ./molt verify --source 'postgres://postgres:postgres@localhost:5433/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1528 docker rm -f $(docker ps -a -q)
1529 cd docker
1530 docker-compose up -d\n
1531 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1532 docker ps
1533 docker logs b50e9d1e55b2
1534 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1535 docker logs b50e9d1e55b2
1536 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1537 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1538 docker logs b50e9d1e55b2
1539 docker ps
1540 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1541 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1542 docker logs b50e9d1e55b2
1543 docker ps
1544 docker logs b50e9d1e55b2
1545 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1546 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1547 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1548 mysql -u root -p'password' -h '0.0.0.0' -P 3306
1549 mysql -u root -p'password' -h '127.0.0.1' -P 3306
1550 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1551 docker rm -f $(docker ps -a -q)
1552 docker-compose up -d\n
1553 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1554 docker ps
1555 docker logs 67e0e956b311
1556 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1557 docker logs 67e0e956b311
1558 mysql -u root -p'password' -h '0.0.0.0' -P 3307
1559 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1560 open /etc/mysql
1561 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1562 psql 'postgres://postgres:postgres@localhost:5433'
1563 ./molt verify --source 'postgres://admin:[email protected]:3307/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1564 cd ..
1565 ./molt verify --source 'postgres://admin:[email protected]:3307/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1566 ./molt verify --source 'postgres://admin:[email protected]:3307/molt' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
1567 mysql -u admin -p'admin' -h '0.0.0.0' -P 3307
1568 open /etc/mysql/my.cnf
1569 cd /etc
1570 ls
1571 cd -
1572 glog
1573 git reflog
1574 toproxy
1575 git reflog
1576 glog
1577 git reflog
1578 git cherry-pick -n a51c923
1579 docker rm -f $(docker ps -a -q)
1580 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8081 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1581 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1582 docker ps
1583 ./cockroach sql --insecure --url="postgresql://root@localhost:26257/defaultdb"
1584 docker rm -f $(docker ps -a -q)
1585 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1586 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8081 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1587 gs
1588 gau
1589 git commit -m "crdb-crdb test draft"
1590 git checkout -b crdb-crdb-test
1591 git checkout main
1592 rebasemain
1593 docker rm -f $(docker ps -a -q)
1594 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8081 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1595 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1596 make run_orch
1597 docker ps
1598 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1599 docker logs roach5
1600 docker rm -f $(docker ps -a -q)
1601 rm -rf /cockroach/cockroach-data
1602 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1603 docker logs roach5
1604 make run_orch
1605 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1606 make run_orch
1607 docker rm -f $(docker ps -a -q)
1608 make run_orch
1609 docker rm -f $(docker ps -a -q)
1610 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1611 make run_orch
1612 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1613 lsof -i TCP:9045
1614 lsof -i TCP:9043
1615 kill -9 19551
1616 lsof -i TCP:9043
1617 make run_orch
1618 lsof -i TCP:9043
1619 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1620 lsof -i TCP:9043
1621 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
1622 gs
1623 git branch -b
1624 git branch -v
1625 git branch -v | grep v0.2.1
1626 git tag -v
1627 git reset cc0d7e60934b69402be52bda555fd90f92441075 --hard
1628 go build -o molt-lms-cli ./cli
1629 make run_orch
1630 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug
1631 make run_orch
1632 docekr rm
1633 docker rm -f $(docker ps -a -q)
1634 cd helm-molt-lms
1635 helm install --namespace default -f values.yaml lms .
1636 kgp
1637 kl lms-585996c9b6-g6qkk
1638 kgp
1639 kl lms-585996c9b6-rfrvd
1640 kgp
1641 kubectl port-forward svc/lms 9043:9043 & \\nkubectl port-forward svc/lms-orchestrator 4200:4200 & \\nkubectl port-forward svc/lms-grafana 3000:80 & \\nkubectl port-forward svc/lms-mysql 3308:3306 & \\nkubectl port-forward svc/lms-cockroachdb 26257:26257 & \\nkubectl port-forward svc/lms-cockroachdb 8080:8080 &
1642 ./cockroach sql --insecure
1643 kl lms-orchestrator-9778dcc44-2scnl
1644 glog
1645 helm uninstall lms
1646 make run_orch
1647 cd ..
1648 docker rm -f $(docker ps -a -q)
1649 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1650 make run_orch
1651 docker logs roach5
1652 make run_orch
1653 go build -o molt-lms-cli ./cli
1654 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug
1655 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
1656 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1657 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
1658 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1659 pkill -f kubectl
1660 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1661 ./molt-lms-cli cutover consistent commit
1662 rebasemain
1663 git reset cc0d7e60934b69402be52bda555fd90f92441075 --hard
1664 go build -o molt-lms-cli ./cli
1665 docker rm -f $(docker ps -a -q)
1666 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1667 make run_orch
1668 rebasemain
1669 make run_orch
1670 ./molt-lms-cli --version
1671 ./molt-lms-cli version
1672 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1673 ./molt-lms-cli cutover consistent commit
1674 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
1675 go build -o molt-lms-cli-latest ./cli
1676 ./molt-lms-cli-latest cutover consistent begin --lms-addresses="0.0.0.0:9043"
1677 ./molt-lms-cli-latest cutover consistent commit
1678 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
1679 ./molt-lms-cli cutover consistent commit
1680 open .
1681 ./cockroach start-single-node --help
1682 /Users/janexing/go/src/github.com/cockroachdb/cockroach/cockroach ; exit;
1683 ./cockroach start-single-node --help
1684 ./cockroach start-single-node --help > help_doc.md
1685 subl help_doc.md
1686 rebasemaster
1687 make run_orch
1688 rebasemain
1689 cp ./cockroach ./build/deploy/cockroach
1690 cp -r licenses build/deploy
1691 docker build -t cockroachdb/cockroach ./build/deploy
1692 cp ./lib.docker_amd64/libgeos_c.so ./lib.docker_amd64/libgeos.so build/deploy/
1693 cp ~/Downloads/cockroach-linux/cockroach ./build/deploy/cockroach
1694 cp -r ~/Downloads/cockroach-linux/lib ./build/deploy/
1695 docker build -t cockroachdb/cockroach-local ./build/deploy
1696 docker rm -f $(docker ps -a -q)
1697 docker image ls
1698 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local:latest start-single-node --insecure
1699 docker logs roach5
1700 docker rm -f $(docker ps -a -q)
1701 docker build -t cockroachdb/cockroach-local ./build/deploy
1702 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local:latest start-single-node --insecure
1703 docker logs roach5
1704 docker logs roach5 --help
1705 docker logs roach5 -f
1706 docker rm -f $(docker ps -a -q)
1707 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local:latest start-single-node --insecure --http-addr=localhost:8080
1708 docker logs roach5 -f
1709 docker exec -it roach5 ssh
1710 docker exec -it roach5 /bin/sh
1711 brew install podman
1712 docker rm -f $(docker ps -a -q)
1713 ./cockroach start-single-node --insecure
1714 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local:latest start-single-node --insecure --http-addr=localhost:8080
1715 ./cockroach sql --insecure
1716 docker logs roach5 -f
1717 docker rm -f $(docker ps -a -q)
1718 docker run -d --name=roach5 --hostname=roach5 -p 26258:26257 -p 8080:8080 cockroachdb/cockroach-local:latest start-single-node --insecure --http-addr=localhost:8080
1719 ./cockroach sql --insecure
1720 ./cockroach sql --insecure --help > help.md
1721 subl help.md
1722 docker logs roach5 -f
1723 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
1724 docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a
1725 ping localhost:808
1726 ping localhost:8080
1727 ping localhost:26257
1728 nmap -p 26257 localhost
1729 nc -vz google.com 80
1730 nc -vz localhost 8080
1731 nc -vz localhost 26257
1732 nc -vz localhost 26258
1733 docker rm -f $(docker ps -a -q)
1734 docker run -d --name=roach5 --hostname=roach5 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach-local:latest start-single-node --insecure --http-addr=localhost:8081
1735 nc -vz localhost 26257
1736 nc -vz localhost 26258
1737 nc -vz localhost 8080
1738 nc -vz localhost 8081
1739 docker rm -f $(docker ps -a -q)
1740 docker run -d --name=roach5 --hostname=roach5 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach-local:latest start-single-node --insecure --http-addr=localhost:8082
1741 nc -vz localhost 8081
1742 nc -vz localhost 8082
1743 git reset cc0d7e60934b69402be52bda555fd90f92441075 --hard
1744 go buid
1745 go build -o molt-lms-cli-latest ./cli
1746 go build -o molt-lms-cli-tag ./cli
1747 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
1748 rebasemain
1749 make run_orch
1750 rebasemain
1751 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1752 docker rm -f $(docker ps -a -q)
1753 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1754 make run_orch
1755 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=async
1756 ./molt-lms-cli-tag cutover consistent begin --lms-addresses="0.0.0.0:9043"
1757 ./molt-lms-cli-tag cutover consistent commit
1758 docker rm -f $(docker ps -a -q)
1759 git reset cc0d7e60934b69402be52bda555fd90f92441075 --hard
1760 rebasemain
1761 gcpfromto 9574531ac6d2195ed59eba37b5282577a662c8f7 fcf2bb838393ffc0818b4a5b4c08252a8dc52529
1762 go build -o molt-lms-cli-tag ./cli
1763 git reset cc0d7e60934b69402be52bda555fd90f92441075 --hard
1764 gcpfromto 9574531ac6d2195ed59eba37b5282577a662c8f7 fcf2bb838393ffc0818b4a5b4c08252a8dc52529
1765 git cherry-pick --abort
1766 git cherry-pick fcf2bb838393ffc0818b4a5b4c08252a8dc52529
1767 mysqlproxyup 9047 9048
1768 rm -rf /cockroach/cockroach-data
1769 rm -rf /cockroach-data
1770 ./cockroach start-single-node --insecure
1771 nc -v localhost 8080
1772 curl -vL http://localhost:8080
1773 ./cockroach start-single-node --insecure --http-addr=localhost:8089
1774 curl -vL http://localhost:8089
1775 curl -vL http://localhost:8080
1776 rm -rf /cockroach-data
1777 ./cockroach start-single-node --insecure --http-addr=localhost:8089
1778 rm -rf ./cockroach-data
1779 ./cockroach start-single-node --insecure --http-addr=localhost:8089
1780 rm -rf ./cockroach-data
1781 docker rm -f $(docker ps -a -q)
1782 helm uninstall lms
1783 docker ps
1784 docker run -d --name=roach5 --hostname=roach5 -p 26258:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1785 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
1786 ./cockroach sql --insecure --url="postgresql://[email protected]:26257/defaultdb?sslmode=disable"
1787 docker rm -f $(docker ps -a -q)
1788 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8081
1789 history | grep join
1790 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258
1791 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8082 --join=localhost:26257,localhost:26258
1792 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8082 --join=localhost:26257,localhost:26258 --store=/tmp/node1
1793 history | grep init
1794 ./cockroach init --insecure --host=localhost --port=26257
1795 curl -vL http://localhost:8081
1796 curl -vL http://localhost:8082
1797 history | grep -- "docker run" | grep -- "-v"
1798 subl .zsh_history
1799 subl $HOME/.zsh_history
1800 subl ~/.zshrc
1801 rm -rf ./cockroach-data
1802 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8082 --join=localhost:26257,localhost:26258 --store=/tmp/node1
1803 rm -rf /tmp/node1
1804 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258 --store=/tmp/node0
1805 ./cockroach init --insecure --host=localhost --port=26257
1806 curl -vL http://localhost:8082
1807 curl -vL http://localhost:8081
1808 curl -vL http://localhost:8080
1809 rm -rf /tmp/node1
1810 rm -rf /tmp/node0
1811 docker network create -d bridge roachnet
1812 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26257:26257 \\n-p 8080:8080 \\n-v "roach1:/cockroach/cockroach-data" \
1813 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26257:26257 \\n-p 8080:8080 \\n-v "roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=26257:26357 --http-addr=8080:8080 --listen-addr=26257:26357 --sql-addr=26157:26257 --insecure --join=roach1:26357,roach2:26357
1814 docker logs roach1 -f
1815 docker rm roach1
1816 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26257:26257 \\n-p 8080:8080 \\n-v "roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach1:26357 --http-addr=roach1:8080 --listen-addr=roach1:26357 --sql-addr=roach1:26257 --insecure --join=roach1:26357,roach2:26357
1817 docker rm roach1
1818 docker rm roach1 -f
1819 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26257:26257 \\n-p 8080:8080 \\n-v "roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach1:26357 --http-addr=roach1:8080 --listen-addr=roach1:26357 --sql-addr=roach1:26257 --insecure --join=roach1:26357,roach2:26357
1820 docker logs roach1 -f
1821 docker run -d \\n--name=roach2 \\n--hostname=roach2 \\n--net=roachnet \\n-p 26258:26258 \\n-p 8081:8081 \\n-v "roach2:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach2:26357 --http-addr=roach2:8081 --listen-addr=roach2:26357 --sql-addr=roach2:26258 --insecure --join=roach1:26357,roach2:26357
1822 docker logs roach2 -f
1823 docker exec -it roach1 ./cockroach --host=roach1:26357 init --insecure
1824 docker logs roach2 -f
1825 docker inspect \\n -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' roach1
1826 ./cockroach sql --insecure --url="postgresql://[email protected]:26257/defaultdb?sslmode=disable"
1827 docker exec -it roach1 ./cockroach sql --host=roach2:26258 --insecure
1828 docker exec -it roach1 ./cockroach sql --host=roach1:26257 --insecure
1829 ./cockroach sql --host=172.19.0.2:26257 --insecure
1830 ./cockroach sql --host=172.19.0.2:26357 --insecure
1831 curl -vL http://localhost:8080
1832 curl -vL http://localhost:8081
1833 docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a
1834 docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" roach1
1835 docker inspect --help | grep port
1836 ./cockroach sql --host=0.0.0.0:26357 --insecure
1837 ./cockroach sql --host=:26357 --insecure
1838 ./cockroach sql --host=0.0.0.0:26257 --insecure
1839 docker exec -it roach1 ./cockroach --host=roach1:26357 init --insecure
1840 docker exec -it roach1 ./cockroach sql --host=roach1:26257 --insecure
1841 docker exec -it roach1 ./cockroach sql --host=0.0.0.0:26257 --insecure
1842 docker rm roach1 -f
1843 docker rm roach2 -f
1844 ls
1845 rm -rf /cockroach/cockroach-data
1846 rm -rf /roach1
1847 rm -rf /roach2
1848 docker run -d \ \n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26267:26257 \\n-p 8080:8080 \\n-v "roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach1:26357 --http-addr=roach1:8080 --listen-addr=roach1:26357 --sql-addr=roach1:26257 --insecure --join=roach1:26357,roach2:26357
1849 docker logs roach1 -f
1850 docker exec -it roach1 bash
1851 docker rm roach2 -f
1852 docker rm roach1 -f
1853 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26267:26257 \\n-p 8080:8080 \\n-v "${PWD}/cockroach-data/roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach1:26357 --http-addr=roach1:8080 --listen-addr=roach1:26357 --sql-addr=roach1:26257 --insecure --join=roach1:26357,roach2:26357
1854 ls
1855 rm -rf cockroach-data
1856 docker rm roach1 -f
1857 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26267:26257 \\n-p 8080:8080 \\n-v "${PWD}/cockroach-data/roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach1:26357 --http-addr=roach1:8080 --listen-addr=roach1:26357 --sql-addr=roach1:26257 --insecure --join=roach1:26357,roach2:26357
1858 ls
1859 ls ./cockroach-data
1860 ls ./cockroach-data/roach1
1861 chmod -r u+x ./cockroach-data
1862 chmod u+x ./cockroach-data
1863 docker rm roach1 -f
1864 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26267:26257 \\n-p 8080:8080 \\n-v "${PWD}/cockroach-data/roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach1:26357 --http-addr=roach1:8080 --listen-addr=roach1:26357 --sql-addr=roach1:26257 --insecure --join=roach1:26357,roach2:26357
1865 docker logs roach1 -f
1866 docker run -d \\n--name=roach2 \\n--hostname=roach2 \\n--net=roachnet \\n-p 26258:26258 \\n-p 8081:8081 \\n-v "${PWD}/cockroach-data/roach2:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach2:26357 --http-addr=roach2:8081 --listen-addr=ro\nach2:26357 --sql-addr=roach2:26258 --insecure --join=roach1:26357,roach2:26357
1867 docker rm roach2 -f
1868 docker run -d \\n--name=roach2 \\n--hostname=roach2 \\n--net=roachnet \\n-p 26258:26258 \\n-p 8081:8081 \\n-v "${PWD}/cockroach-data/roach2:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach2:26357 --http-addr=roach2:8081 --listen-addr=ro\nach2:26357 --sql-addr=roach2:26258 --insecure --join=roach1:26357,roach2:26357
1869 docker rm roach2 -f
1870 docker run -d \\n--name=roach2 \\n--hostname=roach2 \\n--net=roachnet \\n-p 26258:26258 \\n-p 8081:8081 \\n-v "${PWD}/cockroach-data/roach2:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach2:26357 --http-addr=roach2:8081 --listen-addr=roach2:26357 --sql-addr=roach2:26258 --insecure --join=roach1:26357,roach2:26357
1871 docker logs roach2 -f
1872 docker exec -it roach1 ./cockroach --host=roach1:26357 init --insecure
1873 docker logs roach2 -f
1874 ./cockroach sql --host=0.0.0.0:26267 --insecure
1875 ./cockroach sql --host=0.0.0.0:26257 --insecure
1876 ./cockroach sql --host=0.0.0.0:26267 --insecure
1877 docker rm roach2 roach1 -f
1878 rm -rf ./cockroach-data/roach1/*
1879 rm -rf ./cockroach-data/roach2/*
1880 ls ./cockroach-data/roach1
1881 docker run -d \\n--name=roach2 \\n--hostname=roach2 \\n--net=roachnet \\n-p 26258:26258 \\n-p 8082:8081 \\n-v "${PWD}/cockroach-data/roach2:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach2:26357 --http-addr=roach2:8081 --listen-addr=roach2:26357 --sql-addr=roach2:26258 --insecure --join=roach1:26357,roach2:26357
1882 docker run -d \\n--name=roach1 \\n--hostname=roach1 \\n--net=roachnet \\n-p 26267:26257 \\n-p 8081:8080 \\n-v "${PWD}/cockroach-data/roach1:/cockroach/cockroach-data" \\n cockroachdb/cockroach:latest-v23.1 start --advertise-addr=roach1:26357 --http-addr=roach1:8080 --listen-addr=roach1:26357 --sql-addr=roach1:26257 --insecure --join=roach1:26357,roach2:26357
1883 docker exec -it roach1 ./cockroach --host=roach1:26357 init --insecure
1884 docker logs roach2 -f
1885 docker logs roach1 -f
1886 docker ps | grep roach
1887 docker logs roach1 -f
1888 docker exec -it roach1 ./cockroach --host=roach1:26357 init --insecure
1889 curl -vL http://localhost:8080
1890 curl -vL http://localhost:8081
1891 curl -vL http://localhost:8082
1892 docker rm roach2 roach1 -f
1893 rm -rf ./cockroach-data/roach2/*
1894 rm -rf ./cockroach-data/roach1/*
1895 curl -vL http://localhost:8081
1896 curl -vL http://localhost:8080
1897 docker run -d --name=roach5 --hostname=roach5 -p 26258:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=roach5:8080
1898 curl -vL http://localhost:8080
1899 docker rm roach5 -f
1900 docker run -d --name=roach5 --hostname=roach5 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=roach5:8080
1901 curl -vL http://localhost:8080
1902 curl -vL http://localhost:8081
1903 docker rm roach5 -f
1904 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p 4000:8080 docker.io/cockroachdb/cockroach:v23.1.11 start-single-node --insecure --http-addr=localhost:8080
1905 docker rm roach-single -f
1906 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p 4000:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=localhost:8080
1907 curl -vL http://localhost:4000
1908 docker logs roach-single -f
1909 ./cockroach sql --host=0.0.0.0:3000 --insecure
1910 docker rm -f roach-single
1911 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p 4000:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=roach-single:8080
1912 curl -vL http://localhost:4000
1913 docker rm -f roach-single
1914 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p 4000:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=localhost:8080
1915 curl -vL http://localhost:4000
1916 docker rm -f roach-single
1917 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p 4000:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=0.0.0.0:8080
1918 curl -vL http://localhost:4000
1919 history | grep port
1920 git cherry-pick --abort
1921 rebasemain
1922 docker rm -f roach-single
1923 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p localhost:4000:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=localhost:8080
1924 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p 127.0.0.1:4000:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=localhost:8080
1925 curl -vL http://localhost:4000
1926 curl -vL http://127.0.0.1:4000
1927 docker logs roach-single -f
1928 docker rm -f roach-single
1929 docker run -d --name=roach-single --hostname=roach-single -p 3000:26257 -p 4000:8081 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure --http-addr=roach-single:8081
1930 curl -vL http://127.0.0.1:4000
1931 make gen
1932 docker rm -f roach-single
1933 docker rm -f $(docker ps -a -q)
1934 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1935 rebasemain
1936 git reflog
1937 git cherry-pick ae52c18
1938 glog
1939 git reset e1a1b0c
1940 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1941 docker rm -f roach6
1942 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1943 ./cockroach sql --host=0.0.0.0:26258 --insecure
1944 go run . crdb --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n--init-source "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n--init-target "postgresql://[email protected]:26258/defaultdb?sslmode=disable" --logging=debug --shadow-mode=async
1945 ./cockroach sql --host=0.0.0.0:26258 --insecure
1946 cd orchestrator && ORCH_ALLOW_ORIGIN="/.*localhost.*/" go run . --source-dialect crdb_src --target-dialect crdb_dst --show-docs-html
1947 cd orchestrator && ORCH_ALLOW_ORIGIN="/.*localhost.*/" go run . --source-dialect crdb_src --target-dialect crdb_dst --show-docs-html --crdb-url="postgresql://[email protected]:26257/defaultdb?sslmode=disable"
1948 ORCH_ALLOW_ORIGIN="/.*localhost.*/" go run . --source-dialect crdb_src --target-dialect crdb_dst --show-docs-html --crdb-url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
1949 go run . crdb --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n--init-source "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n--init-target "postgresql://[email protected]:26258/defaultdb?sslmode=disable" --logging=debug --shadow-mode=async
1950 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c "SELECT version() LIKE 'CockroachDB%'"
1951 history | grep psql | grep 9043
1952 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1953 psql 'postgres://root@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1954 go run . crdb --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n--init-source "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n--init-target "postgresql://[email protected]:26258/defaultdb?sslmode=disable" --logging=debug --shadow-mode=sync
1955 psql 'postgres://root@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1956 ./cockroach sql --host=0.0.0.0:26258 --insecure
1957 ./cockroach sql --host=0.0.0.0:26257 --insecure
1958 psql 'postgres://root@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1959 ./cockroach sql --host=0.0.0.0:26257 --insecure
1960 cd ..
1961 ./cockroach sql --host=0.0.0.0:26257 --insecure
1962 psql 'postgres://root@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1963 ./cockroach sql --host=0.0.0.0:26257 --insecure
1964 psql 'postgres://root@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1965 history | grep docker | grep postgres
1966 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -v "${PWD}/init.sql:/docker-entrypoint-initdb.d/init.sql" postgres:15-alpine
1967 gs
1968 glog
1969 git add -u
1970 git commit -m "crdb-crdb test draft"
1971 rebasemain
1972 git cherry-pick -n e1a1b0c
1973 rebasemain
1974 git cherry-pick -n d961d8e
1975 rebasemain
1976 git cherry-pick -n d961d8e
1977 rebasemain
1978 git cherry-pick -n d961d8e
1979 ./cockroach sql --host=0.0.0.0:26257 --insecure
1980 psql 'postgres://root@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
1981 psql 'postgres://root@localhost:1228/defaultdb?sslmode=disable&gssencmode=disable'
1982 ./cockroach sql --host=0.0.0.0:26257 --insecure
1983 docker rm -f roach6
1984 docker rm -f roach5
1985 docker rm -f postgres
1986 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -v "${PWD}/init.sql:/docker-entrypoint-initdb.d/init.sql" postgres:15-alpine
1987 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1988 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
1989 gau
1990 git commit -m "seems working"
1991 git checkout -b crdb-crdb-test
1992 git checkout crdb-crdb-test
1993 git reset 90a3d0f --hard
1994 glog
1995 git push upstream --force
1996 glog
1997 git reset e1a1b0c
1998 fixproxylint && make gen
1999 glog
2000 git reset 90a3d0f6b94091af060c3f6f84f8b33183912643 --hard
2001 fixproxylint && make gen
2002 gs
2003 gau
2004 glog
2005 git commit -m "better api"
2006 git push upstream --force
2007 glog
2008 gti reset 90a3d0f --hard
2009 git reset c94daf5 --hard
2010 glog
2011 gs
2012 gau
2013 glog
2014 gcan
2015 git push upstream --force
2016 fixproxylint && make gen
2017 gs
2018 gau
2019 gcan
2020 git push upstream --force
2021 gau
2022 gcan
2023 gs
2024 git add orchestrator/api/connections_test.go
2025 gcan
2026 git push upstream --force
2027 gs
2028 gau
2029 git commit -m "worked status for mysql"
2030 gau
2031 gcan
2032 git push upstream --force
2033 gau
2034 gs
2035 glog
2036 gcan
2037 git push upstream --force
2038 gs
2039 glog
2040 git reset e1a1b0c
2041 gau
2042 gs
2043 git reset -- orchestrator/api/status_test.go
2044 gs
2045 git commit
2046 gau
2047 git commit
2048 git push upstream --force
2049 gau
2050 glog
2051 gfix d07c0b6
2052 git push upstream --force
2053 git checkout main
2054 rebasemain
2055 gau
2056 git commit -m "crdb-crdb-e2e"
2057 git checkout -b crdb-crdb-e2e
2058 git checkout main
2059 git checkout crdb-crdb-test
2060 gs
2061 gau
2062 git commit
2063 git push upstream --force
2064 gau
2065 git commit -m "dialect: add crdb2crdb dialect gate"
2066 git push upstream --force
2067 glog
2068 git reset f82f42e --hard
2069 git push upstream --force
2070 git checkout -b crdb-crdb-gate
2071 rebasemain
2072 git cherry-pick bdeac33
2073 git push upstream --force
2074 fixproxylint && make gen
2075 gau
2076 glog
2077 gcan
2078 git push upstream --force
2079 glog
2080 git reset e1a1b0c
2081 fixproxylint && make gen
2082 gau
2083 gcan
2084 glog
2085 git fetch upstream
2086 git reset upstream/main
2087 gau
2088 git commit -m "dialect: add crdb2crdb dialect gate"
2089 git push upstream --force
2090 git checkout main
2091 rebasemain
2092 git checkout crdb-crdb-e2e
2093 glog
2094 git reset e1a1b0c
2095 git diff HEAD HEAD^ helm-molt-lms/values.yaml
2096 git diff HEAD^ HEAD helm-molt-lms/values.yaml
2097 git diff HEAD^ HEAD ./helm-molt-lms/values.yaml
2098 gau
2099 git commit -m "draft"
2100 git diff HEAD^ HEAD .
2101 git diff HEAD^ HEAD . > hello.diff
2102 subl ./hello.diff
2103 gau
2104 gcan
2105 git diff HEAD^ HEAD . > hello.diff
2106 subl ./hello.diff
2107 gau
2108 gcan
2109 git diff HEAD^ HEAD . > hello.diff
2110 subl ./hello.diff
2111 toproxy
2112 cd ..
2113 ls
2114 git clone https://github.com/cockroachdb/helm-charts.git
2115 cd helm-charts
2116 glog
2117 git remote -v
2118 git remote rename origin upstream
2119 rebasemaster
2120 git checkout master
2121 rebasemaster
2122 helm template -f values.yaml lms . > out.yaml
2123 cd helm-charts
2124 cd helm-molt-lms
2125 helm template -f values.yaml lms . > out.yaml
2126 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2127 helm dependency build
2128 helm dependency update
2129 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2130 helm install --namespace default -f values.yaml lms .
2131 kgp
2132 kl lms-cockroachdb-2
2133 kl lms-cockroachdb-1
2134 kgp
2135 gau
2136 git commit -m "draft"
2137 rebasemain
2138 helm uninstall lms
2139 docker rm -f $(docker ps -a -q)
2140 helm uninstall lms
2141 glog
2142 git reflog
2143 git reset 819ec7d --hard
2144 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2145 gs
2146 ls
2147 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2148 helm install --namespace default -f values.yaml lms .
2149 kgp
2150 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2151 helm uninstall lms
2152 docker rm -f $(docker ps -a -q)
2153 ./cleanup.sh
2154 kubectl get pvc
2155 kubectl delete pvc -l app.kubernetes.io/name=cockroachdb-2
2156 kubectl delete pod -l app.kubernetes.io/name=cockroachdbtarget --force
2157 ./cleanup.sh
2158 helm install --namespace default -f values.yaml lms .
2159 kgp
2160 kl lms-cockroachdbtarget-0 > hello.log
2161 subl hello.log
2162 kl lms-cockroachdb-0 > hello-0.log
2163 subl hello-0.log
2164 kl lms-cockroachdbtarget-0 > hello.log
2165 subl hello.log
2166 kgp
2167 history | grep port-forward
2168 kubectl port-forward svc/lms 9043:9043 & \\nkubectl port-forward svc/lms-orchestrator 4200:4200 & \\nkubectl port-forward svc/lms-grafana 3000:80 & \\nkubectl port-forward svc/lms-mysql 3308:3306 & \\nkubectl port-forward svc/lms-cockroachdb 26257:26257 & \\nkubectl port-forward svc/lms-cockroachdb 8080:8080 &
2169 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2170 ./cockroach sql --host=0.0.0.0:26258 --insecure
2171 cd ..
2172 ./cockroach sql --host=0.0.0.0:26258 --insecure
2173 ./cockroach sql --host=127.0.0.1:26258 --insecure
2174 ./cockroach sql --insecure
2175 ./cockroach sql --port=26258 --insecure
2176 kl lms-cockroachdbtarget-0 > hello.log
2177 subl hello.log
2178 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2179 cd helm-molt-lms
2180 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2181 kgp
2182 kl lms-cockroachdbtarget-init-6sgfq
2183 kl lms-cockroachdbtarget-0 > hello.log
2184 kl lms-cockroachdb-0 > hello-0.log
2185 helm uninstall lms
2186 gs
2187 cd ..
2188 gs
2189 gau
2190 git commit -m "seems owkring"
2191 ./cleanup.sh
2192 cd helm-molt-lms
2193 ./cleanup.sh
2194 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2195 helm install --namespace default -f values.yaml lms .
2196 helm uninstall lms
2197 pkill -f kubectl
2198 docker rm -f $(docker ps -a -q)
2199 ./cleanup.sh
2200 helm install --namespace default -f values.yaml lms .
2201 kgp
2202 kubectl port-forward svc/lms-cockroachdb 26258:26258 &
2203 ./cockroach sql --insecure
2204 cd ..
2205 ./cockroach sql --insecure
2206 kgp
2207 kl lms-cockroachdb-0 > hello-0.log
2208 ./cockroach sql --port=26258 --insecure
2209 gau
2210 git commit -m "single crdb on 26258, worked"
2211 pkill -f kubectl
2212 helm uninstall lms
2213 ./cleanup.sh
2214 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2215 helm dependency update
2216 helm uninstall lms
2217 docker rm -f $(docker ps -a -q)
2218 helm install --namespace default -f values.yaml lms .
2219 kgp
2220 kl lms-cockroachdb-2-init-zqcxq
2221 kgp
2222 kl lms-cockroachdb-init-cw7ds
2223 kl lms-cockroachdb-0 > hello-0.log
2224 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
2225 ./cockroach sql --port=26257 --insecure
2226 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2227 ./cockroach sql --port=26258 --insecure
2228 kl lms-cockroachdbtarget-0 > hellolog
2229 kl lms-cockroachdbtarget-0 > hello.log
2230 kgp
2231 kl lms-cockroachdbtarget-0 > hello.log
2232 kgp | grep init
2233 kl lms-cockroachdbtarget-init-v47kx
2234 kl lms-cockroachdb-init-cw7ds
2235 kl lms-cockroachdb-2-init-zqcxq
2236 kl lms-cockroachdbtarget-0 > hello.log
2237 ./cockroach sql --port=26258 --insecure
2238 kl lms-cockroachdbtarget-0 > hello.log
2239 kubectl delete pvc -l app.kubernetes.io/name=cockroachdb
2240 kl lms-cockroachdbtarget-0 > hello.log
2241 kl lms-cockroachdb-0 > hello-0.log
2242 ./cockroach sql --port=26258 --insecure
2243 kl lms-cockroachdbtarget-0 > hello.log
2244 kgp
2245 kgp | grep init
2246 kl lms-cockroachdbtarget-init-v47kx
2247 kl lms-cockroachdb-init-cw7ds
2248 helm uninstall lms
2249 ./cleanup.sh
2250 docker rm -f $(docker ps -a -q)
2251 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out.yaml
2252 helm install --namespace default -f values.yaml lms .
2253 kgp
2254 kl lms-cockroachdb-2-init-zqcxq
2255 kgp | grep init
2256 kl lms-cockroachdb-init-4lh9j
2257 kgp | grep init
2258 kl lms-cockroachdbtarget-init-hvzbn
2259 pkill -f kubectl
2260 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
2261 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2262 ./cockroach sql --port=26257 --insecure
2263 ./cockroach sql --port=26258 --insecure
2264 kgp
2265 kl lms-cockroachdb-0 > hello-0.log
2266 kl lms-cockroachdbtarget-0 > hello.log
2267 gs
2268 gau
2269 git commit -m "double cluster, not working"
2270 glog
2271 git reset 75276be --hard
2272 pkill -f kubectl
2273 helm uninstall lms
2274 gs
2275 git checkout -
2276 rebasemain
2277 ./cleanup.sh
2278 docker rm -f $(docker ps -a -q)
2279 pkill -f kubectl
2280 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out-normal.yaml
2281 helm install --namespace default -f values.yaml lms .
2282 kgp
2283 kubectl delete pod -l app.kubernetes.io/instance=lms-cockroachdb-2-init-zqcxq --force
2284 kubectl delete pod lms-cockroachdb-2-init-zqcxq --force
2285 kubectl delete pod lms-cockroachdbtarget-init-hvzbn --force
2286 kubectl delete pods --all --all-namespaces
2287 helm uninstall lms
2288 ./cleanup.sh
2289 kgp
2290 pkill -f kubectl
2291 docker rm -f $(docker ps -a -q)
2292 kgp
2293 kgp | grep init
2294 kl lms-cockroachdb-init-ztjh2
2295 helm install --namespace default -f values.yaml lms .
2296 ./cockroach sql --port=26257 --insecure
2297 kgp
2298 kl lms-cockroachdb-0 > normal.log
2299 ./cockroach sql --port=26257 --insecure
2300 kl lms-cockroachdb-0 > normal.log
2301 kubectl describe pod lms-cockroachdb-0
2302 kubectl describe pod lms-cockroachdb-0 > normal-desc.log
2303 cd /cockroach/cockroach-data/
2304 cd .//cockroach/cockroach-data/
2305 cd ./cockroach/cockroach-data/
2306 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out-local-storage.yaml
2307 cd helm-molt-lms
2308 helm template -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false > out-local-storage.yaml
2309 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
2310 pkill -f kubectl
2311 helm uninstall lms
2312 mkdir /tmp/crdb-shh
2313 ./cleanup.sh
2314 kgp
2315 kd lms-cockroachdb-init-ztjh2
2316 subl ~/.zshrc
2317 kdelp lms-cockroachdb-init-ztjh2
2318 kgp
2319 helm install --namespace default -f values.yaml lms .
2320 kgp
2321 helm uninstall lms
2322 pkill -f kubectl
2323 ./cleanup.sh
2324 kgp
2325 kdelp lms-promtail-kz8nn
2326 kgp
2327 docker rm -f $(docker ps -a -q)
2328 kgp
2329 kl lms-cockroachdb-init-mkhvr
2330 kgp
2331 kl lms-cockroachdb-0
2332 helm install --namespace default -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false
2333 chmod u+x /tmp/crdb-shh
2334 helm uninstall lms
2335 kgp
2336 kdelp lms-cockroachdb-0
2337 kgp
2338 kubectl delete pods --all
2339 kgp
2340 helm install --namespace default -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false
2341 kgp
2342 kl lms-cockroachdb-0
2343 kgp
2344 kl lms-cockroachdb-0
2345 kgp
2346 helm uninstall lms
2347 ./cleanup.sh
2348 git checkout -
2349 glog
2350 git reset e1a1b0c
2351 git reflog
2352 git reset af89def --hard
2353 glog
2354 git reset e1a1b0c
2355 ./cleanup.sh
2356 helm uninstall lms
2357 docker rm -f $(docker ps -a -q)
2358 helm uninstall lms
2359 kgp
2360 kubectl delete pods --all
2361 helm dependency update
2362 helm install --namespace default -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false
2363 kgp
2364 kl lms-cockroachdb-init-xx9np
2365 kgp
2366 kl lms-cockroachdbtarget-init-s8h2x
2367 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
2368 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2369 ./cockroach sql --port=26257 --insecure
2370 cd ..
2371 ./cockroach sql --port=26257 --insecure
2372 kgp
2373 ./cockroach sql --port=26257 --insecure
2374 kl lms-cockroachdb-0 > hello-0.log
2375 ./cockroach sql --port=26257 --insecure
2376 ./cockroach sql --port=26258 --insecure
2377 ./cockroach sql --port=26257 --insecure
2378 kl lms-cockroachdb-0 > hello-0.log
2379 ./cockroach sql --port=26257 --insecure
2380 kubectl exec -it lms-cockroachdb-0 lms-cockroachdb-0 -- bash
2381 kubectl exec -it lms-cockroachdb-0 lms-cockroachdbtarget-0 -- bash
2382 kubectl exec -it lms-cockroachdbtarget-0 -- bash
2383 kgp
2384 kl lms-cockroachdb-0 > hello-0.log
2385 ./cockroach sql --port=26257 --insecure
2386 ./cockroach sql --port=26258 --insecure
2387 cd ..
2388 ./cockroach sql --port=26258 --insecure
2389 gau
2390 git commit -m "double cluster, seems working"
2391 pkill -f kubectl
2392 helm uninstall lms
2393 docker rm -f $(docker ps -a -q)
2394 ./cleanup.sh
2395 kgp
2396 docker rm -f $(docker ps -a -q)
2397 helm install --namespace default -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false
2398 kgp
2399 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2400 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
2401 ./cockroach sql --port=26258 --insecure
2402 kgp
2403 kgp | grep init
2404 kl lms-cockroachdb-init-8thsr
2405 kgp | grep init
2406 kl lms-cockroachdb-init-8thsr
2407 kgp | grep init
2408 kl lms-cockroachdbtarget-init-mbqvq
2409 ./cockroach sql --port=26258 --insecure
2410 ./cockroach sql --port=26257 --insecure
2411 gs
2412 gau
2413 git commit
2414 glog
2415 git reset e1a1b0c
2416 gau
2417 glog
2418 git commit
2419 gca
2420 git push upstream --force
2421 ./cockroach sql --port=26257 --insecure
2422 ./cockroach sql --port=26258 --insecure
2423 gau
2424 gcan
2425 cd ..
2426 gs
2427 git push upstream --force
2428 git checkout main
2429 rebasemain
2430 helm uninstall lms
2431 cd helm-molt-lms
2432 ./cleanup.sh
2433 pkill -f kubectl
2434 docker rm -f $(docker ps -a -q)
2435 kgp
2436 kl lms-orchestrator-9c75767c9-mrxnz
2437 kds lms-orchestrator-9c75767c9-mrxnz
2438 kdp lms-orchestrator-9c75767c9-mrxnz
2439 docker pull us-docker.pkg.dev/releases-prod/molt-lms-dev-releases/molt-lms:latest
2440 helm uninstall lms
2441 ./cleanup.sh
2442 docker rm -f $(docker ps -a -q)
2443 pkill -f kubectl
2444 kgp
2445 kl lms-orchestrator-9c75767c9-2qsnj
2446 cd ..
2447 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
2448 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2449 ./cockroach sql --port=26258 --insecure
2450 ./cockroach sql --port=26257 --insecure
2451 pkill -f kubectl
2452 helm uninstall lms
2453 cd helm-molt-lms
2454 ./cleanup.sh
2455 docker rm -f $(docker ps -a -q)
2456 kgp
2457 kl lms-orchestrator-65b89cb6b8-sz26m
2458 kgp
2459 cd ..
2460 ./cockroach sql --port=26258 --insecure
2461 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2462 ./cockroach sql --port=26258 --insecure
2463 kgp
2464 ks
2465 kubectl get all
2466 kgp
2467 kl lms-cockroachdbtarget-0 > hello.log
2468 subl hello.log
2469 chmod u+x ./cleanup-k8.sh
2470 ./cleanup-k8.sh
2471 subl ./cleanup-k8.sh
2472 kgp
2473 kl lms-orchestrator-679594c7f8-cjf8w
2474 kgp
2475 kl lms-orchestrator-679594c7f8-cjf8w
2476 kgp
2477 kl lms-orchestrator-679594c7f8-cjf8w
2478 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2479 ./cockroach sql --port=26258 --insecure
2480 kgp
2481 kl lms-78c8497bf6-5sdp5
2482 kdp lms-78c8497bf6-5sdp5
2483 kdp lms-78c8497bf6-5sdp5 > u.log
2484 subl u.log
2485 ./cleanup-k8.sh
2486 docker build -t cockroachdb/molt-lms:local .
2487 gs
2488 git fetch origin
2489 git add -u
2490 git commit -m "e2e add test"
2491 git checkout -b e2e-add-test
2492 git checkout main
2493 rebasemain
2494 git cherry-pick docker build -t cockroachdb/molt-lms:
2495 git cherry-pick 402cbb4f43670d37282a620eb25d832195a0637a
2496 git fetch upstream
2497 rebasemain
2498 gti cherry-pick 402cbb4f43670d37282a620eb25d832195a0637a
2499 go build -o ./molt .
2500 ./molt --help
2501 ./molt escape-password
2502 ./molt escape-password --help
2503 ./molt escape-password wyuwe$6#dsfjh
2504 ./molt escape-password --input wyuwe$6#dsfjh
2505 go build -o ./molt .
2506 ./molt escape-password wyuwe$6#dsfjh
2507 ./molt escape-password
2508 go build -o ./molt .
2509 ./molt escape-password
2510 ./molt escape-password wyuwe$6#dsfjh
2511 ./cleanup-k8.sh
2512 git chckout -
2513 gti checkout -
2514 ./cleanup-k8.sh
2515 kgp
2516 kl lms-cockroachdb-0
2517 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2518 ./cockroach sql --port=26258 --insecure
2519 kgp
2520 kl lms-orchestrator-58fdf6c765-98mrr
2521 ./cockroach sql --port=26258 --insecure
2522 kgp
2523 kl lms-orchestrator-58fdf6c765-98mrr
2524 ./cockroach sql --port=26258 --insecure
2525 psql 'postgres://root@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
2526 kgp
2527 kl lms-d9f749d84-v4hhk
2528 kubectl port-forward svc/lms 9043:9043 &
2529 ./cleanup-k8.sh
2530 git checkout crdb-crdb-gate
2531 gau
2532 glog
2533 gcan
2534 git checkout crdb-crdb-gate
2535 gau
2536 git commit
2537 git push upstream --force
2538 glog
2539 rebasemain
2540 git cherry-pick 25ab804
2541 git cherry-pick 3d0ce9e
2542 gau
2543 glog
2544 gfix dc06e3e
2545 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2546 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2547 gs
2548 git push upstream --force
2549 gau
2550 glog
2551 gay
2552 gau
2553 gfix 9f79dad
2554 git push upstream --force
2555 git checkout -
2556 glog
2557 git reset 14a0ff7
2558 ./cleanup-k8.sh
2559 git checkout -
2560 git add -u
2561 git commit -m ""draft
2562 gti checkout -
2563 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
2564 pkill -f kubectl
2565 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2566 ./cleanup-k8.sh
2567 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2568 gau
2569 glog
2570 gcan
2571 git push upstream --force
2572 git checkout -
2573 docker build -t cockroachdb/molt-lms:local .
2574 rebasemaster
2575 ./cockroach cert create-ca --certs-dir=mycerts --ca-key=mycerts/ca.key
2576 ./cockroach cert create-client --certs-dir=mycerts --ca-key=mycerts/ca.key root
2577 docker rm -f $(docker ps -a -q)
2578 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node
2579 docker exec -it roach5 ./cockroach sql --url="postgresql://root@roach5:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"
2580 docker exec -it roach5 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"
2581 docker inspect \\n -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' roach5
2582 docker exec -it roach5 sh
2583 docker exec -it roach5 ./cockroach sql --url="postgresql://root@roach5:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"
2584 docker cp roach5:/cockroach/certs/node.crt ./node.pem && openssl x509 -in ./node.pem -text
2585 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"\n
2586 docker cp roach5:/cockroach/certs ./certs && openssl x509 -in ./node.pem -text
2587 docker cp roach5:/cockroach/certs ./certs
2588 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"\n
2589 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"\n
2590 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"\n
2591 rm -rf ./certs
2592 docker rm -f $(docker ps -a -q)
2593 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node
2594 docker cp roach5:/cockroach/certs ./certs
2595 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"\n
2596 docker port test
2597 docker port roach5
2598 docker rm -f $(docker ps -a -q)
2599 docker run -d --name=roach5 --hostname=roach5 -p 127.0.0.2:26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node
2600 docker port roach5
2601 docker exec -it roach5 sh
2602 docker cp roach5:/cockroach/certs ./certs
2603 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"\n
2604 docker rm -f $(docker ps -a -q)
2605 docker run -d --name=roach5 --hostname=roach5 -p 127.0.0.2:26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --advertise-addr=127.0.0.2:26257
2606 docker logs roach5 -f
2607 docker cp roach5:/cockroach/certs ./certs
2608 ./cockroach sql --url="postgresql://[email protected]:26257/defaultdb?sslcert=certs%2Fclient.root.crt&sslkey=certs%2Fclient.root.key&sslmode=verify-full&sslrootcert=certs%2Fca.crt"\n
2609 docker port roach5
2610 docker rm -f $(docker ps -a -q)
2611 rm -rf ./certs
2612 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node
2613 docker cp roach5:/cockroach/certs ./certs
2614 gs
2615 git checkout -
2616 gau
2617 gs
2618 glog
2619 gau
2620 gfix ce8fa5d
2621 git push upstream --force
2622 git checkout -
2623 kgp
2624 kl lms-d9f749d84-5zmjt
2625 ./cleanup-k8.sh
2626 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node
2627 docker rm -f $(docker ps -a -q)
2628 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2629 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2630 cd orchestrator
2631 go run . --help
2632 cd orchestrator && ORCH_ALLOW_ORIGIN="/.*localhost.*/" go run . --source-dialect crdb_src --target-dialect crdb_dst --crdb-url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
2633 ./cockroach sql --host=127.0.0.1:26258 --insecure
2634 cd ..
2635 ./cockroach sql --host=127.0.0.1:26258 --insecure
2636 go run . pg --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 --logging=debug \\n--init-source 'postgresql://[email protected]:26257/defaultdb?sslmode=disable' \\n--init-target 'postgresql://[email protected]:26258/defaultdb?sslmode=disable' \\n--logging=debug --shadow-mode=strict-sync
2637 ./cleanup-k8.sh
2638 cd ..
2639 kgp
2640 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2641 ./cockroach sql --host=127.0.0.1:26258 --insecure
2642 kgp
2643 kl lms-696489bd86-m8nx5
2644 kgp
2645 kubectl rollout restart --help
2646 kgp
2647 ./cleanup-k8.sh
2648 kgp
2649 kl lms-7458b59889-gz97n
2650 kgp
2651 kl lms-orchestrator-59d65658fc-7gbzn
2652 docker build -t cockroachdb/molt-lms:local .
2653 history | grep us-docker
2654 docker pull us-docker.pkg.dev/releases-prod/molt-lms-dev-releases/molt-lms:latest
2655 ./cleanup-k8.sh
2656 kgp
2657 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2658 ./cockroach sql --host=127.0.0.1:26258 --insecure
2659 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
2660 kgp
2661 kl lms-orchestrator-679594c7f8-jbztx
2662 glog
2663 gau
2664 gcan
2665 glog
2666 rebasemaster
2667 rebasemain
2668 gti cherry-pick 47f90e4
2669 git add -u
2670 git cherry-pick --continue
2671 ./cleanup-k8.sh
2672 gau
2673 git commit -m "orch: let target dialect configable"
2674 git checkout main
2675 ren
2676 rebasemain
2677 git checkout -b config-target-dia
2678 git cherry-pick ebbca7c
2679 git push upstream --force
2680 gau
2681 gcan
2682 gau
2683 git commit -m "bump version to 0.2.3"
2684 git push upstream --force
2685 glog
2686 git push upstream --force
2687 glog
2688 gau
2689 glog
2690 git reset d1c1fc0
2691 git add lms/Chart.yaml
2692 gcan
2693 g;opg
2694 glog
2695 gau
2696 gfix a9ffb8e
2697 git push upstream --force
2698 ./cleanup-k8.sh
2699 gs
2700 gau
2701 glog
2702 gcan
2703 helm install --namespace default -f values.yaml lms . --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set cdcsink.enabled=false
2704 kgp
2705 kl lms-orchestrator-679594c7f8-csn9v
2706 helm dependency update
2707 cd helm-molt-lms
2708 helm dependency update
2709 glog
2710 ./cleanup-k8.sh
2711 cd ..
2712 ./cleanup-k8.sh
2713 kgp
2714 kl lms-orchestrator-55748c6c4-2hhk2
2715 kubectl port-forward svc/lms-cockroachdbtarget 26258:26258 &
2716 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
2717 gau
2718 gcan
2719 git reglog
2720 git reflog
2721 git reset e3ffa8e
2722 gau
2723 glog
2724 gfix e493816
2725 git push upstream --force
2726 kgp
2727 subl u.log
2728 subl ~/.zshrc
2729 kgs
2730 kubectl port-forward svc/lms-cockroachdbtarget-public 26258:26258 &
2731 docker rm -f roach6
2732 pkill -f kubectl
2733 kubectl port-forward svc/lms-cockroachdbtarget-public 26258:26258 &
2734 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
2735 cd helm-molt-lms
2736 helm dependency update
2737 ./cleanup-k8.sh
2738 cd ..
2739 ./cleanup-k8.sh
2740 go test ./e2e -e2e-enabled -run TestDataDriven
2741 kgp
2742 kl lms-cockroachdbtarget-2
2743 kgp
2744 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2745 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
2746 ./cockroach sql --host=127.0.0.1:26258 --insecure
2747 ./cleanup-k8.sh
2748 go test ./e2e -e2e-enabled -run TestDataDriven
2749 kgp
2750 ./cockroach sql --host=127.0.0.1:26258 --insecure
2751 kubectl get svc --all-namespaces -o go-template='{{range .items}}{{range.spec.ports}}{{if .nodePort}}{{.nodePort}}{{"\n"}}{{end}}{{end}}{{end}}'
2752 ./cockroach sql --host=127.0.0.1:26258 --insecure
2753 kgp
2754 kl lms-orchestrator-55748c6c4-nggdh
2755 kgp
2756 ./cleanup-k8.sh
2757 helm install --namespace default -f helm-molt-lms/values.yaml lms helm-molt-lms \\n --set lms.image.repository=us-docker.pkg.dev/releases-prod/molt-lms-dev-releases/molt-lms \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set deps.cockroachtarget.enabled=true \\n --set deps.mysql.enabled=false \\n --set lms.lms.sourceDialect=pg \\n --set global.lmsInitSource=postgresql://[email protected]:26257/defaultdb \\n --set global.lmsInitTarget=postgresql://[email protected]:26258/defaultdb \\n --set lms.orchestrator.sourceDialect=crdb_src \\n --set lms.orchestrator.targetDialect=crdb_dst \\n --set cdcsink.enabled=false \\n --set global.lmsURL=postgres://postgres:[email protected]:9043/defaultdb
2758 kgp
2759 kl lms-orchestrator-55748c6c4-md5rm
2760 kgp
2761 kubectl port-forward svc/lms-cockroachdb-public 26257:26257 &
2762 kubectl port-forward svc/lms-cockroachdbtarget-public 26258:26258 &
2763 kubectl port-forward svc/lms 9043:9043 &
2764 kgp
2765 kl lms-69d6c5976b-vdbv2
2766 kgp
2767 kl lms-orchestrator-55748c6c4-md5rm
2768 kgp
2769 kubectl port-forward svc/lms 9043:9043 &
2770 psql 'postgres://postgres:password@localhost:9043/defaultdb'
2771 psql 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
2772 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
2773 kl lms-cockroachdb-1
2774 kl lms-cockroachdb-1 > hello.log
2775 subl hello.log
2776 psql 'postgres://postgres:password@localhost:9043/defaultdb'
2777 kdp lms-cockroachdb-1 > hello.log
2778 kgp
2779 kl lms-cockroachdb-0
2780 kgp
2781 kl lms-69d6c5976b-hzc8b
2782 psql 'postgres://postgres:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
2783 psql 'postgres://root:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
2784 psql 'postgres://root:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c 'DROP TABLE IF EXISTS test_table; CREATE TABLE IF NOT EXISTS test_table (id INT PRIMARY KEY, t TEXT);'
2785 psql 'postgres://root@localhost:26258/defaultdb?sslmode=disable' -c 'DROP TABLE IF EXISTS test_table; CREATE TABLE IF NOT EXISTS test_table (id INT PRIMARY KEY, t TEXT);'
2786 psql 'postgres://root:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c "INSERT INTO test_table VALUES (1, 'one'), (2, 'one')"
2787 psql 'postgres://root@localhost:26258/defaultdb?sslmode=disable' -c "INSERT INTO test_table VALUES (3, 'crdb_dst_only')"
2788 psql 'postgres://root@localhost:26257/defaultdb' -c "INSERT INTO test_table VALUES (4, 'crdb_src_only')"
2789 psql 'postgres://root:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable' -c 'SELECT * FROM test_table'
2790 kubectl port-forward svc/lms-orchestrator 4200:4200 &
2791 kgp
2792 pkill -f kubectl
2793 kubectl port-forward svc/lms-orchestrator 4200:4200 &
2794 kdp lms-69d6c5976b-hzc8b
2795 kubectl port-forward pod/lms-69d6c5976b-hzc8b 9043:9043 &
2796 kubectl port-forward pod/lms-69d6c5976b-hzc8b 9044:9043 &
2797 kubectl port-forward pod/lms-69d6c5976b-hzc8b 9045:9043 &
2798 kubectl port-forward pod/lms-69d6c5976b-dh5jj 9043:9043 &
2799 pkill -f kubectl
2800 kubectl port-forward svc/lms-orchestrator 4200:4200 &
2801 kubectl get pods -o jsonpath='{range .items[?(@.status)]}{.metadata.name}{"\n"}{end}' -l release=molt-lms)
2802 kubectl get pods -o jsonpath='{range .items[?(@.status)]}{.metadata.name}{"\n"}{end}' -l release=molt-lms
2803 kubectl port-forward pod/lms-69d6c5976b-hzc8b 9043:9043 &
2804 kubectl port-forward pod/lms-69d6c5976b-dh5jj 9044:9043 &
2805 kubectl port-forward pod/lms-69d6c5976b-vdbv2 9045:9043 &
2806 history | grep cli
2807 go build -o molt-lms-cli ./cli
2808 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
2809 ./molt-lms-cli cutover consistent begin
2810 psql 'postgres://root:password@localhost:9043/defaultdb?sslmode=disable&gssencmode=disable'
2811 psql 'postgres://postgres:password@localhost:26257/defaultdb' -c
2812 psql 'postgres://postgres:password@localhost:26257/defaultdb'
2813 kubectl port-forward svc/lms-cockroachdb-public 26257:26257 &
2814 psql 'postgres://postgres:password@localhost:26257/defaultdb'
2815 ./cleanup-k8.sh
2816 helm install --namespace default -f helm-molt-lms/values.yaml lms helm-molt-lms \\n --set lms.image.repository=us-docker.pkg.dev/releases-prod/molt-lms-dev-releases/molt-lms \\n --set lms.image.pullPolicy=Never \\n --set lms.image.tag=latest \\n --set deps.prometheus.enabled=false \\n --set deps.loki.enabled=false \\n --set deps.grafana.enabled=false \\n --set deps.promtail.enabled=false \\n --set deps.cockroachtarget.enabled=true \\n --set deps.mysql.enabled=false \\n --set lms.lms.sourceDialect=pg \\n --set global.lmsInitSource=postgresql://[email protected]:26257/defaultdb \\n --set global.lmsInitTarget=postgresql://[email protected]:26258/defaultdb \\n --set lms.orchestrator.sourceDialect=crdb_src \\n --set lms.orchestrator.targetDialect=crdb_dst \\n --set cdcsink.enabled=false \\n --set global.lmsURL=postgres://[email protected]:9043/defaultdb
2817 kubectl port-forward svc/lms-cockroachdb-public 26257:26257 &
2818 kgp
2819 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
2820 ./molt-lms-cli cutover consistent begin
2821 kubectl port-forward svc/lms-orchestrator 4200:4200 &
2822 ./molt-lms-cli cutover consistent begin
2823 ./molt-lms-cli cutover consistent commit
2824 gs
2825 gau
2826 gcan
2827 glog
2828 git push upstream --force
2829 glog
2830 rebasemain
2831 git cherry-pick c9daa54
2832 glog
2833 git reset 953beb8
2834 fixproxylint && make gen
2835 gs
2836 git add cmd/common.go
2837 git add cmd/init.go
2838 git add mysqlproxy/mysqltestutil/testserver.go
2839 gs
2840 git add orchestrator/api
2841 gs
2842 git add pgproxy/pgtestutil/
2843 git add proxysettings/
2844 gs
2845 git commit
2846 cd helm-molt-lms
2847 helm dependency update
2848 gs
2849 cd ..
2850 gs
2851 cd helm-molt-lms
2852 helm dependency update
2853 gs
2854 cd ..
2855 hs
2856 gs
2857 git add e2e/testdata/
2858 git commit
2859 git push upstream --force
2860 gs
2861 gau
2862 gcan
2863 git push upstream --force
2864 git branch -v | grep metadata
2865 git branch -v
2866 git branch -v | grep cutover
2867 git reflog | grep metadata
2868 git log | grep 41f2bf7
2869 git branch --contains 41f2bf7
2870 git cherry-pick 41f2bf7
2871 glog
2872 git reset 343615a --hard
2873 git checkout -
2874 git checkout main
2875 rebasemain
2876 ./cleanup-k8.sh
2877 rebasemain
2878 git checkout -b cutover-detailed-metadata
2879 git cherry-pick git cherry-pick 41f2bf7
2880 git cherry-pick 41f2bf7
2881 glog
2882 git reset 953beb8
2883 rebasemain
2884 make gen_orch
2885 git add -u
2886 git commit -m "draft"
2887 git push upstream --force
2888 git checkout e2e-add-test
2889 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2890 ./cockroach sql --host=127.0.0.1:26258 --insecure
2891 psql
2892 runpsql
2893 gs
2894 git add pgproxy/pgtestutil/testserver.go
2895 gs
2896 git add proxysettings/proxysettings.go
2897 git add mysqlproxy/mysqltestutil/testserver.go
2898 glog
2899 git commit --fixup ec1ddd6
2900 gau
2901 glog
2902 gfix 343615a
2903 glog
2904 git rebase -i --autosquash ec1ddd6^
2905 glog
2906 git pus
2907 git push upstream --force
2908 ./scripts/setup-lms-k8s.sh crdb_crdb
2909 kgp
2910 ./cleanup-k8.sh
2911 ./scripts/setup-lms-k8s.sh crdb_crdb
2912 gau
2913 glog
2914 gcan
2915 git push upstream --force
2916 gau
2917 gcan
2918 ./cleanup-k8.sh
2919 cd helm-molt-lms
2920 helm dependency update
2921 cd ..
2922 ./cleanup-k8.sh
2923 kgp
2924 kubectl port-forward svc/lms-cockroachdbtarget-public 26258:26258 &
2925 ./cockroach sql --host=127.0.0.1:26258 --insecure
2926 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
2927 kgp
2928 kl lms-orchestrator-5fd974dd75-6v4rw
2929 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
2930 ./cleanup-k8.sh
2931 kgp
2932 kl lms-orchestrator-76b78f48f9-gj98f
2933 kubectl port-forward svc/lms-cockroachdbtarget-public 26258:26258 &
2934 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
2935 gau
2936 glog
2937 gcan
2938 git push upstream --force
2939 git diff HEAD^ HEAD . > hello.diff
2940 subl hello.diff
2941 gau
2942 git commit -m "draft"
2943 git diff HEAD^ HEAD . > hello.diff
2944 subl hello.diff
2945 glog
2946 gau
2947 gcan
2948 git commit --amend
2949 gs
2950 git checkout -
2951 rm hello.*
2952 gs
2953 subl cleanup-k8.sh w
2954 glog
2955 git reset 953beb8
2956 make gen_orch
2957 history | grep gen
2958 go gen ./...
2959 go generate ./...
2960 make gen_orch
2961 ./cleanup-k8.sh
2962 docker rm -f roach6
2963 docker rm -f $(docker ps -a -q)
2964 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2965 make run_orch
2966 go build -o molt-lms-cli ./cli
2967 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
2968 ./molt-lms-cli cutover consistent begin
2969 ./molt-lms-cli --help
2970 ./molt-lms-cli cutover --help
2971 ./molt-lms-cli cutover get_metadata --help
2972 ./molt-lms-cli cutover get_metadata -i=1
2973 mysqlproxyup 9043 9044
2974 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
2975 mysqlproxyup 9043 9044
2976 ./molt-lms-cli cutover consistent begin
2977 ./molt-lms-cli cutover get_metadata -i 1
2978 mysqlproxyup 9043 9044
2979 ./molt-lms-cli cutover consistent begin
2980 ./molt-lms-cli cutover get_metadata -i 1
2981 docker rm -f $(docker ps -a -q)
2982 mysqlproxyup 9043 9044
2983 ./molt-lms-cli cutover consistent begin
2984 ./molt-lms-cli cutover get_metadata -i 1
2985 make gen_orch_cli
2986 make gen_orch_client
2987 gs
2988 gau
2989 gs
2990 git add orchestrator/
2991 gs
2992 glog
2993 git commit -m "draft"
2994 git push upstream --force
2995 git checkout e2e-add-test
2996 gau
2997 glog
2998 gfix 6d5297e
2999 docker rm -f $(docker ps -a -q)
3000 ./cleanup-k8.sh
3001 docker rm -f $(docker ps -a -q)
3002 ./cleanup-k8.sh
3003 gs
3004 ./cleanup-k8.sh
3005 kgp
3006 kubectl port-forward svc/lms-cockroachdbtarget-public 26258:26258 &
3007 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
3008 kgp
3009 kl lms-orchestrator-686bb86486-fw8pv
3010 ./cleanup-k8.sh
3011 kgp
3012 kl lms-orchestrator-6c7b9d8597-mm7bq
3013 kgp
3014 kl lms-orchestrator-6c7b9d8597-mm7bq
3015 rebasemain
3016 glog
3017 git reset f0c06f7 --hard
3018 ./cleanup-k8.sh
3019 kgp
3020 kl lms-orchestrator-5fd974dd75-q4mlf
3021 kgp
3022 kl lms-orchestrator-5fd974dd75-q4mlf
3023 kgp
3024 kubectl port-forward svc/lms-cockroachdbtarget-public 26258:26258 &
3025 ./cockroach sql --host=127.0.0.1:26258 --insecure --database=_crdb_migrations
3026 gs
3027 gau
3028 glog
3029 gfix f038e2c
3030 gau
3031 glog
3032 gfix 4533219
3033 git push upstream --force
3034 git checkout -
3035 make gen_orch_client
3036 make gen_orch
3037 make gen
3038 gau
3039 gcan
3040 git checkout main
3041 rebasemain
3042 make run_orch
3043 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3044 make run_orch
3045 ./cleanup-k8.sh
3046 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3047 make run_orch
3048 procOfPort 4201
3049 kill -9 52212
3050 procOfPort 4201
3051 make run_orch
3052 mysqlproxyup 9045 9046
3053 go build -o molt-lms-cli ./cli
3054 ./molt-lms-cli cutover consistent begin
3055 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
3056 ./molt-lms-cli cutover consistent begin
3057 ./molt-lms-cli cutover get_metadata -i 1
3058 ./molt-lms-cli cutover consistent commit
3059 ./molt-lms-cli cutover consistent begin --help
3060 ./molt-lms-cli cutover consistent begin
3061 ./molt-lms-cli cutover consistent commit --help
3062 ./molt-lms-cli cutover consistent commit --output-type=json
3063 ./molt-lms-cli --help
3064 ./molt-lms-cli status
3065 ./molt-lms-cli status --help
3066 ./molt-lms-cli status --lms-addresses="0.0.0.0:9045"
3067 ./molt-lms-cli status --lms-addresses="0.0.0.0:9045,0.0.0.0:9043"
3068 \q
3069 git checkout -
3070 fixproxylint && make gen
3071 go build -o molt-lms-cli ./cli
3072 mysqlproxyup 9043 9044
3073 docker rm -f $(docker ps -a -q)
3074 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3075 make run_orch
3076 mysqlproxyup 9043 9044
3077 mysqlproxyup 9045 9046
3078 mysqlproxyup 9045 9046
3079 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3080 ./molt-lms-cli cutover get_metadata -i 1
3081 ./molt-lms-cli cutover consistent commit
3082 ./molt-lms-cli cutover get_metadata -i 1
3083 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3084 ./molt-lms-cli cutover get_metadata -i 2
3085 ./molt-lms-cli cutover get_metadata -i 1
3086 ./molt-lms-cli cutover get_metadata -i 2
3087 ./molt-lms-cli cutover consistent commit
3088 ./molt-lms-cli cutover get_metadata -i 2
3089 gau
3090 git commit -m "work if get_metadata in the middle of cutover"
3091 git push upstream --force
3092 gau
3093 git commit -m "draft"
3094 git push upstream --force
3095 git checkout -
3096 git checkout e2e-add-test
3097 gau
3098 git commit -m "comment out new tests"
3099 git push upstream --force
3100 git checkout cutover-detailed-metadata
3101 gau
3102 gcan
3103 git checkout -
3104 gau
3105 glog
3106 gfix b534cd0
3107 git push upstream --force
3108 glog
3109 gs
3110 glog
3111 git reset 740cf7b --hard
3112 glog
3113 git push upstream --force
3114 docker rm -f $(docker ps -a -q)
3115 ./cleanup-k8.sh
3116 docker run -d --name=roach5 --hostname=roach5 -p 26457:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3117 psql 'postgres://root@localhost:26457/defaultdb'
3118 psql 'postgres://root@localhost:26457/defaultdb' -c 'DROP TABLE IF EXISTS dialect; CREATE TABLE IF NOT EXISTS dialect (name TEXT); INSERT INTO dialect VALUES ('crdb_src');'
3119 psql 'postgres://root@localhost:26457/defaultdb'
3120 docker logs roach5 -f
3121 docker rm roach5 -f
3122 docker run -d --name=roach5 --hostname=roach5 -p 26457:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3123 docker logs roach5 -f
3124 docker rm roach5 -f
3125 psql 'postgres://root@localhost:26457/defaultdb'
3126 psql 'postgres://root@localhost:26457/defaultdb' -c "DROP TABLE IF EXISTS dialect; CREATE TABLE IF NOT EXISTS dialect (name TEXT); INSERT INTO dialect VALUES ('crdb_src');"
3127 psql 'postgres://root@localhost:26457/defaultdb' -c "SELECT name FROM dialect WHERE name LIKE 'crdb_%' LIMIT 1;"
3128 gau
3129 glog
3130 gfix d653d75
3131 git push upstream --force
3132 git checkout 0
3133 git checkout -
3134 gau
3135 git commit -m ""draft
3136 git checkout -
3137 gau
3138 glog
3139 gfix 0340b1b
3140 git push upstream --force
3141 git checkout -
3142 git checkout main
3143 rebasemain
3144 kubectl port-forward svc/lms-cockroachdb-public 26457:26257 &
3145 git checkout -
3146 git checkout e2e-add-test
3147 gau
3148 glog
3149 gfix 3fe1a53
3150 git push upstream --force
3151 git checkout main
3152 rebasemain
3153 gau
3154 git checkout -b cutover-shadow-gate
3155 gau
3156 git commit
3157 git push upstream --force
3158 gca
3159 git push upstream --force
3160 ./cleanup-k8.sh
3161 docker run -d --name=roach5 --hostname=roach5 -p 26457:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3162 docker rm roach5 -f
3163 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3164 gau
3165 git commit -m "add test"
3166 gau
3167 gcan
3168 gca
3169 git push upstream --force
3170 git checkout e2e-add-test
3171 gau
3172 glog
3173 gfix 2eccfad
3174 gau
3175 glog
3176 gfix e26692b
3177 glog
3178 git reset 4cba33eadfdc6d498599226fbc0388a4036ea80d
3179 gau
3180 glog
3181 gfix 2eccfad
3182 gs
3183 subl e2e/testdata/crdb-crdb-shadow-none.ddt
3184 vim e2e/testdata/crdb-crdb-shadow-none.ddt
3185 gs
3186 gau
3187 glog
3188 gfix 5ea0e3a
3189 git push upstream --force
3190 git checkout -
3191 gau
3192 glog
3193 gcan
3194 git push upstream --force
3195 gau
3196 gcan
3197 git checkout -
3198 glog
3199 git reset 49316db --hard
3200 git push upstream --force
3201 git checkout -
3202 glog
3203 git reset 79ef64a
3204 gau
3205 git reflof
3206 git reflog
3207 git commit -m "proxy, orch: add and fix tests with shadowing mode with cutover"
3208 git push upstream --force
3209 gau
3210 gcan
3211 git push upstream --force
3212 glog
3213 gs
3214 git add mysqlproxy/testdata
3215 gs
3216 gcan
3217 git push upstream --force
3218 docker rm roach5 -f
3219 docker rm -f $(docker ps -a -q)
3220 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3221 gau
3222 glog
3223 gcan
3224 git push upstream --force
3225 gau
3226 gcan
3227 git push upstream --force
3228 gau
3229 gcan
3230 git push upstream --force
3231 git reflo
3232 git reflog
3233 gti reset 0b23e99 --hard
3234 docker rm -f $(docker ps -a -q)
3235 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3236 gau
3237 git commit -m "still race"
3238 docker rm -f $(docker ps -a -q)
3239 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3240 history | grep postgres
3241 history | grep docker | grep postgres
3242 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -v "${PWD}/init.sql:/docker-entrypoint-initdb.d/init.sql" postgres:15-alpine
3243 gau
3244 gcan
3245 glog
3246 git reset 0b23e99
3247 gau
3248 gcan
3249 git push upstream --force
3250 fixproxylint && make gen
3251 gau
3252 gcan
3253 git push upstream --force
3254 git checkout cutover-detailed-metadata
3255 glog
3256 fixproxylint && make gen
3257 go build -o molt-lms-cli ./cli
3258 gau
3259 git commit -m "draft"
3260 docker-compose -f ./deb-docker-compose.yaml
3261 docker-compose -f ./deb-docker-compose.yaml start
3262 docker-compose -f ./deb-docker-compose.yaml pull
3263 go generate ./...
3264 make gen_orch
3265 docker rm -f $(docker ps -a -q)
3266 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3267 ./cockroach sql
3268 ./cockroach sql --insecure
3269 gau
3270 gcan
3271 git checkout main
3272 rebasemain
3273 git checkout -
3274 rebasemain
3275 gau
3276 git checkout bump-2-3
3277 git checkout -b bump-2-3
3278 git commit
3279 git push upstream --force
3280 helm repo add lms https://molt.cockroachdb.com/lms/charts
3281 helm repo update
3282 helm search repo lms
3283 docker rm -f $(docker ps -a -q)
3284 ./cleanup-k8.sh
3285 make run_orch
3286 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3287 docker logs
3288 docker logs roach5 -f
3289 ./cockroach sql --insecure
3290 make r
3291 make run_orch
3292 mysqlproxyup 9045 9046
3293 mysqlproxyup 9043 9044
3294 mysqlproxyup 9045 9046
3295 https://maps.app.goo.gl/6qKVHWFm2ogYLtWb6
3296 mysqlproxyup 9043 9044
3297 ./molt-lms-cli cutover get_metadata -i 0
3298 ./molt-lms-cli cutover get_metadata -i 1
3299 ./molt-lms-cli cutover consistent begin
3300 ./molt-lms-cli cutover get_metadata -i 1
3301 go build -o molt-lms-cli ./cli
3302 ./molt-lms-cli cutover get_metadata -i 1
3303 \q
3304 go build -o molt-lms-cli ./cli
3305 docker rm -f $(docker ps -a -q)
3306 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3307 docker logs roach5 -f
3308 make run_orch
3309 git checkout -
3310 mysqlproxyup 9043 9044
3311 make run_orch
3312 mysqlproxyup 9045 9046
3313 ./molt-lms-cli cutover consistent begin
3314 ./molt-lms-cli cutover get_metadata -i 1
3315 ./molt-lms-cli cutover consistent commit
3316 ./molt-lms-cli cutover get_metadata -i 1
3317 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3318 make run_orch
3319 docker rm -f $(docker ps -a -q)
3320 mysqlproxyup 9045 9046
3321 docker logs roach5 -f
3322 mysqlproxyup 9043 9044
3323 make run_orch
3324 mysqlproxyup 9045 9046
3325 mysqlproxyup 9043 9044
3326 make run_orch
3327 ./molt-lms-cli cutover consistent begin
3328 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3329 ./molt-lms-cli cutover consistent commit
3330 ./molt-lms-cli cutover get_metadata -i 1
3331 go build -o molt-lms-cli ./cli
3332 make run_orch
3333 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3334 ./molt-lms-cli cutover get_metadata -i 1
3335 ./molt-lms-cli cutover consistent commit
3336 ./molt-lms-cli cutover get_metadata -i 1
3337 mysqlproxyup 9045 9046
3338 mysqlproxyup 9043 9044
3339 docker rm -f $(docker ps -a -q)
3340 go build -o molt-lms-cli ./cli
3341 mysqlproxyup 9043 9044
3342 make run_orch
3343 docker logs roach5 -f
3344 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3345 make run_orch
3346 mysqlproxyup 9043 9044
3347 mysqlproxyup 9045 9046
3348 mysqlproxyup 9043 9044
3349 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
3350 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3351 ./molt-lms-cli cutover get_metadata -i 1
3352 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
3353 ./molt-lms-cli cutover get_metadata -i 1
3354 docker rm -f $(docker ps -a -q)
3355 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3356 docker rm -f $(docker ps -a -q)
3357 mysqlproxyup 9045 9046
3358 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3359 ./molt-lms-cli cutover get_metadata -i 1
3360 mysqlproxyup 9043 9044
3361 docker rm -f $(docker ps -a -q)
3362 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3363 make run_orch
3364 mysqlproxyup 9043 9044
3365 mysqlproxyup 9045 9046
3366 mysqlproxyup 9045 9046
3367 mysqlproxyup 9043 9044
3368 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3369 gau
3370 gcan
3371 fixproxylint && make gen
3372 gau
3373 gcan
3374 git push upstream --force
3375 gau
3376 gcan
3377 git push upstream --force
3378 fixproxylint && make gen
3379 rebasemain
3380 docker rm -f $(docker ps -a -q)
3381 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3382 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3383 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3384 ./cockroach sql --insecure
3385 toproxy
3386 ./cockroach sql --insecure
3387 docker logs roach5 -f
3388 docker rm -f $(docker ps -a -q)
3389 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3390 docker logs roach5 -f
3391 ./cockroach sql --insecure
3392 cp ../crdb-proxy/cockroach ./
3393 ./cockroach sql --insecure
3394 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3395 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3396 docker logs roach6 -f
3397 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3398 ./cockroach sql --insecure
3399 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3400 docker rm -f $(docker ps -a -q)
3401 ./cockroach start-single-node --listen-addr=localhost:26257 --insecure --store=/tmp/node1
3402 ./cockroach start-single-node --listen-addr=localhost:26258 --insecure --store=/tmp/node2
3403 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --insecure --store=/tmp/node2
3404 ./cockroach sql --insecure
3405 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3406 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3407 go run . --help
3408 pwd
3409 cd /Users/janexing/go/src/github.com/cockroachdb/molt
3410 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3411 export AWS_REGION='us-east-1'
3412 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3413 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3414 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3415 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3416 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \ \n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3417 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3418 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' --live
3419 go run . verify --help
3420 go run . verify --live --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3421 go run . verify --continuous --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3422 ./cockroach sql --insecure
3423 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3424 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3425 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3426 go run . verify --continuous --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3427 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3428 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3429 go run . verify --continuous --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3430 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3431 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --s3-bucket 'molt-test'
3432 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3433 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3434 \d
3435 ls
3436 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3437 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
3438 ls /tmp
3439 cd /tmp/basic
3440 ls
3441 open .
3442 cd public.employees
3443 ls
3444 cat public.employees
3445 cat ./part_00000001.csv
3446 pwd
3447 subl ~/.zshrc
3448 source ~/.zshrc
3449 tomolt
3450 subl ~/.zshrc
3451 cd /Users/janexing/go/src/github.com/cockroachdb/molt
3452 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3453 go build -o molt-fetch ./fetch
3454 ./molt-fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
3455 chmod u+x ./molt-fetch
3456 ./molt-fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
3457 ./molt-fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'employees' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
3458 ls /tmp/basic/public.employees
3459 cat /tmp/basic/public.employees/part_00000001.csv
3460 vim /tmp/basic/public.employees/part_00000001.csv
3461 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3462 rm ./molt-fetch
3463 go run . ver
3464 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3465 cat /tmp/basic/public.employees/part_00000001.csv
3466 sed -i 's/\'//g' /tmp/basic/public.employees/part_00000001.csv
3467 sed -i `s/\'//g` /tmp/basic/public.employees/part_00000001.csv
3468 tr -d \' /tmp/basic/public.employees/part_00000001.csv
3469 tr -d \'\" /tmp/basic/public.employees/part_00000001.csv
3470 sed "s/['\"]//g" /tmp/basic/public.employees/part_00000001.csv
3471 sed -i "s/['\"]//g" /tmp/basic/public.employees/part_00000001.csv
3472 sed -i "s/\'//g" /tmp/basic/public.employees/part_00000001.csv
3473 sed "s/\'//g" /tmp/basic/public.employees/part_00000001.csv
3474 sed -i '' "s/\'//g" /tmp/basic/public.employees/part_00000001.csv
3475 cat /tmp/basic/public.employees/part_00000001.csv
3476 go run . molt --jelp
3477 go run . molt --help
3478 go run . fetch --help
3479 sed -i '' "s/\'//g" /tmp/basic/public.employees/part_00000001.csv
3480 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3481 rm /tmp/basic/public.employees/part_00000001.csv
3482 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3483 rebasemain
3484 gau
3485 git checkout -b export-with-new-fmt
3486 git add -u
3487 git commit
3488 git push upstream --force
3489 docker rm -f $(docker ps -a -q)
3490 gau
3491 gcan
3492 git push upstream --force
3493 git log
3494 glog
3495 git reset 953beb8
3496 gau
3497 git commit -m "*: add lms specific result for get_metadata"
3498 gca
3499 git push upstream --force
3500 glog
3501 rebasemain
3502 git cherry-pick cf543a9
3503 git push upstream --force
3504 gau
3505 gs
3506 git add orchestrator/design/cutovertypes
3507 gau
3508 gcan
3509 gs
3510 git push upstream --force
3511 glog
3512 git checkout cutover-shadow-gate
3513 glog
3514 gs
3515 git add internal/proxyserver/cutover_test.go
3516 gcan
3517 glog
3518 gau
3519 gfix 79ef64a
3520 glog
3521 rebasemain
3522 gcpfromto 8ee2b72 14c0fde
3523 git push upstream --force
3524 gau
3525 glog
3526 gfix 35480a7
3527 git push upstream --force
3528 git checkout -
3529 docker rm -f $(docker ps -a -q)
3530 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3531 docker rm -f $(docker ps -a -q)
3532 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3533 mysqlproxyup 9043 9044
3534 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
3535 go build -o molt-fetch ./fetch
3536 go build -o molt-lms-cli ./cli
3537 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043,0.0.0.0:9045"
3538 ./molt-lms-cli cutover get_metadata -i 1
3539 gau
3540 gcan
3541 fixproxylint && make gen
3542 gau
3543 gcan
3544 git push upstream --force
3545 ./cockroach sql --insecure
3546 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3547 gau
3548 subl ~/.zshrc
3549 source ~/.zshrc
3550 fixmoltlint
3551 gau
3552 gs
3553 glog
3554 gcan
3555 git push upstream --force
3556 gau
3557 gcan
3558 git push upstream --force
3559 git checkout -
3560 gau
3561 gcan
3562 glo
3563 glog
3564 rebasemain && git cherry-pick 95429c8
3565 git push upstream --force
3566 gca
3567 git push upstream --force
3568 git checkout cutover-shadow-gate
3569 glog
3570 git rebase -i HEAD~2
3571 git push upstream --force
3572 git checkout -
3573 glog
3574 git rese 83bc48a
3575 git reset 83bc48a
3576 echo "hello none" | grep -vi 'none'
3577 echo "hello none" | grep -vi '^none$'
3578 go test -race -v 2>&1 ./... -run TestDataDriven -l github.com/cockroachdb/molt/fetch | tee test_output.txt
3579 go test -race -v 2>&1 ./... -run TestDataDriven -gcflags all=-N -l github.com/cockroachdb/molt/fetch | tee test_output.txt
3580 go test fetch -run TestDataDriven
3581 go test github.com/cockroachdb/molt/fetch -run TestDataDriven
3582 history | grep tee
3583 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
3584 gau
3585 git commit
3586 git push upstream --force
3587 gau
3588 gcan
3589 git push upstream --force
3590 docker rm -f $(docker ps -a -q)
3591 docker-compose up -d cockroachdb cockroachdbtarget postgresql
3592 docker-compose up -d cockroachdb cockroachdbtarget postgresql -f .github/docker-compose.yml
3593 docker-compose --help
3594 docker-compose up --help
3595 docker-compose --help
3596 docker-compose up -d cockroachdb cockroachdbtarget postgresql --file .github/docker-compose.yml
3597 docker-compose --file .github/docker-compose.yml -d cockroachdb cockroachdbtarget postgresql
3598 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3599 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
3600 go clean -testcache
3601 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
3602 glog
3603 git reset 83bc48a
3604 gau
3605 gs
3606 git add fetch/testdata/crdb/
3607 gs
3608 git commit -m "rollback tests in pg and mysql"
3609 git reglog
3610 git reflog
3611 git reset d54fd6a --hard
3612 git cherry-pick ff4073d
3613 gau
3614 git cherry-pick --continue
3615 gau
3616 glog
3617 git reset d54fd6a
3618 gs
3619 git add fetch/testdata/crdb/
3620 gcan
3621 gau
3622 git commit -m "rollback tests in pg and mysql"
3623 glog
3624 git reset 83bc48a
3625 gs
3626 git reflof
3627 git reflog
3628 git reset c0da064 --hard
3629 git push upstream --force
3630 git checkout -
3631 gca
3632 git push upstream --force
3633 docker rm -f $(docker ps -a -q)
3634 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080 --join=localhost:26257,localhost:26258 --cache=.25 --max-sql-memory=.25 --background
3635 mysqlproxyup 9045 9046
3636 make run_orch
3637 procOfPort 8080
3638 kill -9 17624
3639 procOfPort 8080
3640 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080 --join=localhost:26257,localhost:26258 --cache=.25 --max-sql-memory=.25 --background
3641 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258 --cache=.25 --max-sql-memory=.25 --background
3642 gau
3643 gcan
3644 git push upstream --force
3645 docker ps
3646 git checkout main
3647 git checkout -b test-fmt
3648 rebasemain && git cherry-pick 95429c8
3649 rebasemain
3650 gau
3651 git commit -m "fmt to export "
3652 git push upstream --force
3653 gau
3654 gcan
3655 git push upstream --force
3656 gau
3657 gcan
3658 git push upstream --force
3659 gau
3660 gcan
3661 git push upstream --force
3662 gau
3663 git commit -m "add cockroachtarget"
3664 git push upstream --force
3665 gau
3666 gcan
3667 git checkout export-with-new-fmt
3668 git cherry-pick 609a69c
3669 git cherry-pick --abort
3670 gau
3671 git commit -m "changed addr of target"
3672 git push upstream --force
3673 glog
3674 gau
3675 gcan
3676 git push upstream --force
3677 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3678 gau
3679 gcan
3680 git push upstream --force
3681 gau
3682 gcan
3683 git push upstream --force
3684 gau
3685 gcan
3686 git push upstream --force
3687 gau
3688 gcan
3689 git push upstream --force
3690 docker rm -f $(docker ps -a -q)
3691 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3692 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3693 docker rm -f $(docker ps -a -q)
3694 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3695 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3696 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3697 docker logs roach6 -f
3698 procOfPort 26258
3699 kill -9 17909
3700 docker rm -f $(docker ps -a -q)
3701 procOfPort 26258
3702 procOfPort 26257
3703 kill -9 29985
3704 procOfPort 26257
3705 kill -9 20243
3706 procOfPort 26257
3707 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3708 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3709 docker rm -f $(docker ps -a -q)
3710 rm -rf /tmp/node0
3711 rm -rf /tmp/node1
3712 rm -rf /tmp/node2
3713 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --insecure --store=/tmp/node2
3714 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --insecure --store=/tmp/node1\n
3715 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3716 go run . verify --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable'
3717 go run . verify --source 'postgres://root@localhost:26257/fetch_crdb_basic?sslmode=disable' --target 'postgres://root@localhost:26258/fetch_crdb_basic?sslmode=disable'
3718 rm -rf /tmp/node2
3719 rm -rf /tmp/node1
3720 rm -rf /tmp/node0
3721 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3722 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3723 cd go/src
3724 ls
3725 cd /go/src
3726 cd /Users/janexing/go/src/
3727 ls
3728 rm -rf advent23
3729 cd github.com
3730 git init
3731 agu
3732 gau
3733 git commit
3734 touch .gitignore
3735 gs
3736 git add -a
3737 git add -all
3738 gs
3739 git add
3740 git add .
3741 gs
3742 git commit -m "hello world"
3743 gti remote add origin https://github.com/ZhouXing19/advent23.git
3744 git push origin --force
3745 wget https://adventofcode.com/2023/day/1/input
3746 chmod u+x ./day1/input.txt
3747 gau
3748 gs
3749 git commit -m "Day 1"
3750 git push origin --force
3751 go mod tidy
3752 go install
3753 go mod download
3754 gau
3755 gcan
3756 gs
3757 git commit -m "Day 2"
3758 git push origin --force
3759 gca
3760 git push origin --force
3761 glog
3762 git reflog
3763 git reset 0336b69
3764 gs
3765 git add day1
3766 gs
3767 git add util/
3768 git add go.mod
3769 git add main.go
3770 git commit -m "Day 1"
3771 glog
3772 gs
3773 git add day2
3774 git commit -m "Day 2"
3775 git push origin --force
3776 gau
3777 gs
3778 git commit -m "Day 3"
3779 git push origin --force
3780 gau
3781 gcan
3782 git push origin --force
3783 gau
3784 gcan
3785 git push origin --force
3786 tocockroach
3787 rebasemaster
3788 glog
3789 gs
3790 gau
3791 gcan
3792 gau
3793 gcan
3794 git push origin --force
3795 git push upstream --force
3796 fixmoltlint
3797 gaugau
3798 gau
3799 gcan
3800 git push upstream --force
3801 gau
3802 gcan
3803 git push upstream --force
3804 gau
3805 gcan
3806 git push upstream --force
3807 docker rm -f $(docker ps -a -q)
3808 procOfPort 26257
3809 procOfPort 26258
3810 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --insecure --store=/tmp/node1\n
3811 rm -rf /tmp/node0
3812 rm -rf /tmp/node1
3813 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --insecure --store=/tmp/node1\n
3814 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --insecure --store=/tmp/node2
3815 docker rm -f $(docker ps -a -q)
3816 rm -rf /tmp/node1
3817 rm -rf /tmp/node2
3818 rm -rf /tmp/node0
3819 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3820 docker ps
3821 docker ps | grep cockroach
3822 docker logs cockroachdbtarget-1 -f
3823 docker logs github-cockroachdbtarget-1 -f
3824 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3825 docker rm -f $(docker ps -a -q)
3826 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3827 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3828 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3829 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3830 procOfPort 26258
3831 docker rm -f $(docker ps -a -q)
3832 docker-compose down
3833 docker-compose --help
3834 docker-compose down
3835 docker-compose --file .github/docker-compose.yml down
3836 docker rm -f $(docker ps -a -q)
3837 procOfPort 26258
3838 procOfPort 26257
3839 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3840 procOfPort 26258
3841 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3842 ./cockroach sql --insecure --url="postgresql://[email protected]:26257/defaultdb?sslmode=disable"
3843 ping http://localhost:4040
3844 get http://localhost:4040
3845 wget http://localhost:4040/public.tbl9/part_00000001.csv
3846 ls
3847 cat part_00000001.csv
3848 gau
3849 git commit -m "some ugly changes so that docker compose can work locally"
3850 git push upstream --force
3851 docker-compose --file .github/docker-compose.yml down
3852 docker rm -f $(docker ps -a -q)
3853 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3854 docker logs github-cockroachdbtarget-1 -f
3855 docker build -t cockroachdb/cockroach-local ./build/deploy
3856 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:local start-single-node --insecure
3857 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure
3858 docker rm -f $(docker ps -a -q)
3859 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure
3860 docker logs roach5 -f
3861 docker rm -f $(docker ps -a -q)
3862 docker run -d --name=roach5 --hostname=roach5 -p 26258:26258 -p 8081:8081 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=localhost:26258 --http-addr=localhost:8081
3863 docker logs roach5 -f
3864 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3865 docker exec -it roach5 sh
3866 docker port test
3867 docker port roach5
3868 ./cockroach sql --insecure --port=26258
3869 ./cockroach sql --insecure --port=26257
3870 ./cockroach sql --insecure --host=127.0.0.1:26258
3871 docker port roach5 26258
3872 docker port roach5 26258/tcp
3873 ./cockroach sql --insecure --host=0.0.0.0:26258
3874 docker rm -f $(docker ps -a -q)
3875 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080
3876 docker logs roach5 -f
3877 ./cockroach sql --insecure --host=0.0.0.0:26257
3878 ./cockroach sql --insecure
3879 docker rm -f $(docker ps -a -q)
3880 docker build -t cockroachdb/cockroach-local ./build/deploy
3881 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080
3882 docker logs roach5 -f
3883 ./cockroach sql --insecure
3884 docker exec -it roach5 sh
3885 docker port roach5 26258/tcp
3886 docker port roach5 26257/tcp
3887 docker build -t cockroachdb/cockroach-local ./build/deploy
3888 d
3889 docker rm
3890 docker rm -f $(docker ps -a -q)
3891 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080
3892 docker logs roach5 -f
3893 docker build -t cockroachdb/cockroach-local ./build/deploy
3894 rebasemaster
3895 docker build -t cockroachdb/cockroach-local ./build/deploy
3896 docker rm -f $(docker ps -a -q)
3897 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080
3898 docker logs roach5 -f
3899 ./cockroach sql --insecure
3900 docker rm -f $(docker ps -a -q)
3901 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure
3902 ./cockroach sql --insecure
3903 docker logs roach5 -f
3904 docker rm -f $(docker ps -a -q)
3905 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure
3906 docker logs roach5 -f
3907 ./cockroach sql --insecure
3908 docker rm -f $(docker ps -a -q)
3909 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080
3910 docker logs roach5 -f
3911 ./cockroach sql --insecure
3912 docker rm -f $(docker ps -a -q)
3913 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=0.0.0.0:26257 --http-addr=0.0.0.0:8080
3914 ./cockroach sql --insecure
3915 docker logs roach5 -f
3916 docker build -t cockroachdb/cockroach-local ./build/deploy
3917 docker rm -f $(docker ps -a -q)
3918 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=0.0.0.0:26257 --http-addr=0.0.0.0:8080
3919 docker logs roach5 -f
3920 docker build -t cockroachdb/cockroach-local ./build/deploy
3921 docker rm -f $(docker ps -a -q)
3922 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=0.0.0.0:26257 --http-addr=0.0.0.0:8080
3923 docker logs roach5 -f
3924 ./cockroach sql --insecure
3925 docker run -d --name=roach5 --hostname=roach5 -p 26258:26258 -p 8081:8081 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=0.0.0.0:26258 --http-addr=0.0.0.0:8081
3926 docker rm -f $(docker ps -a -q)
3927 docker run -d --name=roach5 --hostname=roach5 -p 26258:26258 -p 8081:8081 cockroachdb/cockroach-local start-single-node --insecure --listen-addr=0.0.0.0:26258 --http-addr=0.0.0.0:8081
3928 docker logs roach5 -f
3929 ./cockroach sql --insecure
3930 ./cockroach sql --insecure --host=0.0.0.0:26258
3931 docker-compose --file .github/docker-compose.yml down
3932 docker rm -f $(docker ps -a -q)
3933 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3934 docker logs github-cockroachdbtarget-1 -f
3935 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
3936 ./cockroach sql --insecure
3937 docker ps
3938 docker ps | grep cockroach
3939 docker-compose --file .github/docker-compose.yml down
3940 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --insecure --store type=mem,size=2G
3941 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --insecure --store type=mem,size=2G\n
3942 ./cockroach sql --insecure
3943 ./cockroach sql --insecure --host=0.0.0.0:26258
3944 ./cockroach sql --insecure --host=0.0.0.0:26257
3945 ./cockroach sql --insecure --host=0.0.0.0:26259
3946 ./cockroach sql --insecure --host=0.0.0.0:26257
3947 ./cockroach sql --insecure --host=0.0.0.0:26258
3948 ./cockroach sql --insecure --host=0.0.0.0:26257
3949 ./cockroach sql --insecure --host=0.0.0.0:26258
3950 ./cockroach sql --insecure --host=0.0.0.0:26257
3951 docker-compose --file .github/docker-compose.yml down
3952 docker rm -f $(docker ps -a -q)
3953 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3954 docker logs github-cockroachdb-1 -f
3955 docker logs github-cockroachdbtarget-1 -f
3956 ./cockroach sql --insecure --host=0.0.0.0:26257
3957 ./cockroach sql --insecure --host=0.0.0.0:26258
3958 ./cockroach sql --insecure --host=0.0.0.0:26257
3959 ./cockroach sql --insecure --host=0.0.0.0:26258
3960 procOfPort 4040
3961 wget http://localhost:4040/public.tbl9/part_00000001.csv
3962 rm ./ part_00000001.csv.1
3963 rm ./part_00000001.csv.1
3964 ls
3965 wget http://localhost:4040/public.tbl9/part_00000001.csv
3966 gau
3967 git commit -m "replicated ci error"
3968 git checkout main
3969 rebasemain
3970 docker-compose --file .github/docker-compose.yml down
3971 docker rm -f $(docker ps -a -q)
3972 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
3973 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql
3974 docker-compose --file .github/docker-compose.yml down
3975 docker rm -f $(docker ps -a -q)
3976 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --insecure --store type=mem,size=2G\n
3977 ./cockroach start-single-node --insecure
3978 ping http://localhost:4040
3979 wget http://localhost:4040/public.tbl9/part_00000001.csv
3980 wget http://localhost:4040/public.tbl1/part_00000001.csv
3981 docker ps
3982 docker ps | grep cockroach
3983 procOfPort 26257
3984 procOfPort 26258
3985 docker rm -f $(docker ps -a -q)
3986 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
3987 wget http://localhost:4040/public.tbl2/part_00000001.csv
3988 docker-compose --file .github/docker-compose.yml down
3989 docker rm -f $(docker ps -a -q)
3990 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql
3991 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
3992 docker-compose --file .github/docker-compose.yml down
3993 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql
3994 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
3995 docker-compose --file .github/docker-compose.yml down
3996 cd ./.github
3997 docker-compose up -d cockroachdb mysql postgresql
3998 cd ..
3999 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
4000 ./cockroach start-single-node --insecure
4001 ./cockroach sql --insecure --host=0.0.0.0:26257
4002 docker-compose down
4003 cd ..
4004 cd ./
4005 cd molt
4006 cd .github
4007 docker-compose down
4008 cd .
4009 cd ..
4010 git checkout -
4011 rebasemain
4012 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql
4013 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
4014 docker rm -f $(docker ps -a -q)
4015 git checkout -
4016 docker-compose --file .github/docker-compose.yml down
4017 glog
4018 git reset 83bc48a
4019 gau
4020 git commit -m "draft"
4021 gs
4022 git add fetch/testdata/crdb/
4023 gcan
4024 gs
4025 rm -rf ./cockroach-data/
4026 rm verifier.log
4027 rm verify.log
4028 gs
4029 rm test_output.txt
4030 gs
4031 docker rm -f $(docker ps -a -q)
4032 procOfPort 26258
4033 docker ps
4034 git checkout main
4035 rebasemain
4036 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql mysql
4037 docker logs github-cockroachdb-1 -f
4038 ./cockroach sql --insecure --host=0.0.0.0:26257
4039 docker exec -it github-cockroachdb-1 sh
4040 go test -race -v 2>&1 github.com/cockroachdb/molt/fetch -run TestDataDriven
4041 curl -vL http://127.0.0.1:4040
4042 docker-compose --file .github/docker-compose.yml down
4043 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql mysql
4044 subl ~/.zshrc
4045 docker-compose --file .github/docker-compose.yml down
4046 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql mysql
4047 docker exec -it github-cockroachdb-1 sh
4048 rm -rf /tmp/node2
4049 ./cockroach start-single-node --listen-addr=local\nhost:26258 --http-addr=localhost:8081 --insecure --\nstore=/tmp/node2
4050 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --insecure --store=/tmp/node2
4051 go test -race -v 2>&1 ./... | tee test_output.txt
4052 ./cockroach sql --insecure --host=0.0.0.0:26258
4053 ./cockroach sql --insecure --host=localhost:26258\n
4054 docker inspect github-cockroachdb-1 -f "{{json .NetworkSettings.Networks }}"
4055 docker rm -f $(docker ps -a -q)
4056 docker-compose --file .github/docker-compose.yml down
4057 docker run -d --net=host --name=roach5 --hostname=roach5 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4058 docker logs roach5 -f
4059 ./cockroach sql --insecure --host=localhost:26257\n
4060 docker exec -it roach5 sh
4061 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=/tmp/node2
4062 ./cockroach start-single-node --listen-addr=0.0.0.0:26258 --http-addr=0.0.0.0:8081 --advertise-addr=0.0.0.0:26258 --insecure --store=/tmp/node2
4063 ./cockroach sql --insecure --url="postgresql://[email protected]:26258/defaultdb?sslmode=disable"
4064 docker rm -f $(docker ps -a -q)
4065 docker-compose --file .github/docker-compose.yml down
4066 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql mysql
4067 ./cockroach sql --insecure --host=localhost:26258\n
4068 ./cockroach start-single-node --listen-addr=0.0.0.0:26258 --http-addr=0.0.0.0:8081 --advertise-addr=0.0.0.0:26258 --insecure --store=/tmp/node2
4069 ./cockroach sql --insecure --host=localhost:26258\n
4070 rebasemaster
4071 python -m http.server 8000
4072 docker run --rm -it alpine sh
4073 docker run -d --net=host --name=roach5 --hostname=roach5 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4074 docker exec -it roach5 sh
4075 rebasemain
4076 docker run -d --name=roach5 --hostname=roach5 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4077 docker rm -f $(docker ps -a -q)
4078 docker run -d --name=roach5 --hostname=roach5 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4079 docker exec -it roach5 sh
4080 docker-compose --file .github/docker-compose.yml down
4081 docker rm -f $(docker ps -a -q)
4082 docker-compose --file .github/docker-compose.yml up -d cockroachdb postgresql mysql
4083 gau
4084 git commit -m "worked"
4085 git checkout -
4086 docker-compose --file .github/docker-compose.yml down
4087 docker rm -f $(docker ps -a -q)
4088 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
4089 docker logs github-cockroachdbtarget-1 -f
4090 ./cockroach sql --insecure --host=localhost:26258\n
4091 fixmoltlint
4092 gau
4093 gcan
4094 git push upstream --force
4095 gs
4096 glog
4097 git reset 83bc48a
4098 gau
4099 gs
4100 git add fetch/testdata/crdb/
4101 gau
4102 gcan
4103 git push upstream --force
4104 git reset 83bc48a
4105 git add -u
4106 gs
4107 git add fetch/testdata/crdb/
4108 gs
4109 git commit -m "draft"
4110 git push upstream --force
4111 gau
4112 git commit -m "localhost for crdb"
4113 git push upstream --force
4114 docker-compose --file .github/docker-compose.yml down
4115 docker rm -f $(docker ps -a -q)
4116 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
4117 gau
4118 gcan
4119 git push upstream --force
4120 gau
4121 gcan
4122 git push upstream --force
4123 gau
4124 gcan
4125 git push upstream --force
4126 gau
4127 gs
4128 git commit -m "day 34"
4129 gca
4130 git push upstream --force
4131 git push origin --force
4132 gau
4133 gcan
4134 gca
4135 git push origin --force
4136 gau
4137 gcan
4138 git push origin --force
4139 git push upstream --force
4140 glog
4141 git reset 83bc48a
4142 gau
4143 git commit -m "draft"
4144 rebasemain
4145 git cherry-pick 8fa87b5
4146 git push upstream --force
4147 glog
4148 git reset 70c691e
4149 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
4150 gau
4151 git commit -m "draft"
4152 git reset b0604ca --hard
4153 glog
4154 git reset 83bc48a
4155 gau
4156 gs
4157 git add fetch/testdata/crdb/
4158 git commit -m "draft"
4159 git cherry-pick dc5c479
4160 git cherry-pick --abort
4161 git cherry-pick dc5c479
4162 gau
4163 git cherry-pick --continue
4164 gs
4165 git push upstream --force
4166 gau
4167 git commit -m "add git commit sha for test"
4168 git push upstream --force
4169 rm ./test_output.txt
4170 docker-compose --file .github/docker-compose.yml down
4171 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
4172 ./cockroach sql --insecure --host=localhost:26257\n
4173 ./cockroach sql --insecure --host=localhost:26258\n
4174 docker exec -it github-cockroachdbtarget-1 sh
4175 python -m http.server 8000
4176 docker exec -it github-cockroachdb-1 sh
4177 docker exec -it github-cockroachdbtarget-1 sh
4178 docker-compose --file .github/docker-compose.yml down
4179 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
4180 docker exec -it github-cockroachdbtarget-1 sh
4181 gs
4182 git add fetch/testdata/crdb/basic.ddt
4183 git commit -m "more emoji"
4184 git push upstream --force
4185 gs
4186 git add .github/docker-compose.yml
4187 git commit -m "remove extra host"
4188 git push upstream --force
4189 gs
4190 git add fetch/testdata/pg/basic.ddt
4191 git commit -m "more pg test"
4192 git push upstream --force
4193 gau
4194 git commit -m "local storage addr based on os"
4195 git push upstream --force
4196 git cherry-pick 4f2a0c3bfc2f3f86b1cd196ce25c0235d3e8ce17
4197 gau
4198 git commit -m "add mysql tests"
4199 git push upstream --force
4200 glog
4201 gau
4202 gs
4203 git commit -m "more crdb test"
4204 git push upstream --force
4205 gau
4206 git commit -m "more pg test"
4207 git push upstream --force
4208 gau
4209 git commit -m "more crdb test"
4210 git push upstream --force
4211 git checkout main
4212 rebasemain
4213 git checkout -b add-commit-sha
4214 git commit
4215 git add -u
4216 git commit
4217 git push upstream --force
4218 git checkout -
4219 git checkout export-with-new-fmt
4220 git log
4221 glog
4222 git reset 70c691e
4223 gs
4224 git add fetch/testdata/crdb/\n
4225 gs
4226 git reset bd13ecb21048d3ac00aaa1bee148e514593995a9 --hard
4227 glog
4228 git reset 83bc48a
4229 git add -u
4230 gs
4231 git add fetch/testdata/crdb/\n
4232 gs
4233 git commit -m "draft"
4234 rebasemain
4235 git reflog
4236 git cherry-pick a2903e5
4237 gs
4238 glog
4239 git reset 70c691e
4240 gs
4241 git add fetch/dataexport/dataexport.go
4242 git add verify/inconsistency/reporter.go
4243 git add verify/testdata/datadriven/
4244 gs
4245 git add fetch/testdata/pg
4246 gs
4247 git add fetch/testdata/mysql/basic.ddt
4248 gs
4249 git commit
4250 gs
4251 git add fetch/import_table.go
4252 git commit
4253 gs
4254 git add fetch/testdata/crdb/
4255 gau
4256 git commit
4257 git push upstream --force
4258 gau
4259 gs
4260 glog
4261 gca
4262 gs
4263 git push upstream --force
4264 git diff bd13ecb21048d3ac00aaa1bee148e514593995a9 HEAD > hello.diff
4265 subl hello.diff
4266 git reset bd13ecb21048d3ac00aaa1bee148e514593995a9 --hard
4267 glog
4268 git reset 83bc48a
4269 git add -u
4270 gs
4271 git add fetch/testdata/crdb/
4272 gs
4273 git commit -m "rebased from main"
4274 git push upstream --force
4275 glog
4276 git reflog
4277 git reset b0cb793 --hard
4278 git diff 2a1c3e2 HEAD > hello.diff
4279 subl hello.diff
4280 glog
4281 git diff 2a1c3e2 HEAD > hello.diff
4282 rm ./hello.diff
4283 git diff 2a1c3e2 HEAD > hello.diff
4284 subl hello.diff
4285 glog
4286 gs
4287 gau
4288 gcan
4289 git push upstream --force
4290 gau
4291 git commit -m "draft"
4292 git diff 51ab1cabf4ba9899646cc4b4c69351dafef75f5b a434c33 > hello.diff
4293 subl hello.diff
4294 gau
4295 gcan
4296 glog
4297 git reset 51ab1ca --hard
4298 gau
4299 gcan
4300 git push upstream --force
4301 gau
4302 gcan
4303 git push upstream --force
4304 gau
4305 gcan
4306 git push upstream --force
4307 gau
4308 gcan
4309 git push upstream --force
4310 git log -n 1 --pretty=format:%s 2a1c3e2e10ef145704bb7972aab6910206e75e27
4311 git diff 2a1c3e2e10ef145704bb7972aab6910206e75e27 HEAD > hello.diff
4312 subl hello.diff
4313 make sync_hooks
4314 git diff 2a1c3e2e10ef145704bb7972aab6910206e75e27 HEAD > hello.diff
4315 gs
4316 ls -a
4317 gs
4318 gau
4319 gcan
4320 git diff 2a1c3e2e10ef145704bb7972aab6910206e75e27 HEAD > hello.diff
4321 subl hello.diff
4322 gau
4323 gcan
4324 git push upstream --force
4325 gau
4326 gcan
4327 git push upstream --force
4328 ./cockroach sql --insecure --host=localhost:26258\n
4329 git reset 2a1c3e2e10ef145704bb7972aab6910206e75e27
4330 git log -n 1 --pretty=format:%s 2a1c3e2e10ef145704bb7972aab6910206e75e27
4331 git reset 2a1c3e2e10ef145704bb7972aab6910206e75e27 --hard
4332 glog
4333 rebasemain
4334 git cherry-pick 2a1c3e2
4335 git push upstream --force
4336 gs
4337 git reflog
4338 glog 21b625e
4339 rebasemain
4340 gcpfromto d7866c3 21b625e
4341 glog
4342 git reflog
4343 glog
4344 git diff 01ff09f 26904ea > hello.diff
4345 subl hello.diff
4346 git reset 01ff09f
4347 gau
4348 glog
4349 git commit -m "it should pass"
4350 git push upstream --force
4351 gau
4352 git commit -m "it should pass"
4353 git commit
4354 git push upstream --force
4355 git reset 01ff09f
4356 gau
4357 git commit
4358 git push upstream --force
4359 git reset 26904ea
4360 gau
4361 git commit -m "enable aost"
4362 git commit
4363 git push upstream --force
4364 git reset 26904ea --hard
4365 gau
4366 git commit
4367 git push upstream --force
4368 gau
4369 glog
4370 gcan
4371 gca
4372 git push upstream --force
4373 gau
4374 gs
4375 git add fetch/testdata/crdb
4376 git commit
4377 git push upstream --force
4378 fixmoltlint
4379 gau
4380 git commit
4381 git push upstream --force
4382 ./cockroach sql --insecure --host=localhost:26257\n
4383 docker-compose --file .github/docker-compose.yml down
4384 ./cockroach sql --insecure --host=localhost:26257\n
4385 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
4386 ./cockroach sql --insecure --host=localhost:26257\n
4387 gs
4388 gau
4389 git commit
4390 git checkout main
4391 git reset 53f0b01025f56c8060620fb2d2c6291b47df2b5f --hard
4392 gti checkout -
4393 docker ps | grep cockroach
4394 docker-compose --file .github/docker-compose.yml down
4395 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4396 rm -rf cockroach-data
4397 ./cockroach sql --insecure --host=localhost:26257\n
4398 docker rm -f $(docker ps -a -q)
4399 ./cockroach start-single-node --insecure
4400 rm -rf cockroach-data
4401 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4402 git log -n 1 --pretty=format:%s 74b4a140f053998e980ad4203b6f52263801e4af
4403 git log --oneline 74b4a140f053998e980ad4203b6f52263801e4af
4404 gau
4405 git commit
4406 glog
4407 git reset c68be3b --hard
4408 gau
4409 gcan
4410 git push upstream --force
4411 gau
4412 glog
4413 gcan
4414 git push upstream --force
4415 glog
4416 git reset 26904ea
4417 glog
4418 gcan
4419 git push upstream --force
4420 gau
4421 gcan
4422 git push upstream --force
4423 gs
4424 docker run -d --name=roach5 --hostname=roach5 -v /etc/localtime:/etc/localtime:ro cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4425 docker rm -f $(docker ps -a -q)
4426 docker run -d --name=roach5 --hostname=roach5 -v /etc/localtime:/etc/localtime:ro cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4427 ls /etc/localtime
4428 ls -lth /etc/localtime
4429 docker run -d --name=roach5 --hostname=roach5 -v /etc/localtime/Chicago:/etc/localtime:ro cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4430 docker rm -f $(docker ps -a -q)
4431 docker run -d --name=roach5 --hostname=roach5 -v /etc/localtime/Chicago:/etc/localtime:ro cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4432 ls -lth /etc/localtime
4433 docker rm -f $(docker ps -a -q)
4434 docker run -d --name=roach5 --hostname=roach5 -v /etc/localtime:/etc/localtime/Chicago:ro cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4435 ls -lth /etc/localtime
4436 docker run -d --name=roach5 --hostname=roach5 -v /etc/localtime:/var/db/timezone/zoneinfo/America/Chicago cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4437 docker rm -f $(docker ps -a -q)
4438 docker run -d --name=roach5 --hostname=roach5 -v /etc/localtime:/var/db/timezone/zoneinfo/America/Chicago cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4439 docker logs roach5 -f
4440 ./cockroach sql --insecure --host=localhost:26257\n
4441 docker rm -f $(docker ps -a -q)
4442 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v /etc/localtime:/var/db/timezone/zoneinfo/America/Chicago cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4443 ls -lth /etc/localtime
4444 docker run --rm --privileged alpine hwclock -s
4445 docker rm -f $(docker ps -a -q)
4446 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4447 docker rm -f $(docker ps -a -q)
4448 docker-machine restart default
4449 /usr/local/bin/boot2docker ssh sudo ntpclient -s -h pool.ntp.org
4450 docker rm -f $(docker ps -a -q)
4451 docker run -d --name=demo alpine
4452 docker exec -it demo sh
4453 docker logs demo
4454 docker rm -f $(docker ps -a -q)
4455 docker run -it --name random-cont alpine tail -f /dev/null
4456 docker run -d --name random-cont alpine tail -f /dev/null
4457 docker ps | grep random
4458 docker exec -it random-cont sh
4459 docker exec -it random-cont date -u && date -u
4460 gdate '+%Y-%m-%d %H:%M:%S.%6N %Z'
4461 docker exec -it random-cont gdate '+%Y-%m-%d %H:%M:%S.%6N %Z'
4462 docker exec -it random-cont echo "$(date +%s.%N) UTC" | awk '{printf strftime("%Y-%m-%d %H:%M:%S.", $1) "%03d %Z\n", ($1-int($1))*1000}'\n
4463 docker rm -f $(docker ps -a -q)
4464 docker run -d --name random-cont alpine sh -c "apk add --no-cache coreutils && tail -f /dev/null"\n
4465 docker logs random-cont
4466 docker exec -it random-cont gdate '+%Y-%m-%d %H:%M:%S.%6N %Z'
4467 docker exec -it random-cont sh -c "apk add --no-cache coreutils && exec sh"\n
4468 docker exec -it random-cont gdate '+%Y-%m-%d %H:%M:%S.%6N %Z'\n
4469 docker exec -it random-cont sh\n
4470 docker rm -f $(docker ps -a -q)
4471 which gdate
4472 docker build -t rand-cont .
4473 docker rm -f $(docker ps -a -q)
4474 docker run -d --name random-cont alpine sh -c "apk add --no-cache coreutils && tail -f /dev/null"\n
4475 docker exec -it random-cont sh\n
4476 docker exec -it random-cont echo $(($(date +%s%N)/1000)) && echo $(($(date +%s%N)/1000))
4477 docker exec -it random-cont date +%s%N && date +%s%N
4478 date +%s%N
4479 date +%s
4480 brew install coreutils
4481 gs
4482 git add fetch/fetch_test.go
4483 gcan
4484 git push upstream --force
4485 PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
4486 gdate +%s.%N
4487 docker exec -it random-cont date +%s%N && gdate +%s%N
4488 mv ./testutils/timediff.sh ./
4489 chmod u+x ./timediff.sh
4490 ./timediff.sh
4491 docker rm -f $(docker ps -a -q)
4492 docker rm -f rand-cont
4493 docker rm -f random-cont
4494 ./timediff.sh
4495 docker rm -f random-cont
4496 docker run -d --name random-cont alpine tail -f /dev/null
4497 ./timediff.sh
4498 docker exec -it random-cont date +%s%N
4499 gdate +%s%N
4500 docker run -d --name random-cont alpine sh -c "apk add --no-cache coreutils && tail -f /dev/null"\n
4501 docker rm -f random-cont
4502 docker run -d --name random-cont alpine sh -c "apk add --no-cache coreutils && tail -f /dev/null"\n
4503 docker logs random-cont -f
4504 ./timediff.sh
4505 docker rm -f random-cont
4506 docker run -d --name random-cont alpine sh -c "apk add --no-cache coreutils && tail -f /dev/null"
4507 ./timediff.sh
4508 gs
4509 gcan
4510 git push upstream --force
4511 git checkout main
4512 rebasemain
4513 gau
4514 gs
4515 git commit
4516 git checkout -b fetch-drift
4517 git push upstream --force
4518 gau
4519 gcan
4520 git push upstream --force
4521 git checkout export-with-new-fmt
4522 gau
4523 gcan
4524 git push upstream --force
4525 git checkout main
4526 rebasemain
4527 gau
4528 git commit
4529 git checkout -b fetch-typo
4530 git push upstream --force
4531 git checkout main
4532 rebasemain
4533 git checkout -b e2e-test
4534 subl ~/.zshrc
4535 rm -rf cockroach-data
4536 docker rm -f random-cont
4537 docker rm -f $(docker ps -a -q)
4538 ./cockroach start-single-node --insecure
4539 ./cockroach sql --insecure --host=localhost:26257\n
4540 ./cockroach sql --insecure --host=localhost:26257 --execute "SELECT * FROM tbl1" --format=csv > ./hello.csv\n
4541 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4542 docker cp ./.github/e2esampledata roach5:/e2esampledata
4543 docker exec -it roach5 sh
4544 docker cp ./.github/e2esampledata/sampledata.csv roach5:/cockroach/extern/sampledata.csv
4545 docker cp ./.github/e2esampledata/sampledata.csv roach5:/cockroach/cockroach-data/extern/sampledata.csv
4546 docker exec -it roach5 ls /cockroach/cockroach-data
4547 docker exec -it roach5 ls /cockroach/cockroach-data-1
4548 docker exec -it roach5 test -d /cockroach/cockroach-data-1
4549 docker exec -it roach5 test -d /cockroach/cockroach-data
4550 docker exec -it roach5 test -d /cockroach/cockroach-data && echo "Directory Exists"
4551 docker exec -it roach5 test -d /cockroach/cockroach-data-1 && echo "Directory Exists"
4552 ./cockroach sql --insecure
4553 docker ps
4554 docker rm -f $(docker ps -a -q)
4555 docker-compose --file .github/docker-compose.yml up -d cockroachdb cockroachdbtarget postgresql
4556 docker logs github-postgresql-1 -f
4557 psql --port=5432
4558 psql --port=5432 -u=postgres
4559 psql --port=5432 --user=postgres
4560 open /Library/PostgreSQL/13/data
4561 open /Library/PostgreSQL
4562 docker-compose --file .github/docker-compose.yml down
4563 history | grep docker | grep postgres
4564 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -v "${PWD}/init.sql:/docker-entrypoint-initdb.d/init.sql" -e PGDATA=/tmp/pgtmpdata11 postgres:15-alpine
4565 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 postgres:15-alpine
4566 docker rm -f $(docker ps -a -q)
4567 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 postgres:15-alpine
4568 ls /tmp
4569 docker rm -f $(docker ps -a -q)
4570 mkdir -p /tmp/pgtmpdata11
4571 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v /tmp/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4572 docker logs github-postgresql-1 -f
4573 docker logs postgres -f
4574 psql --port=5437 --user=postgres
4575 psql --port=5437
4576 docker exec -it postgres sh
4577 open /tmp
4578 ls
4579 docker exec -it postgres sh
4580 docker rm -f $(docker ps -a -q)
4581 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust\n -e PGDATA=/tmp/pgtmpdata11 -v /tmp/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4582 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v /tmp/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4583 docker rm -f $(docker ps -a -q)
4584 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v /tmp/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4585 docker exec -it postgres sh
4586 docker rm -f $(docker ps -a -q)
4587 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/hello postgres:15-alpine
4588 docker exec -it postgres sh
4589 docker rm -f $(docker ps -a -q)
4590 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v /tmp/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4591 docker exec -it postgres sh
4592 open /tmp/pgtmpdata11
4593 ls -a /tmp/pgtmpdata11
4594 exit
4595 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 postgres:15-alpine
4596 docker rm -f $(docker ps -a -q)
4597 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 postgres:15-alpine
4598 docker exec -it postgres sh
4599 docker rm -f $(docker ps -a -q)
4600 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v /tmp/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4601 psql --port=5437 --user=postgres
4602 psql postgresql://postgres:postgres@localhost:5437/postgres
4603 docker exec -it postgres sh
4604 docker inspect -f '{{ .Mounts }}' postgres
4605 open /tmp/pgtmpdata11
4606 docker inspect -f '{{ .Volumes }}' postgres
4607 docker rm -f $(docker ps -a -q)
4608 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v /tmp/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4609 open /tmp/pgtmpdata11
4610 docker rm -f $(docker ps -a -q)
4611 rm -rf cockroach-data
4612 history | grep cockroach-data
4613 subl ~/.zshrc
4614 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data/roach1:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4615 rm -rf cockroach-data
4616 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4617 docker rm -f $(docker ps -a -q)
4618 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4619 chmod o+x .
4620 docker rm -f $(docker ps -a -q)
4621 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4622 ls
4623 docker rm -f $(docker ps -a -q)
4624 rm -rf cockroach-data
4625 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v ${PWD}/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4626 chmod o+x .
4627 docker rm -f $(docker ps -a -q)
4628 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v ${PWD}/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4629 docker exec -it postgres sh
4630 docker logs postgres -f
4631 docker rm -f $(docker ps -a -q)
4632 rm -rf pgtmpdata11
4633 mkdir pgtmpdata11
4634 chmod o+x ./pgtmpdata11
4635 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v ${PWD}/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4636 docker logs postgres -f
4637 chmod -r 777 ./pgtmpdata11
4638 chmod -R 777 ./pgtmpdata11
4639 docker rm -f $(docker ps -a -q)
4640 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v ${PWD}/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4641 docker logs postgres -f
4642 ls -la | grep pgtmpdata11
4643 chmod ugo+rwx ./pgtmpdata11
4644 ls -la | grep pgtmpdata11
4645 docker rm -f $(docker ps -a -q)
4646 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pgtmpdata11 -v ${PWD}/pgtmpdata11:/tmp/pgtmpdata11 postgres:15-alpine
4647 docker logs postgres -f
4648 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4649 docker rm -f $(docker ps -a -q)
4650 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4651 docker logs postgres -f
4652 docker rm -f $(docker ps -a -q)
4653 ls -la | grep pgtmpdata11
4654 chmod ugo+rwx ./pgtmpdata11
4655 ls -la | grep pgtmpdata11
4656 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4657 ls -la | grep pgtmpdata11
4658 docker rm -f $(docker ps -a -q)
4659 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v /tmp/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4660 docker logs postgres -f
4661 ls -la /tmp
4662 cd /tmp
4663 pwd
4664 ls -la
4665 ls -la /tmp
4666 cd private/tmp
4667 cd -
4668 docker rm -f $(docker ps -a -q)
4669 mkdir tmp
4670 cd tmp
4671 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4672 chmod 1770 .
4673 docker rm -f $(docker ps -a -q)
4674 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4675 docker logs postgres -f
4676 docker rm -f $(docker ps -a -q)
4677 shown .
4678 namei -l
4679 ls -la /
4680 cd /private/tmp
4681 ls
4682 pwd
4683 docker rm -f $(docker ps -a -q)
4684 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v /tmp/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4685 docker logs postgres -f
4686 ls
4687 cd ..
4688 ls -la
4689 tomolt
4690 l
4691 rm -rf tmp
4692 mkdir tmp
4693 chmod 1777 tmp
4694 ls -la
4695 xattr -l ./tmp
4696 cd tmp
4697 ls -la
4698 docker rm -f $(docker ps -a -q)
4699 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4700 chmod o+x .
4701 ls -la
4702 chmod 1777 ./pgtmpdata11
4703 ls -la
4704 docker rm -f $(docker ps -a -q)
4705 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data postgres:15-alpine
4706 docker logs postgres -f
4707 ls -la
4708 mkdir ~/my_pg_data
4709 chmod 777 ~/my_pg_data
4710 docker rm -f $(docker ps -a -q)
4711 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ~/my_pg_data:/var/lib/postgresql/data postgres:15-alpine
4712 docker logs postgres -f
4713 rm ~/my_pg_data
4714 rm -rf ~/my_pg_data
4715 docker rm -f $(docker ps -a -q)
4716 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data:z postgres:15-alpine
4717 docker logs postgres -f
4718 docker rm -f $(docker ps -a -q)
4719 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/postgresql/data -v ${PWD}/pgtmpdata11:/var/lib/postgresql/data:Z postgres:15-alpine
4720 docker logs postgres -f
4721 docker rm -f $(docker ps -a -q)
4722 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/pg_data -v ${PWD}/pgtmpdata11:/var/lib/pg_data postgres:15-alpine
4723 docker logs postgres -f
4724 ls -la
4725 chmod 777 ./pgtmpdata11
4726 ls -la
4727 docker rm -f $(docker ps -a -q)
4728 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/var/lib/pg_data -v ${PWD}/pgtmpdata11:/var/lib/pg_data postgres:15-alpine
4729 docker logs postgres -f
4730 docker rm -f $(docker ps -a -q)
4731 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v ${PWD}/mount:/var/lib/postgresql/data \\n\tpostgres
4732 chmod 777 .
4733 docker rm -f $(docker ps -a -q)
4734 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v ${PWD}/mount:/var/lib/postgresql/data \\n\tpostgres
4735 docker logs postgres -f
4736 docker logs some-postgres -f
4737 docker rm -f $(docker ps -a -q)
4738 ls
4739 rm -rf mount
4740 rm -rf pgtmpdata11
4741 mkdir mount
4742 ls -la
4743 chmod 777 ./mount
4744 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v ${PWD}/mount:/var/lib/postgresql/data \\n\tpostgres
4745 docker logs some-postgres -f
4746 docker rm -f $(docker ps -a -q)
4747 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v /custom/mount:/var/lib/postgresql/data \\n\tpostgres
4748 docker logs some-postgres -f
4749 open /custom/mount
4750 cd /custom/mount
4751 docker inspect -f '{{ .Volumes }}' postgres
4752 docker inspect -f '{{ .Volumes }}' some-postgres
4753 docker inspect -f '{{ .Mount }}' some-postgres
4754 docker inspect -f '{{ .Mounts }}' some-postgres
4755 ls /custom/mount
4756 ls /var/lib/postgresql/data
4757 docker version
4758 docker rm -f $(docker ps -a -q)
4759 pwd
4760 ls -la
4761 rm -rf mount
4762 mkdir mount
4763 ls -la
4764 chmod 777 ./mount
4765 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v "${PWD}/mount:/var/lib/postgresql/data" \\n\tpostgres
4766 docker logs some-postgres -f
4767 ❯ ls -la
4768 ls -la
4769 rm -rf mount
4770 docker rm -f $(docker ps -a -q)
4771 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v "${PWD}/mount:/var/lib/postgresql/data" \\n\tpostgres
4772 mkdir mount
4773 ls -la
4774 docker rm -f $(docker ps -a -q)
4775 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v "${PWD}/mount:/var/lib/postgresql/data" \\n\tpostgres
4776 docker logs some-postgres -f
4777 ls -la
4778 chmod 777 ./mount
4779 ls -la
4780 docker rm -f $(docker ps -a -q)
4781 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v "${PWD}/mount:/var/lib/postgresql/data" \\n\tpostgres
4782 docker logs some-postgres -f
4783 ls -la
4784 docker rm -f $(docker ps -a -q)
4785 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/var/lib/postgresql/data/pgdata \\n\t-v "/tmp/some_folder:/var/lib/postgresql/data" \\n\tpostgres
4786 docker logs some-postgres -f
4787 ls /tmp | grep some_folder
4788 docker image ls
4789 docker image ls | grep postgres
4790 \q
4791 exit
4792 gs
4793 cd ..
4794 glog
4795 gau
4796 git commit -m "draft"
4797 git commit
4798 git checkout fix-type
4799 git branch | grep typi
4800 git branch | grep typo
4801 git checkout fetch-typo
4802 gau
4803 gcan
4804 git push upstream --force
4805 git checkout -
4806 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/pgtmp/data/ \\n\tpostgres
4807 docker rm -f $(docker ps -a -q)
4808 docker run -d \\n\t--name some-postgres \\n\t-e POSTGRES_PASSWORD=mysecretpassword \\n\t-e PGDATA=/pgtmp/data/ \\n\tpostgres
4809 docker logs some-postgres -f
4810 psql postgresql://postgres:postgres@localhost:5437/postgres
4811 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pg_data postgres:15-alpine
4812 docker cp ./.github/e2esampledata/sampledata.csv postgres:/tmp/pg_data
4813 docker exec -it postgres sh
4814 docker cp ./.github/e2esampledata/sampledata.csv postgres:/tmp/pg_data
4815 gs
4816 gau
4817 gcan
4818 git checkout 0
4819 git checkout -
4820 gau
4821 gcan
4822 git push upstream --force
4823 git checkout -
4824 docker rm -f $(docker ps -a -q)
4825 docker-compose --file .github/docker-compose.yml up -d mysql
4826 mysql -u root -p'password' -h '0.0.0.0' -P 3307
4827 mysql -u user -p'password' -h '0.0.0.0' -P 3307
4828 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4829 docker exec -it mysqlcoont sh
4830 docker exec -it mysqlcont sh
4831 docker exec -it github-mysql-1 sh
4832 docker-compose --file .github/docker-compose.yml down
4833 docker run -d --name=mysqlcont \\n -e MYSQL_DATABASE=defaultdb \\n -e MYSQL_USER=user \\n -e MYSQL_PASSWORD=password \\n -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \\n -p 3307:3306 \\n mysql:8.0 --gtid-mode=on --enforce-gtid-consistency=on --binlog-row-metadata=full\n
4834 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4835 docker logs mysqlcont -f
4836 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4837 docker rm -f $(docker ps -a -q)
4838 docker run -d --name=mysqlcont \\n -e MYSQL_DATABASE=defaultdb \\n -e MYSQL_USER=user \\n -e MYSQL_PASSWORD=password \\n -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \\n -v ${PWD}/mysqldata:/var/lib/mysql \\n -p 3307:3306 \\n mysql:8.0 --gtid-mode=on --enforce-gtid-consistency=on --binlog-row-metadata=full
4839 docker rm -f $(docker ps -a -q)
4840 cd tmp
4841 docker run -d --name=mysqlcont \\n -e MYSQL_DATABASE=defaultdb \\n -e MYSQL_USER=user \\n -e MYSQL_PASSWORD=password \\n -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \\n -v ${PWD}/mysqldata:/var/lib/mysql \\n -p 3307:3306 \\n mysql:8.0 --gtid-mode=on --enforce-gtid-consistency=on --binlog-row-metadata=full
4842 ls
4843 chmod u+x ./mysqldata
4844 docker rm -f $(docker ps -a -q)
4845 docker run -d --name=mysqlcont \\n -e MYSQL_DATABASE=defaultdb \\n -e MYSQL_USER=user \\n -e MYSQL_PASSWORD=password \\n -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \\n -v ${PWD}/mysqldata:/var/lib/mysql \\n -p 3307:3306 \\n mysql:8.0 --gtid-mode=on --enforce-gtid-consistency=on --binlog-row-metadata=full
4846 docker logs mysqlcont -f
4847 ls -la
4848 chmod 777 ./mysqldata
4849 docker rm -f $(docker ps -a -q)
4850 docker run -d --name=mysqlcont \\n -e MYSQL_DATABASE=defaultdb \\n -e MYSQL_USER=user \\n -e MYSQL_PASSWORD=password \\n -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \\n -v ${PWD}/mysqldata:/var/lib/mysql \\n -p 3307:3306 \\n mysql:8.0 --gtid-mode=on --enforce-gtid-consistency=on --binlog-row-metadata=full
4851 docker logs mysqlcont -f
4852 docker rm -f $(docker ps -a -q)
4853 cd ..
4854 rm -rf ./tmp
4855 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4856 docker rm -f $(docker ps -a -q)
4857 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4858 docker logs roach5 -f
4859 docker rm -f $(docker ps -a -q)
4860 rm -rf ./coc
4861 rm -rf ./cockroach-data/
4862 mkdir cockroach-data
4863 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4864 docker logs roach5 -f
4865 exit
4866 docker rm -f $(docker ps -a -q)
4867 rm -rf ./cockroach-data/
4868 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4869 docker logs roach5 -f
4870 docker rm -f $(docker ps -a -q)
4871 toproxy
4872 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4873 docker logs roach5 -f
4874 rm -rf ./cockroach-data/
4875 docker rm -f $(docker ps -a -q)
4876 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4877 mkdir cockroach-data
4878 docker rm -f $(docker ps -a -q)
4879 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
4880 docker logs roach5 -f
4881 docker rm -f $(docker ps -a -q)
4882 docker cp ./.github/e2esampledata/sampledata.csv mysqlcont:/var/lib/mysql
4883 tomolt
4884 docker cp ./.github/e2esampledata/sampledata.csv mysqlcont:/var/lib/mysql
4885 docker ps | grep mysql
4886 docker run -d --name=mysqlcont \\n -e MYSQL_DATABASE=defaultdb \\n -e MYSQL_USER=user \\n -e MYSQL_PASSWORD=password \\n -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \\n -p 3307:3306 \\n mysql:8.0 --gtid-mode=on --enforce-gtid-consistency=on --binlog-row-metadata=full\n
4887 docker cp ./.github/e2esampledata/sampledata.csv mysqlcont:/var/lib/mysql
4888 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4889 docker logs mysqlcont -f
4890 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4891 docker exec -it mysqlcont sh
4892 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
4893 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4894 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb --local-infile=1
4895 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
4896 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4897 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
4898 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
4899 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb --local-infile=1
4900 docker rm -f $(docker ps -a -q)
4901 docker run -d --name=mysqlcont \\n -e MYSQL_DATABASE=defaultdb \\n -e MYSQL_USER=user \\n -e MYSQL_PASSWORD=password \\n -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \\n -p 3307:3306 \\n mysql:8.0 --gtid-mode=on --enforce-gtid-consistency=on --binlog-row-metadata=full \n
4902 docker exec -it mysqlcont mysql -u root
4903 docker exec -it mysqlcont mysql -u root --help
4904 docker exec -it mysqlcont mysql -u root -e 'GRANT FILE on *.* to user;'
4905 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb --local-infile=1
4906 docker cp ./.github/e2esampledata/sampledata.csv mysqlcont:/var/lib/mysql-files/mysql
4907 docker exec -it mysqlcont sh
4908 docker cp ./.github/e2esampledata/sampledata.csv mysqlcont:/var/lib/mysql-files
4909 gau
4910 gcan
4911 git reflog
4912 git reset 81310fa
4913 gs
4914 git add -u
4915 git add day6
4916 git commit -m "Day 6"
4917 git push upstream --force
4918 git push origin --force
4919 chmod u+x ./day7/regex.py
4920 cd day7
4921 python3 regex.py "AAJJQ"
4922 python3 regex.py "ADHFG"
4923 python3 regex.py "AAAAA"
4924 python3 regex.py "AAABB"
4925 python3 regex.py "AAAJJ"
4926 python3 regex.py "AAATT"
4927 python3 regex.py "233TK"
4928 python3 regex.py 233TK
4929 cd ..
4930 git clone https://github.com/codingconcepts/crdb.git
4931 cd -
4932 gs
4933 git checkout main
4934 rebasemain
4935 git checkout v0.2.3
4936 glog
4937 open .
4938 k3d registry create local-registry --port 9090
4939 wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
4940 which k3d
4941 k3d registry create local-registry --port 9090
4942 k3d cluster create local \\n --registry-use k3d-local-registry:9090 \\n --registry-config manifests/registry/registries.yaml \\n --k3s-arg "--disable=traefik,metrics-server@server:*;agents:*" \\n --k3s-arg "--disable=servicelb@server:*" \\n --wait
4943 k3d cluster create local \\n --registry-use k3d-local-registry:9090 \\n --registry-config ./manifests/registry/registries.yaml \\n --k3s-arg "--disable=traefik,metrics-server@server:*;agents:*" \\n --k3s-arg "--disable=servicelb@server:*" \\n --wait
4944 cd migration/to_cockroachdb/live_migration_service
4945 k3d cluster create local \\n --registry-use k3d-local-registry:9090 \\n --registry-config manifests/registry/registries.yaml \\n --k3s-arg "--disable=traefik,metrics-server@server:*;agents:*" \\n --k3s-arg "--disable=servicelb@server:*" \\n --wait
4946 docker pull mysql:8.1.0\ndocker tag mysql:8.1.0 localhost:9090/mysql:8.1.0\ndocker push localhost:9090/mysql:8.1.0\n\nkubectl apply -f manifests/mysql/pv.yaml\nkubectl apply -f manifests/mysql/deployment.yaml
4947 kubectl run --rm -it mysqlshell --image=k3d-local-registry:9090/mysql:8.1.0 -- mysqlsh root:password@mysql --sql
4948 kgp
4949 kubectl attach mysqlshell -c mysqlshell -i -t
4950 cd app
4951 go mod download
4952 mysql -u root -h '0.0.0.0' -P 33076 --database=defaultdb
4953 mysql -u root -h '0.0.0.0' -P 3306 --database=defaultdb
4954 kubectl run --rm -it mysqlshell --image=k3d-local-registry:9090/mysql:8.1.0 -- mysqlsh root:password@mysql --sql
4955 cd ..
4956 kubectl run --rm -it mysqlshell --image=k3d-local-registry:9090/mysql:8.1.0 -- mysqlsh root:password@mysql --sql
4957 make deploy_app\n\nkubetail app
4958 brew tap johanhaleby/kubetail && brew install kubetail
4959 env | grep sher
4960 env | grep jane
4961 USER=janexing brew tap johanhaleby/kubetail && brew install kubetail
4962 export USER=janexing
4963 brew tap johanhaleby/kubetail && brew install kubetail
4964 kubetail app
4965 kubectl apply -f manifests/cockroachdb/cockroachdb.yaml\n\nkubectl exec -it -n crdb cockroachdb-0 -- /cockroach/cockroach init --insecure\nkubectl exec -it -n crdb cockroachdb-0 -- /cockroach/cockroach sql --insecure
4966 kubectl exec -it -n crdb cockroachdb-0 -- /cockroach/cockroach init --insecure
4967 kubectl exec -it -n crdb cockroachdb-0 -- /cockroach/cockroach sql --insecure
4968 docker tag cockroachdb/molt-lms:latest localhost:9090/cockroachdb/molt-lms:latest\ndocker push localhost:9090/cockroachdb/molt-lms:latest\n
4969 helm dependency update helm-molt-lms
4970 helm dependency update ./helm-molt-lms
4971 helm dependency update ./helm-molt-lms-0-2-3
4972 helm install \\n --create-namespace \\n --namespace lms \\n -f values.yaml lms helm-molt-lms-0-2-3 \\n --set deps.mysql.enabled=false \\n --set deps.crdb.enabled=false
4973 helm install \\n --create-namespace \\n --namespace lms \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3 \\n --set deps.mysql.enabled=false \\n --set deps.crdb.enabled=false
4974 kgp
4975 kl app-fb65f6776-5cm2p
4976 kubectl apply -f manifests/app/deployment.yaml
4977 kgp
4978 kubetail app
4979 helm install \\n --create-namespace \\n --namespace lms \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3 \\n --set deps.mysql.enabled=false \\n --set deps.crdb.enabled=false
4980 kgp
4981 subl ~/.zshrc
4982 kgpa
4983 kgp --help
4984 kgp -n lms -w
4985 kl lms-cdcsink-644d8c9c58-t2kpk
4986 kgp -n lms -w
4987 kl -n lms lms-cdcsink-644d8c9c58-t2kpk
4988 kgp -n lms -w
4989 kl -n lms lms-6fc45d6b74-5tm7s
4990 kl -n lms lms-orchestrator-558779c84f-2g25m
4991 kgp -n lms -w
4992 kl -n lms lms-orchestrator-558779c84f-2g25m
4993 helm uninstall lms
4994 helm uninstall helm-molt-lms-0-2-3
4995 cd helm-molt-lms-0-2-3
4996 helm uninstall lms
4997 helm uninstall .
4998 helm list
4999 helm list -n lms
5000 helm uninstall -n lms lms
5001 kgp
5002 kgp -n crdb
5003 kl -n crdb cockroachdb-1
5004 kl -n crdb cockroachdb-0
5005 kubectl exec -it -n crdb cockroachdb-0 -- /cockroach/cockroach sql --insecure
5006 procOfPort 3306
5007 helm install \\n --create-namespace \\n --namespace lms \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3 \\n --set deps.mysql.enabled=false
5008 cd ..
5009 helm install \\n --create-namespace \\n --namespace lms \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3 \\n --set deps.mysql.enabled=false
5010 kgp -n lms -w
5011 kl -n lms lms-orchestrator-558779c84f-jtb5g
5012 kgp -n lms -w
5013 kl -n lms lms-cdcsink-644d8c9c58-5jjtx
5014 helm uninstall -n lms lms
5015 procOfPort 3306
5016 all_namespaces=$(kubectl get namespaces -o jsonpath='{.items[*].metadata.name}')\n
5017 echo $all_namespaces
5018 releases=$(helm list -n crdb --short)
5019 helm list -n crdb --short
5020 helm uninstall
5021 helm uninstall -n lms lms
5022 helm list
5023 kgp
5024 helm list -n defaulgt --short
5025 helm list -n default --short
5026 helm list -n crdb --short
5027 helm list -a
5028 helm list --all-namespaces\n
5029 kubectl get namespaces
5030 kubectl delete pods mysql-7b445b8d46-cgzdn -n default
5031 kubectl delete pods app-5d6766ddc5-lvdxg -n default
5032 kgp
5033 kubectl get deployments,statefulsets -n default\n
5034 helm uninstall deployment.apps/mysql -n default
5035 helm uninstall mysql -n default
5036 helm list
5037 kubectl get deployments,statefulsets -n default -o custom-columns=NAME:.metadata.name,RELEASE:.metadata.labels.helm.sh/name\n
5038 kubectl delete deployment mysql -n default
5039 kubectl delete deployment app -n default
5040 kubectl get configmaps,secrets -n default | grep helm\n
5041 kgp
5042 helm install \\n --create-namespace \\n --namespace lms \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5043 kgp -n lms -w
5044 kl -n lms lms-cdcsink-644d8c9c58-96nsr
5045 kubectl -n lms port-forward svc/lms-mysql 3306:3306 &
5046 procOfPort 3306
5047 kubectl -n lms port-forward svc/lms-mysql 3306:3306 &
5048 kl -n lms lms-cdcsink-644d8c9c58-96nsr
5049 kgp -n lms -w
5050 kl lms-cdcsink-644d8c9c58-96nsr
5051 kl -n lms lms-cdcsink-644d8c9c58-96nsr
5052 history | grep helm | grep yaml
5053 history | grep "helm template -f"
5054 helm template -f values.yaml lms ./helm-molt-lms-0-2-3 > out.yaml
5055 helm template -f ./helm-molt-lms-0-2-3/values.yaml lms ./helm-molt-lms-0-2-3 > out.yaml
5056 kubectl get svc lms-mysql -n default -o jsonpath='{.spec.clusterIP}'\n
5057 kubectl get svc lms-mysql -n lms -o jsonpath='{.spec.clusterIP}'\n
5058 helm uninstall -n lms lms
5059 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5060 kgp
5061 kgp -w
5062 kl lms-cdcsink-657cb946b8-4c5sn
5063 kubectl get svc lms-mysql -n default -o jsonpath='{.spec.clusterIP}'
5064 kgp -w
5065 kl lms-mysql-0
5066 kubectl port-forward svc/lms-mysql 3306:3306 &
5067 pkill -9 kubectl
5068 kubectl port-forward svc/lms-mysql 3306:3306 &
5069 mysql -u root -h '0.0.0.0' -P 3306 --database=defaultdb
5070 pkill -9 kubectl
5071 kl lms-mysql-0
5072 pkill -9 kubectl
5073 history | grep port-forward
5074 kubectl port-forward svc/lms-mysql 3308:3306 &
5075 mysql -u root -h '0.0.0.0' -P 3306 --database=defaultdb
5076 mysql -u root -h '127.0.0.1' -P 3306 --database=defaultdb
5077 mysql -u root -h '127.0.0.1' -P 3308 --database=defaultdb
5078 mysql -u user -p'password' -h '0.0.0.0' -P 3308 --database=defaultdb
5079 mysql -u root -p'password' -h '0.0.0.0' -P 3308 --database=defaultdb
5080 pkill -9 kubectl
5081 kubectl port-forward svc/lms-mysql 3306:3306 &
5082 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5083 kgp -w
5084 helm list --all-namespaces
5085 docker image ls | grep cdc
5086 kgp -w
5087 kl lms-cdcsink-657cb946b8-4c5sn
5088 kpg
5089 kgp
5090 kubectl get svc lms-mysql -n default -o jsonpath='{.spec.clusterIP}'
5091 kgp
5092 helm uninstall lms
5093 ./cleanup-k8.sh
5094 pkill -9 kubectl
5095 kgp
5096 kl
5097 kubectl logs -h
5098 ./cleanup-k8.sh
5099 kubectl logs -h
5100 kl
5101 kgp
5102 kubectl list
5103 kubectl list
5104 k3d cluster delete local
5105 helm dependency update
5106 helm dependency update ./helm-molt-lms-0-2-3
5107 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5108 docker rm -f $(docker ps -a -q)
5109 kgp
5110 kgp -w
5111 kl lms-cdcsink-657cb946b8-v6lfv
5112 kgp -w
5113 kubectl port-forward svc/lms-mysql 3306:3306 &
5114 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5115 pwd
5116 toproxy
5117 pwd
5118 cp ./cockroach /Users/janexing/go/src/github.com/cockroachdb/crdb/migration/to_cockroachdb/live_migration_service
5119 ./cockroach sql --insecure
5120 kubectl port-forward svc/cockroachdb-public 26257:26257 &
5121 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
5122 ./cockroach sql --insecure
5123 kgp
5124 kl lms-cdcsink-657cb946b8-v6lfv
5125 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5126 kl lms-cdcsink-657cb946b8-v6lfv
5127 ./cockroach sql --insecure
5128 kgp
5129 kl lms-cdcsink-657cb946b8-v6lfv
5130 kdp lms-cdcsink-657cb946b8-v6lfv
5131 ./cockroach sql --insecure
5132 kl lms-cdcsink-657cb946b8-v6lfv
5133 ./cockroach sql --insecure
5134 kl lms-cdcsink-657cb946b8-v6lfv
5135 ./cockroach sql --insecure
5136 kl lms-cdcsink-657cb946b8-v6lfv
5137 helm uninstall lms
5138 cp ./cleanup-k8.sh pwd
5139 pwd
5140 cp ./cleanup-k8.sh /Users/janexing/go/src/github.com/cockroachdb/crdb/migration/to_cockroachdb/live_migration_service
5141 ./cleanup-k8.sh
5142 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5143 kgp
5144 kl lms-cdcsink-657cb946b8-8svdp
5145 kgp
5146 kl lms-cdcsink-657cb946b8-8svdp
5147 helm uninstall lms
5148 ./cleanup-k8.sh
5149 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5150 kgp
5151 kgp -w
5152 kl lms-cdcsink-657cb946b8-p4mtr
5153 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
5154 kubectl port-forward svc/lms-mysql 3306:3306 &
5155 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5156 helm uninstall lms
5157 kgp
5158 (toproxy && ./cleanup-k8.sh)
5159 kgp
5160 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5161 kgp
5162 kgp -w
5163 kubectl port-forward svc/lms-mysql 3306:3306 &
5164 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5165 pwd
5166 make deploy_app\n\nkubetail app
5167 k3d registry create local-registry --port 9090
5168 k3d cluster create local \\n --registry-use k3d-local-registry:9090 \\n --registry-config manifests/registry/registries.yaml \\n --k3s-arg "--disable=traefik,metrics-server@server:*;agents:*" \\n --k3s-arg "--disable=servicelb@server:*" \\n --wait
5169 make deploy_app\n\nkubetail app
5170 kubetail app
5171 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5172 kgp -a
5173 kgp --all-namespace
5174 kgp
5175 helm uninstall app
5176 helm list --all-namespaces
5177 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5178 kgp
5179 helm list --all-namespaces
5180 helm list -A
5181 helm show all
5182 helm list -n default
5183 helm list -n lms
5184 helm list --all-namespaces
5185 kgp
5186 kgp -n default
5187 history | grep k3d
5188 k3d cluster delete local
5189 kgp
5190 make deploy_app\n\nkubetail app
5191 docker image ls | grep app
5192 docker image rm localhost:9090/app
5193 docker image ls | grep app
5194 docker image rm app
5195 make deploy_app
5196 kgp
5197 kdp app-5d6766ddc5-7ps28
5198 subl ~/.zshrc
5199 kdelf app-5d6766ddc5-7ps28
5200 kdelno app-5d6766ddc5-7ps28
5201 kubectl get deployment --all-namespaces
5202 kdeld app
5203 kgp
5204 kdelp app-5d6766ddc5-7ps28
5205 kgp
5206 kubectl list
5207 helm list
5208 helm show lms
5209 helm list
5210 make deploy_app
5211 kgp
5212 kgp -w
5213 kl app-7c657545f6-7cp7x
5214 docker image ls
5215 docker image ls | grep app
5216 docker image rm app
5217 make deploy_app
5218 kubectl apply -f manifests/app/deployment.yaml
5219 docker image ls | grep app
5220 kgp
5221 kl app-7768d7567d-ghh6b
5222 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5223 kubectl port-forward svc/lms-cockroachdb 26257:26257 &
5224 ./cockroach sql --insecure
5225 kgp
5226 kl lms-cdcsink-657cb946b8-hbrfq
5227 kubectl port-forward svc/lms-grafana 3000:80 &
5228 kubectl apply -f manifests/app/deployment.yaml
5229 kgp
5230 kl app-55d48c9697-psbn7
5231 kubectl apply -f manifests/app/deployment.yaml
5232 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5233 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
5234 open .
5235 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
5236 ./cockroach sql --insecure
5237 kubectl port-forward svc/lms-orchestrator 4200:4200 &
5238 export CLI_ORCHESTRATOR_URL="http://localhost:4200"
5239 export CLI_ORCHESTRATOR_URL="http://0.0.0.0:4200"
5240 ./molt-lms-cli cutover consistent begin --lms-addresses="0.0.0.0:9043"
5241 kubectl port-forward svc/lms 9043:9043 &
5242 ./molt-lms-cli cutover consistent begin
5243 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5244 ./cockroach sql --insecure
5245 ./molt-lms-cli cutover consistent commit
5246 kubetail app
5247 helm uninstall app
5248 helm uninstall lms
5249 ./cleanup-k8.sh
5250 kgp
5251 history | grep app
5252 helm lsit
5253 helm list
5254 helm list --all-namespaces
5255 kgp
5256 kdelp app-55d48c9697-psbn7
5257 kgp
5258 kdp app-55d48c9697-6g87w
5259 kdsa
5260 kgda
5261 kdeld app
5262 subl ./cleanup-k8.sh
5263 kgp --all-namespace
5264 kgp --help
5265 kgp --all-namespaces
5266 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5267 history | grep helm | grep update
5268 helm search repo lms
5269 helm pull lms/lms --vsersion=0.2.3
5270 helm pull lms/lms --version=0.2.3
5271 ls
5272 ls -la
5273 open .
5274 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5275 kgp -w
5276 kubectl port-forward svc/lms 9043:9043 & \\nkubectl port-forward svc/lms-orchestrator 4200:4200 & \\nkubectl port-forward svc/lms-grafana 3000:80 & \\nkubectl port-forward svc/cockroachdb-public 26257:26257 & \\nkubectl port-forward svc/cockroachdb-public 8080:8080 & \\nkubectl port-forward svc/mysql 3306:3306 & \\necho "Run pkill -9 kubectl to stop port-forwarding..."
5277 kubectl port-forward svc/cockroachdb 26257:26257 &
5278 kubectl port-forward svc/lms-cockroachdb 26257:26257 & \\nkubectl port-forward svc/lms-mysql 3306:3306 &
5279 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5280 ./cockroach sql --insecure
5281 make deploy_app\n\nkubetail app
5282 kubetail app
5283 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5284 kdsa
5285 kdsa | grep sin
5286 kubectl get svc
5287 kgp
5288 kl lms-cdcsink-657cb946b8-gt5zr -w
5289 kl lms-cdcsink-657cb946b8-gt5zr
5290 kgp | grep sink
5291 kgp --help
5292 kgp custom-columns=":metadata.name"
5293 kgp --custom-columns=":metadata.name"
5294 kgp --o custom-columns=":metadata.name"
5295 kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}'
5296 kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep sink
5297 kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep cdc-sink | kl
5298 kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep cdc-sink
5299 kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep cdcsink
5300 kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep cdcsink | kl
5301 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep cdcsink)
5302 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5303 kubetail app
5304 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5305 make deploy_app
5306 kubetail app
5307 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5308 export CLI_ORCHESTRATOR_URL="http://0.0.0.0:4200"
5309 ./molt-lms-cli cutover consistent begin
5310 kubetail app
5311 kgp
5312 kl kubetail app
5313 kl app-55d48c9697-vkvd8
5314 kl app-55d48c9697-vkvd8 -w
5315 kl --help
5316 kl app-55d48c9697-vkvd8 -f
5317 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5318 ./molt-lms-cli cutover consistent commit
5319 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5320 gs
5321 rm lms-0.2.3.tgz
5322 gs
5323 git add helm-molt-lms-0-2-3/
5324 gs
5325 gau
5326 gs
5327 git commit -m "working, jane version"
5328 glog
5329 git remote -v
5330 git remote rename origin upstream
5331 git remote add origin https://github.com/ZhouXing19/crdb-demo.git
5332 git checkout -b jane-lms
5333 git push origin --force
5334 git checkout main
5335 rebasemain
5336 ./cleanup-k8.sh
5337 gs
5338 rm molt-lms-cli-0.2.3.darwin-amd64.tgz
5339 rm molt-lms-cli
5340 rm -rf helm-molt-lms-0-2-3/
5341 gs
5342 wget https://molt.cockroachdb.com/lms/cli/molt-lms-cli-0.2.3.darwin-amd64.tgz
5343 tar -xzf ./molt-lms-cli-0.2.3.darwin-amd64.tgz
5344 helm pull lms/lms --version=0.2.3
5345 tar -xzf ./lms-0.2.3.tgz
5346 mv ./lms ./helm-molt-lms-0-2-3
5347 cd helm-molt-lms-0-2-3
5348 cd ..
5349 helm dependency update ./helm-molt-lms-0-2-3
5350 cd helm-molt-lms-0-2-3
5351 helm dependency update
5352 cd ..
5353 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5354 kgp
5355 kl lms-5b4498d76c-lrn8w
5356 kl lms-orchestrator-774656bdb5-24b9b
5357 rm -rf helm-molt-lms-0-2-3/
5358 glog
5359 git reset 7fd6e1d --hard
5360 pwd
5361 cp ./helm-molt-lms /Users/janexing/go/src/github.com/cockroachdb/crdb/migration/to_cockroachdb/live_migration_service
5362 cp -r ./helm-molt-lms /Users/janexing/go/src/github.com/cockroachdb/crdb/migration/to_cockroachdb/live_migration_service
5363 cd helm-molt-lms
5364 cd ..
5365 mv ./helm-molt-lms ./helm-molt-lms-0-2-3
5366 cd helm-molt-lms-0-2-3
5367 helm dependency update
5368 pwd
5369 subl ~/.zshrc
5370 source ~/.zshrc
5371 todemo
5372 kgp
5373 toproxy
5374 ./cleanup-k8.sh
5375 kdeld app
5376 kdp
5377 todemo
5378 ls
5379 kgp
5380 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5381 touch mysql_script.sql
5382 subl mysql_script.sql
5383 subl crdb_script.sql
5384 source ~/.zshrc
5385 portforwardlms
5386 kgp -w
5387 todemo
5388 kgp -w
5389 kl lms-cdcsink-657cb946b8-8dn7t
5390 kgp -w
5391 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5392 ./cockroach sql --insecure
5393 cat crdb_script.sql > ./cockroach sql --insecure
5394 cat crdb_script.sql | ./cockroach sql --insecure
5395 ./cockroach sql --insecure -f ./crdb_script.sql
5396 ./cockroach sql --insecure
5397 rm -rf ./cockroach
5398 toproxy
5399 pwd
5400 cd ./cockroach /Users/janexing/go/src/github.com/cockroachdb/crdb/migration/to_cockroachdb/live_migration_service
5401 cp ./cockroach /Users/janexing/go/src/github.com/cockroachdb/crdb/migration/to_cockroachdb/live_migration_service
5402 cd -
5403 ./cockroach sql --insecure
5404 subl crdb_script.sql
5405 make deploy_app
5406 cd ..
5407 make deploy_app
5408 kgp -w
5409 source ~/.zshrc
5410 appLog
5411 source ~/.zshrc
5412 subl ~/.zshrc
5413 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5414 subl crdb_script.sql
5415 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep cdcsink)
5416 make deploy_app
5417 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5418 export CLI_ORCHESTRATOR_URL="http://0.0.0.0:4200"
5419 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5420 ./molt-lms-cli cutover consistent begin
5421 ./molt-lms-cli cutover consistent commit
5422 kgp
5423 toproxy
5424 ./cleanup-k8.sh
5425 vim migration/to_cockroachdb/live_migration_service/manifests/app/deployment.yaml
5426 todemo
5427 subl ./migration/to_cockroachdb/live_migration_service/manifests/app/deployment.yaml
5428 subl ./manifests/app/deployment.yaml
5429 vim ./manifests/app/deployment.yaml
5430 kdeld app
5431 todemo
5432 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5433 kgp -w
5434 kgp
5435 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5436 portforwardlms
5437 cat crdb_script.sql | ./cockroach sql --insecure
5438 cat crdb_script.sql
5439 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5440 cat mysql_script.sql
5441 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5442 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5443 ./cockroach sql --insecure
5444 make deploy_app
5445 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5446 vim ./manifests/app/deployment.yaml
5447 make deploy_app
5448 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5449 ./molt-lms-cli cutover consistent begin
5450 export CLI_ORCHESTRATOR_URL="http://0.0.0.0:4200"
5451 ./molt-lms-cli cutover consistent begin
5452 todemo
5453 toproxy
5454 ./cleanup-k8.sh
5455 kdeld app
5456 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5457 todemo
5458 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5459 kgp -w
5460 history | grep mysql_script
5461 toproxy
5462 ./cleanup-k8.sh
5463 cd -
5464 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5465 kgp
5466 kgp -w
5467 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5468 portforwardlms
5469 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5470 kgp
5471 portforwardlms
5472 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5473 subl ~/.zshrc
5474 kubectl port-forward svc/lms-mysql 3306:3306 &
5475 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5476 cat mysql_script.sql
5477 cat crdb_script.sql
5478 cat crdb_script.sql | ./cockroach sql --insecure
5479 ./cockroach sql --insecure
5480 make deploy_app
5481 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5482 vim ./manifests/app/deployment.yaml
5483 kgp
5484 toproxy
5485 ./cleanup-k8.sh
5486 kdeld app
5487 todemo
5488 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5489 vim ./manifests/app/deployment.yaml
5490 kgp
5491 kdp lms-mysql-0
5492 kdp lms-mysql-0 | grep port
5493 kdp lms-mysql-0 | grep Port
5494 kgp
5495 kdp lms-79cb44fbdd-hnc5j | grep Port
5496 portforwardlms
5497 kgp
5498 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5499 ./cockroach sql --insecure
5500 kdp lms-mysql-0 | grep Port
5501 kdp lms-79cb44fbdd-hnc5j | grep Port
5502 cat mysql_script.sql
5503 cat ./crdb_script.sql
5504 make deploy_app
5505 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5506 vim ./manifests/app/deployment.yaml
5507 make deploy_app
5508 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5509 export CLI_ORCHESTRATOR_URL="http://0.0.0.0:4200"
5510 ./molt-lms-cli cutover consistent begin
5511 ./molt-lms-cli cutover consistent commit
5512 toproxy
5513 ./cleanup-k8.sh
5514 git checkout main
5515 rebasemain
5516 git checkout -b lms-rfc
5517 mkdir rfc
5518 touch rfc/lms.md
5519 gau
5520 git commit
5521 git push origin --force
5522 git push upstream --force
5523 ./cleanup-k8.sh
5524 kdeld app
5525 todemo
5526 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5527 kgp
5528 cat ./crdb_script.sql
5529 cat ./mysql_script.sql
5530 portforwardlms
5531 procOfPort 3306
5532 kubectl port-forward svc/lms-mysql 3306:3306 &
5533 pkill -9 kubectl
5534 sudo lsof -i :3306
5535 portforwardlms
5536 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5537 ./cockroach sql --insecure
5538 cat ./crdb_script.sql > ./cockroach sql --insecure
5539 ./cockroach sql --insecure --file=./crdb_script.sql
5540 ./cockroach sql --insecure
5541 toproxy
5542 pwd
5543 pwd | pbcopy
5544 cp ./cockroach /Users/janexing/go/src/github.com/cockroachdb/crdb/migration/to_cockroachdb/live_migration_service\n
5545 echo hello | pbcopy
5546 cd -
5547 ./cockroach sql --insecure
5548 vim ./manifests/app/deployment.yaml
5549 make deploy_app
5550 subl ~/.zshrc
5551 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5552 vim ./manifests/app/deployment.yaml
5553 source ~/.zshrc
5554 reapplyapp
5555 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5556 ./molt-lms-cli cutover consistent begin
5557 export CLI_ORCHESTRATOR_URL="http://0.0.0.0:4200"
5558 ./molt-lms-cli cutover consistent begin
5559 ./molt-lms-cli cutover consistent commit
5560 ./molt-lms-cli cutover consistent begin
5561 ./molt-lms-cli cutover consistent commit
5562 vim ./manifests/app/deployment.yaml
5563 todemo
5564 toproxy
5565 ./cleanup-k8.sh
5566 kdeld app
5567 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5568 vim ./manifests/app/deployment.yaml
5569 todemo
5570 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5571 kgp
5572 ls
5573 portforwardlms
5574 kgp
5575 pkill -9 kubectl
5576 portforwardlms
5577 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5578 toproxy
5579 ./cleanup-k8.sh
5580 kdeld app
5581 cd demo
5582 todemo
5583 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5584 vim ./manifests/app/deployment.yaml
5585 kgp
5586 portforwardlms
5587 kl lms-79cb44fbdd-69qg7
5588 kgp
5589 kl lms-cdcsink-657cb946b8-q6pqh
5590 kgp
5591 kubectl port-forward svc/lms 9043:9043 &
5592 kgp
5593 kl lms-79cb44fbdd-69qg7
5594 kl lms-orchestrator-6766b85964-kmz4n
5595 kgp
5596 kl lms-orchestrator-6766b85964-kmz4n
5597 kgp
5598 kl lms-79cb44fbdd-69qg7
5599 kgp
5600 kgp -w
5601 pkill -9 kubectl
5602 portforwardlms
5603 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5604 kl lms-mysql-0
5605 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5606 pkill -9 kubectl
5607 portforwardlms
5608 ./cockroach sql --insecure
5609 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5610 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5611 kl lms-mysql-0
5612 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5613 kl lms-mysql-0
5614 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5615 pkill -9 kubectl
5616 kubectl port-forward svc/lms 9043:9043 &
5617 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5618 \q
5619 portforwardlms
5620 toproxy
5621 ./cleanup-k8.sh
5622 docker rm -f $(docker ps -a -q)
5623 todemo
5624 helm install \\n --namespace default \\n -f helm-molt-lms-0-2-3/values.yaml lms helm-molt-lms-0-2-3
5625 kgp
5626 kgp -w
5627 kl lms-orchestrator-6766b85964-7hcs4
5628 kgp
5629 kl lms-79cb44fbdd-j9lq4
5630 kgp -w
5631 kl lms-79cb44fbdd-j9lq4
5632 portforwardlms
5633 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5634 ./cockroach sql --insecure
5635 vim ./manifests/app/deployment.yaml
5636 kgp
5637 kdp lms-79cb44fbdd-j9lq4 | grep Port
5638 kdp lms-mysql-0 | grep Port
5639 cat ./crdb_script.sql
5640 cat ./mysql_script.sql
5641 ls
5642 kgp
5643 mysql -u root -p'password' -h '0.0.0.0' -P 3306 --database=defaultdb
5644 make deploy_app
5645 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5646 kdp lms-mysql-0 | grep Port
5647 kdp lms-79cb44fbdd-j9lq4 | grep Port
5648 vim ./manifests/app/deployment.yaml
5649 kubectl apply -f manifests/app/deployment.yaml
5650 kl $(kubectl get pods --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep app) --follow
5651 ./molt-lms-cli cutover consistent begin
5652 ./molt-lms-cli cutover consistent commit
5653 toproxy
5654 ./cleanup-k8.sh
5655 gau
5656 gcan
5657 git push upstream --force
5658 gau
5659 gcan
5660 git push upstream --force
5661 gs
5662 gau
5663 glog
5664 gcan
5665 gs
5666 git checkout main
5667 rebasemain
5668 git cherry-pick 8bec3c9d07e88ec6d6a9e40cbb94984f6937ec4d
5669 open ./rfc/images
5670 gau
5671 gcan
5672 git push upstream --force
5673 git add rfc
5674 gs
5675 gcan
5676 git commit
5677 gca
5678 git push upstream --force
5679 gau
5680 gs
5681 gcan
5682 git push upstream --force
5683 git checkout -
5684 glog
5685 git reset aa4cbc1
5686 glog
5687 kdeld app
5688 ./cleanup-k8.sh
5689 gs
5690 gau
5691 git add e2e
5692 gs
5693 git add .github/e2esampledata/
5694 git add .github/workflows/e2etest.yaml
5695 gs
5696 git commit -m "draft"
5697 git commit
5698 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pg_data postgres:15-alpine
5699 psql postgresql://postgres:postgres@localhost:5437/postgres
5700 docker rm -f $(docker ps -a -q)
5701 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pg_data postgres:15-alpine
5702 psql postgresql://postgres:postgres@localhost:5437/postgres
5703 docker cp ./.github/e2esampledata/sampledata.csv postgres:/tmp/pg_data
5704 psql postgresql://postgres:postgres@localhost:5437/postgres
5705 go mod download
5706 go mod update
5707 go mod --help
5708 go get -u
5709 gs
5710 git add e2e/datadriven_test.go
5711 git add e2
5712 git add e2e
5713 gs
5714 gcan
5715 glog
5716 rebasemain && git cherry-pick cd36461
5717 go mod download
5718 go get -t github.com/cockroachdb/molt/e2e
5719 docker ps
5720 docker-compose --file ./.github/docker-compose.yml up
5721 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget mysql postgresql
5722 docker ps | grep github
5723 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget mysql postgresql
5724 docker-compose --file ./.github/docker-compose.yml down
5725 chmod u+x ./myshell.sh
5726 ./myshell.sh
5727 docker-compose --file ./.github/docker-compose.yml down
5728 docker-compose --file ./docker-compose.yaml down
5729 helm --help
5730 helm env
5731 history | grep TestDataDriven
5732 go test -v ./e2e -run TestDataDriven
5733 chmod u+x ./scripts/hello.sh
5734 go test -v ./e2e -run TestDataDriven
5735 docker-compose --file ./docker-compose.yaml down
5736 docker-compose --file ./.github/docker-compose.yml down
5737 go test -v ./e2e -run TestDataDriven
5738 docker-compose --file ./.github/docker-compose.yml up
5739 docker-compose --file ./.github/docker-compose.yml up -d
5740 docker container inspect -f '{{.State.Running}}' github-mysql-1
5741 ps
5742 docker ps
5743 docker container inspect -f '{{.State.Running}}' github-postgresql-1
5744 docker-compose --file ./.github/docker-compose.yml up
5745 docker-compose --file ./.github/docker-compose.yml down
5746 docker rm -f $(docker ps -a -q)
5747 docker-compose --file ./.github/docker-compose.yml up -d
5748 docker container inspect -f '{{.State.Running}}' github-mysql-1
5749 docker-compose --file ./.github/docker-compose.yml down
5750 go test -v ./e2e -run TestDataDriven
5751 docker-compose --file ./.github/docker-compose.yml down
5752 go test -v ./e2e -run TestDataDriven
5753 docker-compose --file ./.github/docker-compose.yml up -d
5754 psql 'postgres://root@localhost:26457/defaultdb'
5755 psql 'postgres://root@localhost:26257/defaultdb'
5756 \q
5757 psql 'postgres://root@localhost:26257/defaultdb' -c "DROP TABLE IF EXISTS tbl1; CREATE TABLE tbl1 (id INT PRIMARY KEY, t TEXT);"
5758 psql 'postgres://root@localhost:5432/defaultdb' -c "DROP TABLE IF EXISTS tbl1; CREATE TABLE tbl1 (id INT PRIMARY KEY, t TEXT);"
5759 psql 'postgres://postgres@localhost:5432/defaultdb' -c "DROP TABLE IF EXISTS tbl1; CREATE TABLE tbl1 (id INT PRIMARY KEY, t TEXT);"
5760 psql 'postgres://postgres@localhost:5432/defaultdb' -c "COPY tbl1 (id, t) FROM 'sampledata.csv' CSV HEADER;"
5761 docker cp ./.github/e2esampledata/sampledata.csv postgres:/tmp/pg_data
5762 docker cp ./.github/e2esampledata/sampledata.csv github-postgres-1:/tmp/pg_data
5763 docker ps | grep postgres
5764 docker cp ./.github/e2esampledata/sampledata.csv github-postgresql-1:/tmp/pg_data
5765 psql 'postgres://postgres@localhost:5432/defaultdb' -c "COPY tbl1 (id, t) FROM 'sampledata.csv' CSV HEADER;"
5766 docker-compose --file ./.github/docker-compose.yml down
5767 docker run -d --name postgres -p 5437:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e PGDATA=/tmp/pg_data postgres:15-alpine
5768 docker rm -f $(docker ps -a -q)
5769 go test -v ./e2e -run TestDataDriven
5770 psql 'postgres://postgres@localhost:5432/defaultdb'
5771 go test -v ./e2e -run TestDataDriven
5772 docker-compose --file ./.github/docker-compose.yml down
5773 go test -v ./e2e -run TestDataDriven
5774 docker-compose --file ./.github/docker-compose.yml down
5775 go test -v ./e2e -run TestDataDriven
5776 docker logs github-postgresql-1 -f
5777 docker cp ./.github/e2esampledata/sampledata.csv github-postgresql-1:/tmp/pg_data
5778 psql 'postgres://postgres@localhost:5433/defaultdb' -c "CREATE TABLE tbl1 (id INT PRIMARY KEY, t TEXT);"
5779 docker-compose --file ./.github/docker-compose.yml down
5780 go test -v ./e2e -run TestDataDriven
5781 docker-compose --file ./.github/docker-compose.yml down
5782 go test -v ./e2e -run TestDataDriven
5783 docker-compose --file ./.github/docker-compose.yml down
5784 go test -v ./e2e -run TestDataDriven
5785 psql 'postgres://postgres@localhost:5433/defaultdb'
5786 rebasemaster
5787 git checkout -b fix-docker-test-1215
5788 git add -u
5789 git commit
5790 git push origin --force
5791 gau
5792 gcan
5793 gau
5794 gcan
5795 gca
5796 git push origin --force
5797 gau
5798 gcan
5799 git push origin --force
5800 gs
5801 git restore --staged scripts/hello.sh
5802 git add rfc/20231211_molt_live_migration_service.md
5803 gs
5804 gcan
5805 git push origin --force
5806 open ./rfc/images
5807 gs
5808 git add rfc/images
5809 glog
5810 gcan
5811 gs
5812 git push origin --force
5813 gs
5814 git add rfc
5815 gs
5816 gcan
5817 git push origin --force
5818 gs
5819 git push upstream --force
5820 go test -v ./e2e -run TestDataDriven
5821 docker rm -f $(docker ps -a -q)
5822 docker-compose --file ./.github/docker-compose.yml down
5823 go test -v ./e2e -run TestDataDriven
5824 docker ps
5825 docker exec -it postgres sh
5826 docker exec -it github-postgresql-1 sh
5827 psql 'postgres://postgres@localhost:5433/defaultdb'
5828 docker-compose --file ./.github/docker-compose.yml down
5829 psql 'postgres://postgres@localhost:5433/defaultdb'
5830 go test -v ./e2e -run TestDataDriven
5831 go test -v ./e2e -run TestDataDriven --rewrite=true
5832 gs
5833 git add rfc
5834 gcan
5835 git push upstream --force
5836 docker logs github-cockroachdb-1 -f
5837 docker logs github-cockroachdb-1 > hello.log
5838 docker logs -- help
5839 docker logs --help
5840 docker logs github-cockroachdb-1 > hello.log
5841 subl hello.log
5842 docker logs github-cockroachdb-1 > hello.log
5843 subl hello.log
5844 history | grep 26258
5845 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
5846 go test -v ./e2e -run TestDataDriven --rewrite=true
5847 gs
5848 gau
5849 git commit
5850 git checkout main
5851 git checkout master
5852 rebasemaster
5853 gau
5854 git commit
5855 gau
5856 git commit
5857 history | grep hook
5858 make sync_hooks
5859 git commit
5860 chmod u+x ./.githooks/prepare-commit-msg
5861 git commit
5862 chmod ug+x ./git/hooks/*
5863 chmod ug+x .githooks/*
5864 make sync_hooks
5865 gs
5866 git commit
5867 gs
5868 git checkout main
5869 git checkout main --force
5870 rebasemaster
5871 rebasemain
5872 git commit
5873 git add -u
5874 gs
5875 git checkout -b prepare-commit-msg
5876 git commit
5877 git push upstream --force
5878 git commit
5879 git add -u
5880 git commit
5881 make sync_hooks
5882 git add -u
5883 git commit
5884 ls .git/hooks
5885 make sync_hooks
5886 git commit
5887 chmod ug+x .githooks/*
5888 make sync_hooks
5889 git commit
5890 git checkout -
5891 git checkout e2e
5892 git checkout e2e-test
5893 history | grep fetch
5894 docker-compose --file ./.github/docker-compose.yml down
5895 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 -v "${PWD}/cockroach-data:/cockroach/cockroach-data" cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
5896 rm -rf ./cockroach-data
5897 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
5898 docker rm -f $(docker ps -a -q)
5899 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
5900 docker run -d --name=roach6 --hostname=roach6 -p 26258:26257 -p 8081:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
5901 ./cockroach sql --insecure --host=localhost:26258
5902 ./cockroach sql --insecure --host=localhost:26257
5903 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1'
5904 ./cockroach sql --insecure --host=localhost:26258
5905 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
5906 docker rm -f $(docker ps -a -q)
5907 history | grep 26258 | grep -- './cockroach'
5908 ./cockroach sql --insecure --host=localhost:26258 --background
5909 history | grep 26258 | grep -- './cockroach'
5910 rm -rf /tmp/node2
5911 rm -rf /tmp/node1
5912 rm -rf /tmp/node0
5913 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=/tmp/node2
5914 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=/tmp/node2 --background
5915 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=/tmp/node1 --background
5916 ./cockroach sql --insecure --host=localhost:26258
5917 ./cockroach sql --insecure --host=localhost:26257
5918 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
5919 ./cockroach sql --insecure --host=localhost:26258
5920 docker rm -f $(docker ps -a -q)
5921 pkill -9 cockroach
5922 rm -rf /tmp/node0
5923 rm -rf /tmp/node1
5924 rm -rf /tmp/node2
5925 ls /tmp
5926 go test -v ./e2e -run TestDataDriven --rewrite=true
5927 cd e2e
5928 go run .. fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
5929 go test -v ./e2e -run TestDataDriven --rewrite=true
5930 cd ..
5931 go test -v ./e2e -run TestDataDriven --rewrite=true
5932 history | grep gceworker
5933 echo $COCKROACH_DEV_LICENSE
5934 docker rm -f $(docker ps -a -q)
5935 docker-compose --file ./.github/docker-compose.yml down
5936 rm -rf /tmp/node2
5937 rm -rf /tmp/node1
5938 rm -rf /tmp/node0
5939 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=/tmp/node1 --background
5940 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=/tmp/node2 --background
5941 ./cockroach sql --insecure --host=localhost:26258
5942 go run . fetch --help
5943 ./cockroach sql --insecure --host=localhost:26257
5944 touch test.sh\n
5945 subl test
5946 ./cockroach sql --insecure --host=localhost:26257
5947 subl test.sh
5948 chmod u+x ./test.sh
5949 rm test
5950 ./test.sh
5951 ./cockroach sql --insecure --host=localhost:26257
5952 ./test.sh
5953 pkill -9 cockroach
5954 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=/tmp/node2 --background
5955 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=/tmp/node1 --background
5956 ./cockroach sql --insecure --host=localhost:26257
5957 pkill -9 cockroach
5958 mkdir node1
5959 mkdir node2
5960 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
5961 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
5962 ./cockroach sql --insecure --host=localhost:26257
5963 ./cockroach sql --insecure --host=localhost:26258
5964 ./test.sh
5965 ./cockroach sql --insecure --host=localhost:26257
5966 ./test.sh
5967 subl create.sh
5968 chmod u+x ./create.sh
5969 ./create.sh
5970 cat output.csv
5971 ./create.sh
5972 cat output.csv
5973 ./create.sh
5974 ./cockroach sql --insecure --host=localhost:26257
5975 subl ~/.zshrc
5976 cp ./output.csv ./node1/extern
5977 ./cockroach sql --insecure --host=localhost:26257
5978 wc -l ./output.csv
5979 subl create.sh
5980 ./cockroach sql --insecure --host=localhost:26257
5981 pkill -9 cockroach
5982 rm -rf node1
5983 rm -rf node2
5984 mkdir node2
5985 mkdir node1
5986 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
5987 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
5988 ./cockroach sql --insecure --host=localhost:26257
5989 ./cockroach sql --insecure --host=localhost:26258
5990 cp ./output.csv ./node1/extern
5991 ./cockroach sql --insecure --host=localhost:26257
5992 cp ./output.csv ./node1/extern
5993 ./cockroach sql --insecure --host=localhost:26257
5994 pkill -9 cockroach
5995 rm -rf node2
5996 rm -rf node1
5997 mkdir node1
5998 mkdir node2
5999 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6000 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6001 ./cockroach sql --insecure --host=localhost:26257
6002 cp ./output.csv ./node1/extern
6003 ./cockroach sql --insecure --host=localhost:26258
6004 go run .. fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --direct-copy
6005 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --direct-copy
6006 ./create.sh
6007 ./cockroach sql --insecure --host=localhost:26257
6008 ./cockroach sql --insecure --host=localhost:26258
6009 ./cockroach sql --insecure --host=localhost:26257
6010 cp ./output.csv ./node1/extern
6011 ./cockroach sql --insecure --host=localhost:26257
6012 ./create.sh
6013 cp ./output.csv ./node1/extern
6014 wc -l ./output.csv
6015 history | grep 10000
6016 ./cockroach sql --insecure --host=localhost:26257
6017 ./cockroach sql --insecure --host=localhost:26258
6018 ./cockroach sql --insecure --host=localhost:26257
6019 pkill -9 cockroach
6020 rm -rf node1
6021 rm -rf node2
6022 mkdir node2
6023 mkdir node1
6024 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6025 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6026 ./cockroach sql --insecure --host=localhost:26257
6027 mkdir node1/extern
6028 cp ./output.csv ./node1/extern
6029 wc -l ./output.csv
6030 head ./output.csv
6031 subl create.sh
6032 ./create.sh
6033 wc -l ./output1.csv
6034 cp ./output.csv ./node1/extern
6035 cp ./output1.csv ./node1/extern
6036 for ((i=0; i<=72; i++)); do\n./cockroach sql --insecure --host=localhost:26257 --execute "IMPORT INTO tbl1 (t) CSV DATA ("nodelocal://1/output1.csv") WITH nullif="NULL";"\necho "finished batch $i"\ndone
6037 for ((i=0; i<=72; i++)); do\n./cockroach sql --insecure --host=localhost:26257 --execute "IMPORT INTO tbl1 (t) CSV DATA (\"nodelocal://1/output1.csv\") WITH nullif=\"NULL\";"\necho "finished batch $i"\ndone
6038 ./cockroach sql --insecure --host=localhost:26257
6039 for ((i=0; i<=72; i++)); do\n./cockroach sql --insecure --host=localhost:26257 --execute "IMPORT INTO tbl1 (t) CSV DATA (\"nodelocal://1/output1.csv\") WITH nullif=\"NULL\";"\necho "finished batch $i"\ndone
6040 ./cockroach sql --insecure --host=localhost:26257
6041 for ((i=0; i<=72; i++)); do\n./cockroach sql --insecure --host=localhost:26257 --execute "IMPORT INTO tbl1 (t) CSV DATA (\"nodelocal://1/output1.csv\") WITH nullif=\"NULL\";"\necho "finished batch $i" && sleep 2\ndone
6042 ./cockroach sql --insecure --host=localhost:26257
6043 rm -rf node2
6044 rm -rf node1
6045 pkill -9 cockroach
6046 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6047 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6048 ./cockroach sql --insecure --host=localhost:26257
6049 for ((i=0; i<=10; i++)); do\n./cockroach sql --insecure --host=localhost:26257 --execute "IMPORT INTO tbl1 (t) CSV DATA (\"nodelocal://1/output1.csv\") WITH nullif=\"NULL\";"\necho "finished batch $i" && sleep 2\ndone
6050 mkdir node1/extern
6051 cp ./output1.csv ./node1/extern
6052 for ((i=0; i<=10; i++)); do\n./cockroach sql --insecure --host=localhost:26257 --execute "IMPORT INTO tbl1 (t) CSV DATA (\"nodelocal://1/output1.csv\") WITH nullif=\"NULL\";"\necho "finished batch $i" && sleep 2\ndone
6053 ./cockroach sql --insecure --host=localhost:26257
6054 for ((i=0; i<=10; i++)); do\n./cockroach sql --insecure --host=localhost:26257 --execute "IMPORT INTO tbl1 (t) CSV DATA (\"nodelocal://1/output1.csv\") WITH nullif=\"NULL\";"\necho "finished batch $i" && sleep 2\ndone
6055 ./cockroach sql --insecure --host=localhost:26257
6056 ./cockroach sql --insecure --host=localhost:26258
6057 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --direct-copy
6058 subl create1.sh
6059 chmod u+x ./create1.sh
6060 ./create1.sh
6061 head ./output2.csv
6062 wc -l ./output2.csv
6063 cp ./output2.csv ./node1/extern
6064 pkill -9 cockroach
6065 rm -rf node1
6066 rm -rf node2
6067 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6068 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6069 mkdir node1/extern
6070 cp ./output2.csv ./node1/extern
6071 ./cockroach sql --insecure --host=localhost:26257
6072 ./cockroach sql --insecure --host=localhost:26258
6073 ./cockroach sql --insecure --host=localhost:26257
6074 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --direct-copy
6075 ./cockroach sql --insecure --host=localhost:26258
6076 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --direct-copy
6077 pgrep -f create1
6078 pkill 18000
6079 pgrep -f create1
6080 ./cockroach sql --insecure --host=localhost:26258
6081 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --live
6082 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --direct-copy
6083 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005' --live
6084 ./cockroach sql --insecure --host=localhost:26258
6085 rm -rf node2
6086 rm -rf node1
6087 pkill 18000
6088 pkill -f kubectl
6089 pkill -f cockroach
6090 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6091 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6092 cp ./output2.csv ./node1/extern
6093 ./cockroach sql --insecure --host=localhost:26257
6094 mkdir node1/extern
6095 rm node1/extern
6096 mkdir node1/extern
6097 cp ./output2.csv ./node1/extern
6098 ./cockroach sql --insecure --host=localhost:26257
6099 rm -rf node1
6100 rm -rf node2
6101 pkill -f cockroach
6102 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6103 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6104 mkdir node1/extern
6105 cp ./output2.csv ./node1/extern
6106 ./cockroach sql --insecure --host=localhost:26257
6107 ./cockroach sql --insecure --host=localhost:26258
6108 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005' --live
6109 cp ./output1.csv ./node1/extern
6110 ./cockroach sql --insecure --host=localhost:26257
6111 ./cockroach sql --insecure --host=localhost:26258
6112 ./cockroach sql --insecure --host=localhost:26257
6113 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005' --live
6114 ./cockroach sql --insecure --host=localhost:26258
6115 rm -rf node2
6116 rm -rf node1
6117 pkill -f cockroach
6118 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6119 pkill -f cockroach
6120 rm -rf node1
6121 rm -rf node2
6122 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6123 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6124 mkdir node1/extern
6125 cp ./output1.csv ./node1/extern
6126 cp ./output2.csv ./node1/extern
6127 ./cockroach sql --insecure --host=localhost:26258
6128 ./cockroach sql --insecure --host=localhost:26257
6129 rm -rf node2
6130 rm -rf node1
6131 pkill -f cockroach
6132 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6133 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6134 ./cockroach sql --insecure --host=localhost:26258
6135 ./cockroach sql --insecure --host=localhost:26257
6136 mkdir node1/extern
6137 cp ./output2.csv ./node1/extern
6138 cp ./output1.csv ./node1/extern
6139 ./cockroach sql --insecure --host=localhost:26257
6140 go run . fetch \\n --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' \\n --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' \\n --table-filter 'tbl1' \\n --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005' --live
6141 cd ..
6142 git clone https://github.com/ZhouXing19/zhouxing19.github.io.git
6143 ls
6144 cd zhouxing19.github.io
6145 gs
6146 rm *
6147 rm -rf *
6148 echo "hello world" > README.md
6149 gau
6150 git commit -m "blank"
6151 git push origin --force
6152 tomolt
6153 gs
6154 go test -v ./e2e -run TestDataDriven --rewrite=true
6155 go run . fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'tbl1' --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
6156 go run . fetch --source 'postgres://postgres@localhost:5433/defaultdb' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'tbl1' --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
6157 docker-compose --file ./.github/docker-compose.yml down
6158 go test -v ./e2e -run TestDataDriven --rewrite=true
6159 history | grep verify
6160 go run . verify --source 'postgres://postgres@localhost:5433/defaultdb' 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
6161 go run . verify --source 'postgres://postgres@localhost:5433/defaultdb' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable'
6162 go run . verify --help
6163 go run . verify --source 'postgres://postgres@localhost:5433/defaultdb' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter=tbl1
6164 go run . verify --source 'postgres://postgres@localhost:5433/defaultdb' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter=tbl1 --use-console-writer
6165 go test -v ./e2e -run TestDataDriven --rewrite=true
6166 go run . fetch --help
6167 go run . fetch --test-only
6168 go run . fetch --source 'postgres://postgres@localhost:5433/defaultdb' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'tbl1' --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005' --test-only
6169 go run . fetch --source 'postgres://postgres@localhost:5433/defaultdb' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'tbl1' --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005' --help
6170 go run . fetch --test-only
6171 gs
6172 git add cmd/fetch/fetch.go
6173 git add fetch/fetch.go
6174 git commit
6175 gs
6176 git add cmd/fetch/fetch.go
6177 gs
6178 git add cmd/verify/verify.go\n
6179 git add verify/verify.go\n
6180 gs
6181 gcan
6182 gs
6183 go run . verify --help
6184 go run . verify --test-only
6185 docker-compose --file ./.github/docker-compose.yml down
6186 go test -v ./e2e -run TestDataDriven --rewrite=true
6187 go test -v ./e2e -run TestDataDriven
6188 go test -v ./e2e -run TestDataDriven --rewrite=true
6189 go test -v ./e2e -run TestDataDriven
6190 gs
6191 gau
6192 git commit
6193 git push origin --force
6194 git push upstream --force
6195 go test -v ./e2e -run TestDataDriven
6196 go test -v ./e2e -run TestDataDriven --rewrite=true
6197 go test -v ./e2e -run TestDataDriven
6198 gs
6199 gau
6200 subl ~/.gitconfig
6201 subl /Users/janexing/.gitignore
6202 gs
6203 git commit
6204 git push upstream --force
6205 mysql -u root -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6206 go test -v ./e2e -run TestDataDriven
6207 mysql -u root -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6208 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6209 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb --execute="SELECT 1"
6210 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb --execute="DROP TABLE IF EXISTS tbl1; CREATE TABLE tbl1 (id INT PRIMARY KEY, t TEXT);"
6211 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6212 docker cp ./.github/e2esampledata/sampledata.csv github-mysql-1:/var/lib/mysql-files
6213 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6214 docker exec -it github-mysql-1 mysql -u root -e 'GRANT FILE on *.* to user;'
6215 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6216 go test -v ./e2e -run TestDataDriven
6217 go test -v ./e2e -run TestDataDriven/mysql
6218 docker-compose --file ./.github/docker-compose.yml down
6219 go test -v ./e2e -run TestDataDriven/mysql
6220 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6221 history | grep cache
6222 go clean -testcache
6223 go test -v ./e2e -run TestDataDriven/mysql
6224 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6225 docker cp ./.github/e2esampledata/sampledata.csv github-mysql-1:/var/lib/mysql-files
6226 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6227 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6228 mysql --help
6229 mysql --help | grep url
6230 history | grep fetch | grep mysql
6231 go run . fetch --source 'mysql://user:[email protected]:3307/defaultdb' --target 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --table-filter 'tbl1' --local-path /tmp/basic --local-path-listen-addr '0.0.0.0:9005'
6232 docker-compose --file ./.github/docker-compose.yml down
6233 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6234 docker-compose --file ./.github/docker-compose.yml down
6235 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6236 docker-compose --file ./.github/docker-compose.yml down
6237 docker-compose --file ./.github/docker-compose.yml up -d
6238 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6239 docker ps
6240 docker ps | grep mysql
6241 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6242 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
6243 mysql -u user -p'password' -h '0.0.0.0' -P 3307 --database=defaultdb
6244 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6245 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
6246 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6247 gs
6248 git add -u
6249 gs
6250 git commit
6251 git push upstream --force
6252 docker-compose --file ./.github/docker-compose.yml down
6253 docker-compose --file ./.github/docker-compose.yml up -d
6254 docker exec -it github-cockroachdb-1 sh
6255 docker exec -t github-cockroachdb-1 mkdir -p /cockroach/cockroach-data/extern
6256 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach/cockroach-data/extern
6257 ./cockroach sql --insecure --host=localhost:26257
6258 subl ~/.zshrc
6259 docker exec -it github-cockroachdb-1 sh
6260 docker-compose --file ./.github/docker-compose.yml down
6261 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
6262 docker exec -it roach5 sh
6263 docker rm -f $(docker ps -a -q)
6264 docker-compose --file ./.github/docker-compose.yml up -d
6265 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6266 docker exec -it github-cockroachdb-1 sh
6267 docker logs github-cockroachdb-1
6268 pkill -f cockroach
6269 docker-compose --file ./.github/docker-compose.yml down
6270 docker-compose --file ./.github/docker-compose.yml up -d
6271 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6272 docker exec -it github-cockroachdb-1 sh
6273 docker-compose --file ./.github/docker-compose.yml down
6274 docker rm -f $(docker ps -a -q)
6275 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb
6276 docker logs github-cockroachdb-1
6277 ./cockroach sql --insecure --host=localhost:26257
6278 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6279 ./cockroach sql --insecure --host=localhost:26257
6280 docker exec -it github-cockroachdb-1 sh
6281 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6282 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata1.csv --insecure
6283 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable' -c "IMPORT INTO tbl1 CSV DATA (\"nodelocal://1/sampledata.csv\") WITH nullif=\"NULL\", skip=\'1\';"
6284 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable' -c "IMPORT INTO tbl1 CSV DATA (\"nodelocal://1/sampledata.csv\") WITH nullif=\"NULL\", skip='1';"
6285 ./cockroach sql --insecure --host=localhost:26257
6286 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable' -c "IMPORT INTO tbl1 CSV DATA (\"nodelocal://1/sampledata.csv\") WITH nullif=\"NULL\", skip='1';"
6287 go test -v ./e2e -run TestDataDriven/crdb --rewrite=true
6288 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6289 docker run -d --name=roach5 --hostname=roach5 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:latest-v23.1 start-single-node --insecure
6290 docker ps | grep cockroach
6291 docker inspect -f '{{ .Mounts }}'
6292 docker inspect -f '{{ .Mounts }}' github-cockroachdb-1
6293 docker inspect -f '{{ .Volumes }}' github-cockroachdb-1
6294 docker inspect -f '{{ .Volumns }}' github-cockroachdb-1
6295 docker-compose --file ./.github/docker-compose.yml down
6296 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb
6297 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6298 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6299 docker rm -f $(docker ps -a -q)
6300 docker-compose --file ./.github/docker-compose.yml down
6301 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb
6302 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6303 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6304 docker-compose --file ./.github/docker-compose.yml down
6305 docker-compose --file ./.github/docker-compose.yml up -d
6306 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6307 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6308 docker-compose --file ./.github/docker-compose.yml down
6309 docker-compose --file ./.github/docker-compose.yml up -d
6310 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6311 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6312 docker logs github-cockroachdb-1
6313 docker logs github-cockroachdb-1 -f
6314 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6315 docker logs github-cockroachdb-1 -f
6316 docker-compose --file ./.github/docker-compose.yml down
6317 docker-compose --file ./.github/docker-compose.yml up -d
6318 docker logs github-cockroachdb-1 -f
6319 docker-compose --file ./.github/docker-compose.yml down
6320 pkill -f cockroach
6321 docker-compose --file ./.github/docker-compose.yml up -d
6322 docker logs github-cockroachdb-1 -f
6323 docker-compose --file ./.github/docker-compose.yml down
6324 pkill -f cockroach
6325 procOfPort 26257
6326 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb
6327 docker logs github-cockroachdb-1 -f
6328 docker-compose --file ./.github/docker-compose.yml down
6329 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6330 docker logs github-cockroachdb-1 -f
6331 docker-compose --file ./.github/docker-compose.yml down
6332 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6333 docker logs github-cockroachdb-1 -f
6334 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6335 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6336 docker-compose --file ./.github/docker-compose.yml down
6337 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6338 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6339 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6340 docker-compose --file ./.github/docker-compose.yml down
6341 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6342 docker logs github-cockroachdb-1 -f
6343 docker logs github-cockroachdb-1 -f
6344 docker cp ./.github/e2esampledata/sampledata.csv github-cockroachdb-1:/cockroach
6345 docker exec -t github-cockroachdb-1 ./cockroach nodelocal upload ./sampledata.csv sampledata.csv --insecure
6346 docker-compose --file ./.github/docker-compose.yml down
6347 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6348 docker logs github-cockroachdb-1 -f
6349 docker logs github-cockroachdbtarget-1 -f
6350 docker logs github-cockroachdbtarget-1 | grep initializing
6351 ./cockroach sql --insecure --host=localhost:26257
6352 ./cockroach sql --insecure --host=localhost:26258
6353 ./cockroach sql --insecure --host=localhost:26257
6354 ./cockroach sql --insecure --host=localhost:26258
6355 docker-compose --file ./.github/docker-compose.yml down
6356 pkill -f cockroach
6357 ls
6358 rm -rf cockroach-data
6359 docker volumes
6360 go test -v ./e2e -run TestDataDriven/crdb --rewrite=true
6361 docker-compose --file ./.github/docker-compose.yml down
6362 docker-compose --file ./.github/docker-compose.yml up -d
6363 docker logs github-cockroachdb-1 -f
6364 docker-compose --file ./.github/docker-compose.yml down
6365 docker-compose --file ./.github/docker-compose.yml up -d
6366 docker logs github-cockroachdb-1 -f
6367 docker-compose --file ./.github/docker-compose.yml down
6368 docker-compose --file ./.github/docker-compose.yml up -d
6369 docker logs github-cockroachdb-1 -f
6370 docker logs github-cockroachdbtarget-1 -f
6371 docker-compose --file ./.github/docker-compose.yml down
6372 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6373 docker logs github-cockroachdb-1 -f
6374 docker-compose --file ./.github/docker-compose.yml down
6375 docker logs github-cockroachdb-1 -f
6376 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6377 docker logs github-cockroachdb-1 -f
6378 docker-compose --file ./.github/docker-compose.yml down
6379 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6380 docker logs github-cockroachdb-1 -f
6381 docker-compose --file ./.github/docker-compose.yml down
6382 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget mysql postgresql
6383 docker-compose --file ./.github/docker-compose.yml down
6384 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget mysql
6385 docker logs github-cockroachdb-1 -f
6386 docker logs github-cockroachdb-1 -f
6387 docker logs github-cockroachdbtarget-1 -f
6388 docker logs github-cockroachdb-1 -f
6389 docker-compose --file ./.github/docker-compose.yml down
6390 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget
6391 docker logs github-cockroachdb-1 -f
6392 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget mysql
6393 mkdir ./cockroach-data
6394 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget mysql
6395 docker-compose --file ./.github/docker-compose.yml down
6396 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb cockroachdbtarget mysql
6397 docker logs github-cockroachdb-1 -f
6398 docker logs github-cockroachdb-1 -f
6399 docker-compose --file ./.github/docker-compose.yml down
6400 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb mysql
6401 docker logs github-cockroachdb-1 -f
6402 docker-compose --file ./.github/docker-compose.yml down
6403 go test -v ./e2e -run TestDataDriven/crdb --rewrite=true
6404 docker logs github-cockroachdb-1 -f
6405 docker-compose --file ./.github/docker-compose.yml down
6406 go test -v ./e2e -run TestDataDriven/crdb --rewrite=true
6407 subl ~/.zshrc
6408 gceworker create
6409 subl ~/.zshrc
6410 source ~/.zshrc
6411 gceworker create
6412 gceworker start
6413 gceworker --help
6414 gceworker sync --help
6415 brew install unison
6416 pwd
6417 gcloud compute scp --help
6418 gceworker start
6419 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/*' './*' --project=cockroach-workers
6420 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/' './' --project=cockroach-workers
6421 gceworker start
6422 gcloud compute scp --help
6423 gcloud compute scp --recurse './*' 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/*' --project=cockroach-workers
6424 gcloud compute scp --recurse './' 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt' --project=cockroach-workers
6425 rm -rf node1
6426 rm -rf node2
6427 ls
6428 rm -rf artifacts
6429 rm output*.csv
6430 rm -rf cockroach-data
6431 gcloud compute scp --recurse './' 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt' --project=cockroach-workers
6432 gs
6433 rm -rf heap_profiler/
6434 gceworker start
6435 go version
6436 docker-compose --version
6437 subl ~/.zshrc
6438 gs
6439 git add -u
6440 git commit -m "test crdb"
6441 git commit
6442 subl ~/.zshrc
6443 git push upstream --force
6444 gceworker start
6445 glog
6446 gceworker start
6447 gceworker get --help
6448 gceworker get /home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/nomal_fetch_verify.ddt ./crdb-fetch.ddt
6449 gs
6450 ls | grep ddt
6451 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/nomal_fetch_verify.ddt' './crdb.ddt' --project=cockroach-workers
6452 docker compose verison
6453 docker compose version
6454 gau
6455 git commit
6456 git push upstream --force
6457 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/nomal_fetch_verify.ddt' './crdb.ddt' --project=cockroach-workers
6458 gceworker start
6459 rm ./crdb.ddt
6460 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/nomal_fetch_verify.ddt' './crdb.ddt' --project=cockroach-workers
6461 gau
6462 git commit
6463 git push upstream --force
6464 rm ./crdb.ddt
6465 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/nomal_fetch_verify.ddt' './crdb.ddt' --project=cockroach-workers
6466 git add -u
6467 git commit
6468 git push upstream --force
6469 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/nomal_fetch_verify.ddt' './crdb.ddt' --project=cockroach-workers
6470 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/nomal_fetch_verify.ddt' './e2e/testdata/crdb/nomal_fetch_verify.ddt' --project=cockroach-workers
6471 git add -u
6472 gca
6473 git push upstream --force
6474 git commit --allow-empty
6475 git push upstream --force
6476 docker-compose --file ./.github/docker-compose.yml down
6477 docker-compose --file ./.github/docker-compose.yml up -d mysql
6478 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
6479 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb --execute="SELECT 1"
6480 docker-compose --file ./.github/docker-compose.yml down
6481 docker-compose --file ./.github/docker-compose.yml up -d
6482 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
6483 psql 'postgres://postgres@localhost:5433/defaultdb' -c "SELECT 1"
6484 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable' -c "SELECT 1"
6485 docker-compose --file ./.github/docker-compose.yml down
6486 docker-compose --file ./.github/docker-compose.yml up -d cockroachdb
6487 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable' -c "SELECT 1"
6488 ./cockroach sql --insecure --host=localhost:26257
6489 psql 'postgres://root@localhost:26257/defaultdb?sslmode=disable' -c "SELECT 1"
6490 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6491 docker-compose --file ./.github/docker-compose.yml down
6492 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6493 docker-compose --file ./.github/docker-compose.yml down
6494 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb 2>&1
6495 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb
6496 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb 2>> hello.log
6497 cat hello.log
6498 docker-compose --file ./.github/docker-compose.yml up -d mysql
6499 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb 2>> hello.log
6500 cat hello.log
6501 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb 2>> hello.log
6502 cat hello.log
6503 mysql -u root -h '0.0.0.0' -P 3307 --database=defaultdb 2> hello.log
6504 docker-compose --file ./.github/docker-compose.yml down
6505 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6506 docker-compose --file ./.github/docker-compose.yml down
6507 go test -v ./e2e -run TestDataDriven/mysql --rewrite=true
6508 go test -v ./e2e -run TestDataDriven/mysql
6509 docker-compose --file ./.github/docker-compose.yml down
6510 go test -v ./e2e -run TestDataDriven/mysql
6511 docker-compose --file ./.github/docker-compose.yml down
6512 go test -v ./e2e -run TestDataDriven/mysql
6513 go test -v ./e2e -run TestDataDriven/pg
6514 git add -u
6515 git commit
6516 git push upstream --force
6517 gceworker start
6518 git add -u
6519 git commit
6520 git push upstream --force
6521 chmod u+x ./scripts/e2etest-setup.sh
6522 gs
6523 git add -u
6524 git commit
6525 git push upstream --force
6526 gceworker start
6527 h go
6528 gceworker start
6529 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/mysql/nomal_fetch_verify.ddt' './e2e/testdata/mysql/nomal_fetch_verify.ddt' --project=cockroach-workers
6530 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/mysql/nomal_fetch_verify.ddt' './nomal_fetch_verify.ddt' --project=cockroach-workers
6531 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/mysql/notmal_fetch_verify.ddt' './nomal_fetch_verify.ddt' --project=cockroach-workers
6532 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/mysql/notmal_fetch_verify.ddt' './e2e/testdata/mysql/nomal_fetch_verify.ddt' --project=cockroach-workers
6533 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/pg/notmal_fetch_verify.ddt' './e2e/testdata/pg/nomal_fetch_verify.ddt' --project=cockroach-workers
6534 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/pg/notmal_fetch_verify.ddt' './nomal_fetch_verify.ddt' --project=cockroach-workers
6535 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/pg/normal_fetch_verify.ddt' './nomal_fetch_verify.ddt' --project=cockroach-workers
6536 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/pg/normal_fetch_verify.ddt' './e2e/testdata/pg/normal_fetch_verify.ddt' --project=cockroach-workers
6537 gau
6538 git commit
6539 git push upstream --force
6540 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/mysql/normal_fetch_verify.ddt' './e2e/testdata/mysql/normal_fetch_verify.ddt' --project=cockroach-workers
6541 gau
6542 gcan
6543 git push upstream --force
6544 glog
6545 rebasemain
6546 gcpfromto ac7e014 12e5f93
6547 gau
6548 git cherry-pick --continue
6549 git push upstream --force
6550 gau
6551 git commit
6552 git push upstream --force
6553 gau
6554 gcan
6555 gau
6556 git commit
6557 git push upstream --force
6558 gceworker start
6559 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/mysql/normal_fetch_verify.ddt' './e2e/testdata/mysql/normal_fetch_verify.ddt' --project=cockroach-workers
6560 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/crdb/normal_fetch_verify.ddt' './e2e/testdata/crdb/normal_fetch_verify.ddt' --project=cockroach-workers
6561 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/pg/normal_fetch_verify.ddt' './e2e/testdata/pg/normal_fetch_verify.ddt' --project=cockroach-workers
6562 gau
6563 gcan
6564 git push upstream --force
6565 gau
6566 gcan
6567 git push upstream --force
6568 gau
6569 git commit
6570 git push upstream --force
6571 gau
6572 git commit
6573 git push upstream --force
6574 gau
6575 git commit
6576 git push upstream --force
6577 gau
6578 git commit
6579 git push upstream --force
6580 git commit
6581 git push upstream --force
6582 gau
6583 git commit
6584 git push upstream --force
6585 gau
6586 gcan
6587 git push upstream --force
6588 gau
6589 gcan
6590 git push upstream --force
6591 git add -u
6592 gcan
6593 git push upstream --force
6594 glog
6595 git reset upstream/main
6596 git add go.mod
6597 git add go.sum
6598 git commit
6599 gs
6600 git add */fetch.go
6601 gs
6602 git add cmd/fetch/fetch.go
6603 git add *verify.go
6604 git add verify/verify.go
6605 git add cmd/
6606 gs
6607 git add utils/time.go
6608 git commit
6609 gs
6610 git add e2e
6611 git add .github/docker-compose.yml
6612 gs
6613 git add .github/e2esampledata/
6614 gs
6615 git commit
6616 gs
6617 git add e2e/e2e.go
6618 gcan
6619 gs
6620 git add .github
6621 git add scripts/e2etest-setup.sh
6622 git commit
6623 gau
6624 glog
6625 gfix e82a1d6
6626 git commit --fixup e82a1d6
6627 glog
6628 git commit
6629 glog
6630 git reset e82a1d6 --hard
6631 git cherry-pick -n a4883f5
6632 gau
6633 gcan
6634 git cherry-pick 67670d4
6635 gau
6636 gcan
6637 git push upstream --force
6638 gau
6639 gcan
6640 git push upstream --force
6641 gau
6642 gcan
6643 glog
6644 git push upstream --force
6645 glog
6646 git reset eff2932
6647 gs
6648 git add rfc/
6649 git commit
6650 git push upstream --force
6651 psql --host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com --port=5432 --username=postgres --password
6652 psql --host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com --port=5432 --username=postgres --password
6653 psql --host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com --port=5432 --username=postgres --password --no-verify-ssl
6654 psql 'postgresql://postgres:password@jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com:5432'
6655 cp ~/Downloads/global-bundle.pem ./
6656 psql --host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com --port=5432 --username=postgres --password --sslmode=verify-full --sslrootcert=./global-bundle.pem
6657 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com -p 5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6658 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com -p=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6659 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com port=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6660 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6661 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com port=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6662 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6663 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com port=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6664 go mod download
6665 git add -u
6666 git commit
6667 git push upstream --force
6668 gceworker start
6669 go mod tidy -e
6670 gs
6671 git add -u
6672 gcan
6673 git push upstream --force
6674 glog
6675 git reset 4a921e8
6676 git add -u
6677 git commit
6678 glog
6679 git reset 867845a --hard
6680 git cherry-pick 67e97f0 -n
6681 gau
6682 gcan
6683 git cherry-pick 4a921e8
6684 git push upstream --force
6685 gau
6686 gcan
6687 gau
6688 git commit
6689 glog
6690 git reset 38edc7e --hard
6691 git cherry-pick -n f1269b6
6692 gay
6693 gau
6694 gcan
6695 git cherry-pick 931acca
6696 git push upstream --force
6697 gs
6698 gau
6699 gcan
6700 git push upstream --force
6701 gau
6702 gcan
6703 git push upstream --force
6704 docker info
6705 git push upstream --force
6706 gau
6707 gcan
6708 git push upstream --force
6709 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com port=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6710 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6711 aws-cli
6712 aws
6713 aws sts get-caller-identity
6714 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com port=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6715 aws create-replication-task\n--replication-task-identifier jane-view-cli\n--source-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:EURDJP7KZSHQ3AY4TUBVSMYECXMARDGSBQT5DPQ\n--target-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:WED7ZLJB7ENLS6UALI5U4R7QYBQ6ALKM5NBDMNA\n--replication-instance-arn arn:aws:dms:us-east-1:541263489771:rep:2GEJ4FPAWLFGJXM52INVL4OB7EHZR2YICSL7X6A\n--migration-type full-load
6716 create-replication-task \\n--replication-task-identifier jane-view-cli \\n--source-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:EURDJP7KZSHQ3AY4TUBVSMYECXMARDGSBQT5DPQ \\n--target-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:WED7ZLJB7ENLS6UALI5U4R7QYBQ6ALKM5NBDMNA \\n--replication-instance-arn arn:aws:dms:us-east-1:541263489771:rep:2GEJ4FPAWLFGJXM52INVL4OB7EHZR2YICSL7X6A \\n--migration-type full-load
6717 aws create-replication-task \\n--replication-task-identifier jane-view-cli \\n--source-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:EURDJP7KZSHQ3AY4TUBVSMYECXMARDGSBQT5DPQ \\n--target-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:WED7ZLJB7ENLS6UALI5U4R7QYBQ6ALKM5NBDMNA \\n--replication-instance-arn arn:aws:dms:us-east-1:541263489771:rep:2GEJ4FPAWLFGJXM52INVL4OB7EHZR2YICSL7X6A \\n--migration-type full-load
6718 aws dms create-replication-task \\n--replication-task-identifier jane-view-cli \\n--source-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:EURDJP7KZSHQ3AY4TUBVSMYECXMARDGSBQT5DPQ \\n--target-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:WED7ZLJB7ENLS6UALI5U4R7QYBQ6ALKM5NBDMNA \\n--replication-instance-arn arn:aws:dms:us-east-1:541263489771:rep:2GEJ4FPAWLFGJXM52INVL4OB7EHZR2YICSL7X6A \\n--migration-type full-load
6719 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6720 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com port=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6721 pwd ~/Downloads
6722 aws dms create-replication-task \\n--replication-task-identifier jane-view-cli \\n--source-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:EURDJP7KZSHQ3AY4TUBVSMYECXMARDGSBQT5DPQ \\n--target-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:WED7ZLJB7ENLS6UALI5U4R7QYBQ6ALKM5NBDMNA \\n--replication-instance-arn arn:aws:dms:us-east-1:541263489771:rep:2GEJ4FPAWLFGJXM52INVL4OB7EHZR2YICSL7X6A \\n--migration-type full-load \\n--table-mappings ~/Downloads/view-selection-mapping.json \\n--replication-task-settings ~/Downloads/view-task-setting.json \n
6723 cat ~/Downloads/view-task-setting.json | pbcopy
6724 echo hello | pbcopy
6725 cat ~/Downloads/view-task-setting.json | pbcopy
6726 aws dms create-replication-task \\n--replication-task-identifier jane-view-cli \\n--source-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:EURDJP7KZSHQ3AY4TUBVSMYECXMARDGSBQT5DPQ \\n--target-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:WED7ZLJB7ENLS6UALI5U4R7QYBQ6ALKM5NBDMNA \\n--replication-instance-arn arn:aws:dms:us-east-1:541263489771:rep:2GEJ4FPAWLFGJXM52INVL4OB7EHZR2YICSL7X6A \\n--migration-type full-load \\n--table-mappings file://~/Downloads/view-selection-mapping.json \\n--replication-task-settings file://~/Downloads/view-task-setting.json
6727 aws dms create-replication-task \\n--replication-task-identifier jane-example-table-cli \\n--source-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:EURDJP7KZSHQ3AY4TUBVSMYECXMARDGSBQT5DPQ \\n--target-endpoint-arn arn:aws:dms:us-east-1:541263489771:endpoint:WED7ZLJB7ENLS6UALI5U4R7QYBQ6ALKM5NBDMNA \\n--replication-instance-arn arn:aws:dms:us-east-1:541263489771:rep:2GEJ4FPAWLFGJXM52INVL4OB7EHZR2YICSL7X6A \\n--migration-type full-load \\n--table-mappings file://~/Downloads/example-table-selection-mapping.json \\n--replication-task-settings file://~/Downloads/example-table-task-setting.json\n
6728 psql "host=jane-schema-create.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com port=5432 user=postgres sslmode=verify-full sslrootcert=./global-bundle.pem"
6729 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6730 curl --request GET \\n --url https://cockroachlabs.cloud/api/v1/clusters/e9f49e1b-c21d-4167-bebd-6999483d760e \\n --header 'Authorization: Bearer CCDB1_42cnw35jLz7WnJAIm7NsSl_5zDflWWNprP6P3HjiUf2R2IhT8K1wZfkXI1VF3cM' | jq .account_id
6731 curl --create-dirs -o $HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt 'https://management-staging.crdb.io/clusters/e9f49e1b-c21d-4167-bebd-6999483d760e/cert'
6732 ./cockroach debug zip ./cockroach-data/logs/debug.zip --url="postgresql://[email protected]:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt"
6733 cp /Users/janexing/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt ./ca.crt
6734 ./cockroach debug zip ./cockroach-data/logs/debug.zip --url="postgresql://[email protected]:26257/defaultdb?sslmode=verify-full&sslrootcert=./ca.crt"
6735 ./cockroach debug zip ./cockroach-data/logs/debug.zip --url="postgresql://[email protected]:26257/sslmode=verify-full&sslrootcert=./ca.crt"
6736 ./cockroach debug zip ./cockroach-data/logs/debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io
6737 ./cockroach debug zip ./cockroach-data/logs/debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --insecure
6738 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --insecure
6739 ./cockroach sql --url "postgresql://[email protected]:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt"
6740 ./cockroach sql --url "postgresql://jane:sMD9hRF529Ptb4D7g5rayw@slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt"
6741 ./cockroach debug zip --url "postgresql://jane:sMD9hRF529Ptb4D7g5rayw@slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt"
6742 ./cockroach debug zip --url "postgresql://jane:sMD9hRF529Ptb4D7g5rayw@slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io:26257/sslmode=verify-full&sslrootcert=./ca.crt"
6743 ./cockroach debug zip --url "postgresql://jane:sMD9hRF529Ptb4D7g5rayw@slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io:26257/?sslmode=verify-full&sslrootcert=./ca.crt"
6744 ./cockroach debug zip ./cockroach-data/logs/debug.zip --url "postgresql://jane:sMD9hRF529Ptb4D7g5rayw@slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io:26257/?sslmode=verify-full&sslrootcert=./ca.crt"
6745 ./cockroach debug zip ./cockroach-data/logs/debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --certs-dir=$HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18
6746 ls $HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18
6747 mkdir dedicated-certs
6748 ls | grep crt
6749 mv $HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt ./dedicated-certs/ca.crt
6750 ./cockroach debug zip ./cockroach-data/logs/debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --certs-dir=./dedicated-certs
6751 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --insecure
6752 ./cockroach convert-url --url "postgresql://jane:sMD9hRF529Ptb4D7g5rayw@slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/Library/CockroachCloud/certs/8d5fc761-5952-4555-8393-a383f4c33c18/slow-dancer-dedicated-ca.crt"
6753 ./cockroach debug zip ./cockroach-data/logs/debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --insecure
6754 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --insecure
6755 ./cockroach debug zip ./cockroach-data/logs/debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --insecure
6756 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --insecure
6757 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io
6758 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --user=jane
6759 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --user=jane --database=defaultdb
6760 rm -rf ./dedicated-certs/
6761 mkdir dedicated-certs/
6762 ls
6763 ls dedicated-certs
6764 curl --create-dirs -o ./dedicated-certs/ca.crt 'https://management-staging.crdb.io/clusters/e9f49e1b-c21d-4167-bebd-6999483d760e/cert'
6765 ls dedicated-certs
6766 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --user=jane --database=defaultdb --certs-dir=./dedicated-certs/
6767 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --user=jane --database=defaultdb --certs-dir=./dedicated-certs/ --password=sMD9hRF529Ptb4D7g5rayw
6768 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --certs-dir=./dedicated-certs/
6769 ./cockroach debug zip ./debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --certs-dir=./dedicated-certs/
6770 ./cockroach debug zip ./debug.zip --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --certs-dir=./dedicated-certs/ --user=jane
6771 roachprod create --help
6772 subl ~/.zshrc
6773 history | grep roachprod
6774 roachprod create jane-roachprod -n 1 -c aws
6775 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6776 pkill -f cockroach
6777 rm -rf ./node2
6778 rm -rf ./node1
6779 tomolt
6780 rm ./cockroach
6781 mv /Users/janexing/Downloads/cockroach-v23.2.0-rc.2.darwin-10.9-amd64/cockroach ./
6782 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6783 ./cockroach sql --port=26258 --insecure
6784 rm -rf ./node2
6785 pkill -f cockroach
6786 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258 --store=./node2 --background
6787 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080 --join=localhost:26257,localhost:26258 --store=./node1 --background
6788 ./cockroach init --insecure --host=localhost --port=26257
6789 ./cockroach sql --port=26257 --insecure
6790 /cockroach nodelocal upload ./.github/e2esampledata/sampledata.csv sampledata.csv --insecure
6791 ./cockroach nodelocal upload ./.github/e2esampledata/sampledata.csv sampledata.csv --insecure
6792 pkill -f cockroach
6793 rm -rf ./node2
6794 rm -rf ./node1
6795 procOfPort 26257
6796 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080 --join=localhost:26257,localhost:26258 --store=./node1 --background
6797 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258 --store=./node2 --background
6798 rm -rf ./node1
6799 rm -rf ./node2
6800 pkill -f cockroach
6801 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258 --cache=.25 --max-sql-memory=.25 --background
6802 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080 --join=localhost:26257,localhost:26258 --cache=.25 --max-sql-memory=.25 --background
6803 pkill -f cockroach
6804 ./cockroach start --insecure --listen-addr=localhost:26258 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258 --store=./node2 --background
6805 ./cockroach start --insecure --listen-addr=localhost:26257 --http-addr=localhost:8080 --join=localhost:26257,localhost:26258 --store=./node1 --background
6806 ./cockroach init --insecure --host=localhost --port=26257
6807 ./cockroach sql --port=26257 --insecure
6808 ./cockroach nodelocal upload ./.github/e2esampledata/sampledata.csv sampledata.csv --insecure
6809 ./cockroach sql --port=26258 --insecure
6810 ./cockroach sql --port=26257 --insecure
6811 pkill -f cockroach
6812 rm -rf ./node2
6813 rm -rf ./node1
6814 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6815 history | grep docker | grep mysql
6816 pkill -f cockroach
6817 docker-compose --file ./.github/docker-compose.yml up -d mysql cockroachdb
6818 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=strict-sync
6819 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6820 subl ~/.zshrc
6821 make run_orch
6822 ./cockroach sql --port=26257 --insecure
6823 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=strict-sync
6824 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
6825 mysql -u admin -p'admin' -h '127.0.0.1' -P 3306 -D defaultdb
6826 ./cockroach sql --port=26257 --insecure
6827 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
6828 ./cockroach sql --port=26257 --insecure
6829 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
6830 ./cockroach sql --port=26257 --insecure
6831 go run . mysql --bind-addr=0.0.0.0:9043 --metrics-addr=0.0.0.0:9044 \\n --init-source "mysql://root@tcp(localhost:3306)/defaultdb" \\n --init-target "postgresql://[email protected]:26257/defaultdb?sslmode=disable" \\n --logging=debug --shadow-mode=strict-sync --result-sample-rate=1
6832 mysql -u admin -p'admin' -h '127.0.0.1' -P 9043 -D defaultdb
6833 gs
6834 glog
6835 git add rfc/
6836 gcan
6837 open ./rfc/images
6838 gs
6839 git add rfc/
6840 gcan
6841 git push upstream --force
6842 make run_orch
6843 docker rm -f $(docker ps -a -q)
6844 pkill -f cockroach
6845 history | grep -- "helm install"
6846 cd helm-molt-lms
6847 helm install --namespace default -f values.yaml lms .
6848 kgp
6849 kubectl port-forward svc/lms-grafana 3000:80 &
6850 git add rfc/
6851 gcan
6852 git push upstream --force
6853 mysql -u admin -p'password' -h 'jane-mysql.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com'
6854 mysql -u admin -p'password' -h 'jane-mysql.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com' --database=defaultdb
6855 mysql -u admin -p'password' -h 'jane-mysql.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com'
6856 mysql -u admin -p'password' -h 'jane-mysql.cpa6lrp2ahsc.us-east-1.rds.amazonaws.com' --database=defaultdb
6857 ./cockroach sql --host=slow-dancer-dedicated-7txm.aws-ca-central-1.crdb.io --certs-dir=./dedicated-certs/
6858 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6859 rebasemaster
6860 ./cockroach sql --url="postgresql://jane:OVL7gsTKYGEfKTirIeLhww@slow-dancer-332.75rf.aws-us-east-1.crdb.io:26257/defaultdb?sslmode=verify-full"
6861 git add rfc/
6862 cd ..
6863 git add rfc/
6864 gcan
6865 git push upstream --force
6866 helm uninstall lms
6867 gs
6868 git checkout main
6869 rebasemain
6870 gceworker start
6871 gau
6872 git commit
6873 git checkout -b fix-fetch-0116
6874 git push upstream --force
6875 glog --oneline
6876 history | grep rewrite
6877 gceworker ssh
6878 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/*/*.ddt' './e2e/testdata/hello' --project=cockroach-workers
6879 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/' './e2e/testdata/' --project=cockroach-workers
6880 gcloud compute scp --recurse 'gceworker-janexing:/home/janexing/go/src/github.com/cockroachdb/molt/e2e/testdata/' './e2e/' --project=cockroach-workers
6881 gau
6882 gcan
6883 gca
6884 git push upstream --force
6885 gca
6886 git push upstream --force
6887 git checkout main
6888 rebasemain
6889 git cherry-pick -n a5a1d7b123af9989d9c2544de6353620550fb66c
6890 subl ~/.zshrc
6891 createImportFile
6892 subl ./cockroach-data/extern/test.csv
6893 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure
6894* createImportFile
6895* ./cockroach sql --insecure --host=localhost:26257
6896* subl ~/.zshrc
6897* source ~/.zshrc
6898* createImportFile
6899* 1\n2\n3\n4\n5\n6\n7\n8
6900* ./cockroach sql --insecure --host=localhost:26257
6901 rm -rf ./node1
6902 rm -rf ./cockroach-data
6903 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6904 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6905 procOfPort 26258
6906 pkill -f cockroach
6907 rm -rf ./cockroach-data
6908 rm -rf ./node1
6909 rm -rf ./node2
6910 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6911 procOfPort 8081
6912 pkill -f 79612
6913 kill -9 79612
6914 pkill -f 79612
6915 procOfPort 8081
6916 pkill -f cockroach
6917 ./cockroach start-single-node --listen-addr=localhost:26258 --http-addr=localhost:8081 --advertise-addr=localhost:26258 --insecure --store=./node2 --background
6918 ./cockroach start-single-node --listen-addr=localhost:26257 --http-addr=localhost:8080 --advertise-addr=localhost:26257 --insecure --store=./node1 --background
6919 source ~/.zshrc
6920 createImportFile
6921 ./cockroach sql --insecure --host=localhost:26257
6922 ./cockroach sql --insecure --host=localhost:26258
6923 go run . fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' --table-filter 'test' --gcp-bucket 'jane-test-bucket'--bucket-path 'test-migrations'
6924 ./cockroach sql --insecure --host=localhost:26258
6925 go run . fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' --table-filter 'test' --gcp-bucket 'jane-test-bucket'--bucket-path 'test-migrations'
6926 gcloud init
6927 gcloud storage objects list
6928 gcloud storage objects
6929 gcloud storage ls
6930 gcloud alpha storage ls
6931 go run . fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' --table-filter 'test' --gcp-bucket 'jane-migration-test-remove-if-needed'--bucket-path 'test'
6932 go run . fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' --table-filter 'test' --gcp-bucket 'jane-migration-test-remove-if-needed' --bucket-path 'test'
6933 go run . fetch --source 'postgres://root@localhost:26257/defaultdb?sslmode=disable' --target 'postgres://root@localhost:26258/defaultdb?sslmode=disable' --table-filter 'test' --gcp-bucket 'jane-migration-test-remove-if-needed'
6934* ./cockroach sql --insecure --host=localhost:26257
6935* gau
6936* git commit
6937* glog
6938* git reflog
6939* git reset a5a1d7b123af9989d9c2544de6353620550fb66c
6940 gs
6941 git add fetch/csv_pipe.go
6942 git add fetch/datablobstorage/gcp.go\n
6943 git add fetch/export_table.go
6944 git commit
6945* glog head -n 1
6946 git diff 33f74c4^ 33f74c4 > hello.diff
6947 subl hello.diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment