jawabuu
2d7b15d736
Add a template env file
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 16:48:08 +03:00
jawabuu
c5aa440867
Add schemaload container to beginners compose file
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 16:30:09 +03:00
jawabuu
8b3d8bd839
Add a default vschema file
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 16:20:41 +03:00
jawabuu
f7585a3a0e
Pipe file content to -vschema because of possible bug in -vshemafile
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 15:10:12 +03:00
jawabuu
460db56b5e
Format compose file
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 13:59:47 +03:00
jawabuu
97375870b6
Fix default base_vshema file path reference
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 13:59:19 +03:00
jawabuu
a4e98d105a
Fix line endings in compose file
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 13:29:07 +03:00
jawabuu
aa64538754
Clean up vschema generation for external db
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 12:54:57 +03:00
jawabuu
26de57be1b
Add schemaload to beginners compose yml
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 12:39:58 +03:00
jawabuu
927916099a
Update README to reflect AppplyVschema fix for unsharded db
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 12:34:05 +03:00
jawabuu
105758d0c4
Remove workaraound for applying vschema in unsharded keyspace
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 12:27:24 +03:00
jawabuu
3dd7da0870
Add timestamp to schemaload output
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 12:21:52 +03:00
jawabuu
5c33dafad8
Add healthcheck to replica and rdonly containers
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:56:44 +03:00
jawabuu
8c55c7a6c8
Update conatainer name in depends_on
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:54:50 +03:00
jawabuu
583a82498d
Update default credentials in README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:49:23 +03:00
jawabuu
a6a8c2142a
Update instructions in README to reflect new workflow
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:31:15 +03:00
jawabuu
a71f38985d
Format relative links in README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:18:05 +03:00
jawabuu
9636095b78
Fix relative links in README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:16:51 +03:00
jawabuu
775ea34611
Add README for external_db example
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:14:14 +03:00
jawabuu
16393b54ee
Add external_db example for compose
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 11:09:56 +03:00
jawabuu
836ca34478
Update beginners docker-compose to align with vtcompose
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 01:45:31 +03:00
jawabuu
82f5f27b50
Update README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 01:33:26 +03:00
jawabuu
bdbb94a6da
Update README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 01:30:50 +03:00
jawabuu
2ddcf6f808
Set flag keyspaces to keyspaceData in vtcompose to remove confusion
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 01:29:53 +03:00
jawabuu
9b7907c6a0
Set ReadWrite on master tablets after SchemaLoad
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-19 01:16:31 +03:00
Saif Alharthi
de27f61d03
Added foreign_key_checks to ignored set
...
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2019-10-18 14:20:32 -07:00
j0
2fea538d57
Add additional division function to adjust for non-commutativity
...
Signed-off-by: j0 <lee.yi.jie.joel@gmail.com>
2019-10-18 12:54:40 -07:00
j0
9cb12cf1db
Initial draft of division functions
...
Signed-off-by: j0 <lee.yi.jie.joel@gmail.com>
2019-10-18 12:29:58 -07:00
Morgan Tocker
db519aef67
Cat error log when mysqld fails to start
...
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-18 13:12:19 -06:00
jawabuu
8ff4416c00
Populate TARGETTAB from cell variable
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-18 16:33:39 +03:00
jawabuu
d7be234dab
Update schemaload to execute SetReadWrite on master tablets
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-18 14:41:22 +03:00
jawabuu
ca932d9080
Implement healthchecks to only run schemaload once master tablets are ready
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-18 14:39:57 +03:00
jawabuu
e14e34c8ff
exec vtctl helper script to avoid relaunching consul containers
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-18 14:35:56 +03:00
Anthony Yeh
48150948d4
Add read-only security_policy to block admin HTTP endpoints.
...
Previously, the only built-in policies available were effectively
"allow all" and "deny all". Anything else required writing a custom
plugin.
This adds a new built-in policy called `read-only` that does NOT do any
authentication, but allows anyone to query HTTP endpoints designated as
requiring the DEBUGGING or MONITORING roles, while denying everyone
access to ADMIN endpoints.
The default when no policy is specified remains "allow all".
The fallback policy remains "deny all" when an unknown, non-empty
policy name is requested. In addition, you can now explicitly request
the `deny-all` policy without having to engage fallback by providing an
invalid policy name.
Note that security_policy only applies to HTTP endpoints. It does NOT
affect gRPC calls, nor SQL queries. Also, the security_policy flag
must be set individually on every process (e.g. vttablet, vtgate, vtctld)
and only applies to endpoints served directly by that one process.
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-10-17 15:01:47 -07:00
jawabuu
7dc5bce9f3
Include mysql helper script in README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:44 +03:00
jawabuu
3ab6c9b9f9
Add convenience mysql script
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:43 +03:00
jawabuu
ccbede5d8d
Disable mysqldump for faster startup
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:43 +03:00
jawabuu
02ea7b386c
Update vttablet script to work with vtcompose and beginners docker-compose
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:42 +03:00
jawabuu
78bd62b240
Make docker-compose compatible wit vttablet-up.sh
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:42 +03:00
jawabuu
6b7a92ea92
Update README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:41 +03:00
jawabuu
df72490cf7
Update README
...
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:41 +03:00
JavierR14
d0bdde712d
Restored a sample docker-compose for beginners, added more to the README, and added external db support to vtcompose
...
Signed-off-by: JavierR14 <javier@squareup.com>
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
2019-10-17 23:28:41 +03:00
Anthony Yeh
d200c23cd2
Merge branch 'master' into reparent-refactor
...
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-10-17 11:23:11 -07:00
j0
48137d0d0b
Make tests pass for now
...
Signed-off-by: j0 <lee.yi.jie.joel@gmail.com>
2019-10-17 10:08:14 -07:00
Sugu Sougoumarane
63fef107a2
Merge pull request #5310 from yuxiaobo96/vitess-py
...
add License in /py folder
2019-10-17 07:39:43 -07:00
Sugu Sougoumarane
c41d395630
Merge pull request #5309 from henders/henders/remove_statement_binlog_format
...
Remove binlog statement format config setting
2019-10-17 07:38:44 -07:00
Andres Taylor
618c14168c
Allow vtcl to detach from the terminal
...
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-10-17 09:58:10 -04:00
Shane Hender
d7b4109c7e
Remove binlog statement format config setting
...
Signed-off-by: Shane Hender <henders@gmail.com>
2019-10-16 17:26:01 -07:00
Anthony Yeh
191d5e5be6
Merge branch 'master' into reparent-refactor
...
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-10-16 16:18:42 -07:00
Sugu Sougoumarane
cac575bbe3
stream_migrater: vschema to identify ref tables
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-10-16 15:50:57 -07:00