An error occurred fetching the project authors.
- 23 Nov, 2003 1 commit
-
-
guilhem@gbichot2 authored
Now the I/O thread (in flush_master_info()) flushes the relay log to disk after reading every event. Slower but provides additionnal safety in case of brutal crash. I had to make the flush optional (i.e. add a if(some_bool_argument) in the function) because sometimes flush_master_info() is called when there is no usable relay log (the relay log's IO_CACHE is not initialized so can't be flushed).
-
- 22 Nov, 2003 1 commit
-
-
monty@mysql.com authored
Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes the server if cur_log is 'hot' and the io_thread has changed log file. Updated project files for windows Made rpl_change_master.test portable Ensure that mutex are not freed if not initilized
-
- 21 Nov, 2003 1 commit
-
-
paul@teton.kitebird.com authored
to order used in START SLAVE syntax.
-
- 20 Nov, 2003 1 commit
-
-
paul@ice.snake.net authored
(Initial caps for each word.) For example, instead of writing Until_condition, Until_Log_File, and Until_log_pos, write Until_Condition, Until_Log_File, and Until_Log_pos.
-
- 03 Nov, 2003 1 commit
-
-
guilhem@mysql.com authored
rli->save_temporary_tables and slave_open_temp_tables (in old 4.0 you could make "SHOW STATUS LIKE 'slave_open_temp_tables'" grow indefinitely by doing RESET SLAVE and replicating always the same CREATE TEMPORARY TABLE). It's critical to reset save_temporary_tables to 0 (otherwise you may later read memory which has been freed) so this changeset should go into 4.1.
-
- 31 Oct, 2003 1 commit
-
-
guilhem@mysql.com authored
- when we don't have in_addr_t, use uint32. - a forgotten initialization of slave_proxy_id in sql/log_event.cc (was not really "forgot", was "we needn't init it there", but there was one case where we needed...). - made slave_proxy_id always meaningful in THD and Log_event, so we can rely more on it (no need to test if it's meaningful). THD::slave_proxy_id is equal to THD::thread_id except for the slave SQL thread. - clean up the slave's temporary table (i.e. free their memory) when slave server shuts down.
-
- 29 Oct, 2003 1 commit
-
-
guilhem@mysql.com authored
"If 2 master threads with same-name temp table, slave makes bad binlog" and (two birds with one stone) for BUG#1240 "slave of slave breaks when STOP SLAVE was issud on parent slave and temp tables". Here is the design change: in a slave running with --log-slave-updates, events are now logged with the thread id they had on the master. So no more id conflicts between master threads, but introduces id conflicts between one master thread and one normal client thread connected to the slave. This is solved by storing the server id in the temp table's name. New test which requires mysql-test-run to be run with --manager, otherwise it will be skipped. Undoing a Monty's change (hum, a chill runs down my spine ;) which was "Cleanup temporary tables when slave ends" in ChangeSet 1.1572.1.1.
-
- 16 Oct, 2003 1 commit
-
-
guilhem@mysql.com authored
while the slave is connected.
-
- 15 Oct, 2003 1 commit
-
-
monty@mashka.mysql.fi authored
Fixed chsize() problem on windows Extend default timeout on windows clients to 1 year (to avoid timeout problems)
-
- 11 Oct, 2003 1 commit
-
-
serg@serg.mylan authored
-
- 09 Oct, 2003 1 commit
-
-
guilhem@mysql.com authored
a Format_description_log_event (or maybe it will be named Description_log_event) which is not recognized by 4.0, so a 4.0 can't be a slave of 5.0. We detect it early to produce a helpful message instead of "corrupted relay log" later.
-
- 08 Oct, 2003 2 commits
-
-
guilhem@gbichot2 authored
"Add a column "Timestamp_of_last_master_event_executed" in SHOW SLAVE STATUS". Finally this is adding - Slave_IO_State (a copy of the State column of SHOW PROCESSLIST for the I/O thread, so that the users, most of the time, has enough info with only SHOW SLAVE STATUS). - Seconds_behind_master. When the slave connects to the master it does SELECT UNIX_TIMESTAMP() on the master, computes the absolute difference between the master's and the slave's clock. It records the timestamp of the last event executed by the SQL thread, and does a small computation to find the number of seconds by which the slave is late.
-
monty@narttu.mysql.fi authored
-
- 19 Sep, 2003 1 commit
-
-
hf@deer.(none) authored
embedded library hash_insert renamed to my_hash_insert to avoid name intersection with another libraries is there better idea?
-
- 13 Sep, 2003 1 commit
-
-
dlenev@dlenev.mshome authored
-
- 12 Sep, 2003 1 commit
-
-
guilhem@mysql.com authored
DO NOT COPY THIS CODE TO 4.0. The bugfix is better in 4.0, but here in 3.23 we don't want to add a new error code so we just use ER_EMPTY_QUERY. Bug was: "If a query was ignored on the slave (because of @code{replicate-ignore-table} and other similar rules), the slave still checked if the query got the same error code (0, no error) as on the master. So if the master had an error on the query (for example, ``Duplicate entry'' in a multiple-row insert), then the slave stopped and warned that the error codes didn't match. (Bug #797)"
-
- 11 Sep, 2003 2 commits
-
-
guilhem@mysql.com authored
Now LOAD DATA FROM MASTER does not drop the database, instead it only tries to create it, and drops/creates table-by-table. * replicate_wild_ignore_table='db1.%' is now considered as "ignore the 'db1' database as a whole", as it already works for CREATE DATABASE and DROP DATABASE.
-
monty@mashka.mysql.fi authored
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
-
- 03 Sep, 2003 1 commit
-
-
kostja@oak.local authored
-
- 01 Sep, 2003 1 commit
-
-
dlenev@dlenev.mshome authored
Added proper options to CHANGE MASTER TO, new fields to SHOW SLAVE STATUS, Honoring this parameters during connection to master. Introduced new format of master.info file
-
- 27 Aug, 2003 1 commit
-
-
monty@narttu.mysql.fi authored
-
- 25 Aug, 2003 2 commits
-
-
guilhem@mysql.com authored
Don't start the SQL slave thread with SQL_BIG_SELECTS; it's better to inhibate max_join_size instead.
-
guilhem@mysql.com authored
For example the Binlog_dump thread (on the master) sometimes showed "Slave:". And there were confusing messages where "binlog" was employed instead of "relay log".
-
- 23 Aug, 2003 2 commits
-
-
guilhem@mysql.com authored
OPTION_BIG_SELECTS.
-
guilhem@mysql.com authored
when the SQL thread stops, set rli->inside_transaction to 0. This is needed if the user later restarts replication from a completely different place where there are only autocommit statements. * Detect the case where the master died while flushing the binlog cache to the binlog and stop with error. Cannot add a testcase for this in 4.0 (I tested it manually) as the slave always runs with --skip-innodb.
-
- 21 Aug, 2003 1 commit
-
-
guilhem@mysql.com authored
Let's say the lack of comments did not help me ;) Copying it back again and adding comments; now 3.23->4.0 replication of LOAD DATA INFILE works again.
-
- 20 Aug, 2003 1 commit
-
-
guilhem@mysql.com authored
"LOAD DATA INFILE is badly filtered by binlog-*-db rules". There will probably be a second final one to merge Dmitri's changes to rpl_log.result and mine. 2 new tests: rpl_loaddata_rule_m : test of logging of LOAD DATA INFILE when the master has binlog-*-db rules, rpl_loaddata_rule_s : test of logging of LOAD DATA INFILE when the slave has binlog-*-db rules and --log-slave-updates.
-
- 19 Aug, 2003 2 commits
-
-
dlenev@mysql.com authored
log-slave-updates since this causes unexpected values in Exec_master_log_pos in A->B->C replication setup, synchronization problems in master_pos_wait()... Still this brokes some functionality in sql/repl_failsafe.cc (but this file is not used now)
-
monty@mashka.mysql.fi authored
-
- 18 Aug, 2003 1 commit
-
-
monty@mashka.mysql.fi authored
Use server character set if --default-character-set is not used Added convert_string() for more efficient alloc+character-set convert of strings
-
- 07 Aug, 2003 1 commit
-
-
monty@mashka.mysql.fi authored
(Mostly code cleanups)
-
- 04 Aug, 2003 1 commit
-
-
guilhem@mysql.com authored
- Bug #985: "Between RESET SLAVE and START SLAVE, SHOW SLAVE STATUS is wrong." Now RESET SLAVE puts correct info in mi->host etc. A new test rpl_reset_slave for that. - Bug #986: "CHANGE MASTER & START SLAVE do not reset error columns in SHOW SLAVE STATUS". Now these reset the errors.
-
- 24 Jul, 2003 1 commit
-
-
guilhem@mysql.com authored
I extended the task to cleaning error messages, making them look nicer, and making the output of SHOW SLAVE STATUS (column Last_error) be as complete as what's printed on the .err file; previously we would have, for a failure of a replicated LOAD DATA INFILE: - in the .err, 2 lines: "duplicate entry 2708 for key 1" "failed loading SQL_LOAD-5-2-2.info" - and in SHOW SLAVE STATUS, only: "failed loading SQL_LOAD-5-2-2.info". Now SHOW SLAVE STATUS will contain the concatenation of the 2 messages.
-
- 23 Jul, 2003 1 commit
-
-
guilhem@gbichot2 authored
and other replicate-*-table options in SHOW SLAVE STATUS. Seems like it had not been done, so I push it now: there's 4 new columns to SHOW SLAVE STATUS.
-
- 14 Jul, 2003 1 commit
-
-
monty@narttu.mysql.fi authored
-
- 11 Jul, 2003 1 commit
-
-
guilhem@mysql.com authored
a safer way of initing the mutexes in MYSQL_LOG. is_open() is now always thread-safe. See each file for details.
-
- 08 Jul, 2003 1 commit
-
-
monty@mashka.mysql.fi authored
-
- 06 Jul, 2003 1 commit
-
-
guilhem@mysql.com authored
FLUSH LOGS now rotates relay logs, and a new variable max_relay_log_size. Plus a very small bit of code cleaning.
-
- 02 Jul, 2003 2 commits
-
-
guilhem@mysql.com authored
so I commit again in a fresh tree. Fix for bug#763 (Relay_log_space too big by 4 bytes), plus comments and DBUG_PRINT, and we don't start replication if --bootstrap.
-
pem@mysql.com authored
(Needed for platforms with the traditional bzero prototype.) Fixes BUG#460.
-