In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The timestamp timestamp is accurate to the subtle level and bug appears.
Since the MariaDB5.3 version, the timestamp timestamp has been accurate to a subtle level, but there is a fatal bug that can corrupt the contents of the binlog record, invalidate the flashback recovery function, and fail to grab the binlog by the Canal tool.
Affect version MariaDB 5.5 Universe 10.0
Reproduce:
The version I use is 10.0.29-MariaDB-enterprise
Binlog format is ROW (this BUG does not exist in Mixed)
To create a table structure, note: timestamp (6), precise to subtle
Create table hcy (create_time timestamp (6) NOT NULL DEFAULT CURRENT_TIMESTAMP (6))
Insert data
Insert into hcy (create_time) values (now ())
At this point, we look at the BINLOG file, as shown in the following figure:
1. Time becomes negative.
2 、 Corrupted replication event was detected. Corruption of the copy was detected.
3. The lower version 10.0 may cause master-slave synchronization to fail.
The bug was fixed in MariaDB version 10.1.
Official confirmation of bug address
Https://jira.mariadb.org/browse/MDEV-5377
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.