Comments (8)
You have explicitly set --postpone-cut-over-flag-file=/data/dbbak/gh-ost/ghost.postpone.flag
To cut-over, either:
rm /data/dbbak/gh-ost/ghost.postpone.flag
echo unpostpone | socat - /path/to/your/gh-ost.sock
-- check thegh-ost
output to find out what that file is.
from gh-ost.
@linwaterbin confirmed? I'd like to close this
from gh-ost.
Sorry,shlomi, I'm sorry message to see late,
When rm directly the postpone flag file,which resulting in data inconsistency,
My UPDATA command run over 5 minutes, I get ride of explicitly set --postpone-cut-over-flag-file=/data/dbbak/gh-ost/ghost.postpone.flag, the master will struct in "Waiting for table metadata lock",
from gh-ost.
I apologize, I'm not sure I can understand this last statement.
from gh-ost.
Before My UPDATE statement did not add index, a full table scan,which resulting in MDL lock;
Now,added index, I don't have this problem, gh-ost can run very well ๐
thank you shlomi : )
from gh-ost.
Oh good! Glad to hear, thank you for sharing!
from gh-ost.
@linwaterbin,You should execute update,then execute gh-ost.Because update hold MDL lock๏ผand Haven't release.
from gh-ost.
@hhl419
No, my order is that gh-ost and then update
from gh-ost.
Related Issues (20)
- "attempt-instant-ddl" should support lock_wait_timeout HOT 1
- max-lag-millis parameter description is misleading when running on master HOT 3
- When will the throttled state be triggered HOT 1
- Does gh-ost support distributed databases? HOT 2
- binlog syncer closes unexpectedly
- PR HOT 2
- Feature request: support setting the `wait_timeout` of `gh-ost` HOT 1
- cut-over locks not released when gh-ost pauses mid-cut-over
- Aliii HOT 1
- FATAL invalid sequence 8 != 1
- Cannot log in to mysql DB by ghost user
- collect table statistics before renaming table
- Clarification on `aurora_enable_repl_bin_log_filtering` in Aurora HOT 6
- RDS/Aurora Docs clarifications.
- skip delete events of changelog table in binlog listener
- [Suggestion] Apply simple validation to alter command
- ERROR Error 1146: Table '<db>._temp_no_ghc' doesn't exist HOT 2
- Add atomic cut over function that renames locked tables in the same session
- UCS2 to UTF8MB4 Encoding error
- Handling Slow Queries Without Indexes in gh-ost
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gh-ost.