-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replication actions do not work for primary replica on primary replica #15367
Comments
This comment is posted automatically by phpMyAdmin's error-reporting-server. |
@rolfjentsch Thanks for reporting, other users seem to have the same error. |
any Progress on this ? |
Hello. |
I am trying to reproduce this issue but for now I did not succeed |
@rolfjentsch @p-rakowski89 I would be very happy to include a fix in the next version if someone can send screenshots and more instructions to reproduce the issue (step by step ?) |
🏓 |
Hi, I have problems with replication management, just like trying to stop,
start threads, etc. Here is ss.
Version phpmyadmi 4.9.2
greetings
|
@p-rakowski89 56e8ebd #15641 |
Ok, replication now starts normally. But skipping errors doesn't work well. |
@rolfjentsch Can you help reproduce the issue so I can fix it ? |
it seems to me that this is the solution to the problem public static function handleRequestForSlaveSkipError()
{
$count = 1;
if (isset($_POST['sr_skip_errors_count'])) {
$count = $_POST['sr_skip_errors_count'] * 1;
}
< $qStop = Replication::slaveControl("STOP");
> $qStop = Replication::slaveControl("STOP", null, DatabaseInterface::CONNECT_USER);
$qSkip = $GLOBALS['dbi']->tryQuery(
"SET GLOBAL SQL_SLAVE_SKIP_COUNTER = " . $count . ";"
);
< $qStart = Replication::slaveControl("START");
> $qStart = Replication::slaveControl("START", null, DatabaseInterface::CONNECT_USER);
$result = ($qStop !== false && $qStop !== -1 &&
$qSkip !== false && $qSkip !== -1 &&
$qStart !== false && $qStart !== -1);
return $result;
} |
@williamdes Hey why is this issue still opened? Has the last commit not fixed it? |
@rolfjentsch Is this issue fixed ? hey @kartik1000 I do not know :) |
@rolfjentsch If you can let us know how you reproduced it maybe, we can check. Else you can check and let us know :) |
Hi,
Even with Version 4.9.4 i Keep getting this error
Mit freundlichen Grüßen
Rolf Jentsch
|
Hi @rolfjentsch can you send the error, It seems that you tried to include it in the email but it got removed |
Here u go again
Mit freundlichen Grüßen
Rolf Jentsch
|
and one more try as an attachment
Mit freundlichen Grüßen
Rolf Jentsch
|
@rolfjentsch Sorry but you can not use attachements you need to go to #15367 and post the screenshots or use an external service and post the link here |
Well it seems to be the same as posted on #15367
Mit freundlichen Grüßen
Rolf Jentsch
|
Hi @rolfjentsch |
Hi, |
@p-rakowski89 If you can try the download the latest version in development (phpMyAdmin 5.0+snapshot) and let me know what I should do |
Thank you, I will have a look once more |
Hi William,
I downloaded and installed 5.01
When trying to “change Masterserver or configure it new” nothing happens.
Pphpadmin reports “loading” for a short time but no new window opens
So unfortunately I cant Test it
Mit freundlichen Grüßen
Rolf Jentsch
|
I also downloaded <https://files.phpmyadmin.net/snapshots/phpMyAdmin-5.1+snapshot-all-languages.zip> phpMyAdmin-5.1+snapshot-all-languages.zip and tried it
Same result
Thin menu point Master-Server wechseln oder neu konfigurieren <http://qnap/phpMyAdmin5/index.php?route=/server/replication> leads nowhere
Mit freundlichen Grüßen
Rolf Jentsch
|
Also downloaded this Versionsinformationen: 5.0.2-dev, aktuelle stabile Version: <https://www.phpmyadmin.net/files/5.0.1/> 5.0.1
Clicked on replication and then <http://qnap/phpMyAdmin5/server_replication.php> Master-Server wechseln oder neu konfigurieren
Dsmr Rresult – nothing happened
Tried a different browser (this time chrome) but same results
Mit freundlichen Grüßen
Rolf Jentsch
|
Hi, |
Hi |
@p-rakowski89 Could you please try 5.0 ? |
Hi, So far while testing v5 and above, I have failed to stop, start or
reset a slave from the replication menu. As if the button didn't work. If
you need a more detailed description, I can record a video of this problem
|
Hi, Could you please record a video, that would be helpful :) |
Hi,
I recorded as you asked. The first video is on phpmyadmin 5.0.2 - where it
doesn't work. Link to the movie - https://user-images.githubusercontent.com/7784660/102380027-bdc86200-3fc7-11eb-96d7-562f7a4e25b4.gif
Second video of phpmyadmin 4.9.5 where it works. Link to the movie - https://user-images.githubusercontent.com/7784660/102380036-c15be900-3fc7-11eb-8073-7543af1b028d.gif
How would you have a problem with playing movies, just download.
|
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Hi @p-rakowski89 |
Works well. Thanks
|
This isn't working for me. Running 5.0.4.
|
Hi @abrenoch |
I had some servers that used to replicate the fiine. I had to cut the repliication for a year or so.
I did an update to phpadmin 4.9.0.1 and tryed to reinitialise replication
getting the following result
Warning in ./libraries/classes/DatabaseInterface.php#311
Illegal offset type in isset or empty
Backtrace
i retried it with an other Database and an other nas ..... same error
hwat shall i do .. ist it a bug ?
if so the next edition will adress it ?
The text was updated successfully, but these errors were encountered: