Commit fdb26fd
committed
fix(tidb-stmt-cache): use TiDB built-in defaults, drop bogus command flags
The previous compose file passed double-dash flags (--store=unistore,
--log-level=error, ...) to the pingcap/tidb entrypoint. The TiDB binary
uses single-dash flags, so the container exited at startup with
"flag provided but not defined: -log-level" and the keploy CI job for
the tidb-stmt-cache sample could not reach :4000.
Drop the command: block entirely -- the default entrypoint already
boots in unistore (single-process, in-memory) mode when no PD address
is supplied, which is what this sample needs. Also drop the obsolete
version: key and the wget-based healthcheck (wget is not present in
the slim TiDB image; the keploy CI script already polls :10080/status
itself before driving traffic).
Signed-off-by: Yash Khare <khareyash05@gmail.com>1 parent 9738912 commit fdb26fd
1 file changed
Lines changed: 3 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 17 | | |
26 | 18 | | |
27 | 19 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
0 commit comments