Commit Graph

34 Commits

Author SHA1 Message Date
Arseny Smirnov
ff3164ff04 Fd::stat returns Result<Stat> instead of Stat
GitOrigin-RevId: 7bdb5f0d65df55424db302e4df060b697d8ee11d
2019-06-19 16:31:25 +02:00
levlam
99ba887334 Silently truncate zero bytes at the end of encrypted binlog.
GitOrigin-RevId: 88a18a4aaf3cbfa5907ce7b50d82f871836d6281
2019-03-11 17:56:03 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
b155cfe645 Output more debug on Binlog corruption.
GitOrigin-RevId: faae21038add485d80c668e2dd4317710daeb566
2019-01-02 18:21:31 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
2c6bd673c7 Use as_slice<Int> if possible.
GitOrigin-RevId: 931b5609e2eae0d5655287e84a71724f07d4090c
2018-11-06 19:00:03 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
872cf6e10d Add local locking to FileFd::lock.
GitOrigin-RevId: 4ad3e15f9952b1c68c879182a0f10dd5cad270f3
2018-10-08 21:18:06 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
fc0cbae579 Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
2018-09-10 04:08:15 +03:00
levlam
fd90bf435e A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
2018-09-07 03:41:21 +03:00
Arseny Smirnov
180de003a6 IOCP: pass tests under windows
GitOrigin-RevId: bbb13f722c911609e7cf120e7a06e02eb13c616f
2018-08-17 12:19:21 +03:00
Arseny Smirnov
8a28e4b461 Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
2018-08-14 10:42:40 +03:00
levlam
2a50835118 Change error message.
GitOrigin-RevId: 731888bdff7bf4efc0985bcdcf59954eee605d9d
2018-07-23 21:46:05 +03:00
levlam
c49862898b Output more details when truncating binlog.
GitOrigin-RevId: 372ba8cabd61cf32f931d7ca7a3bf0f5febd4127
2018-07-17 00:49:25 +03:00
Arseny Smirnov
7e71d12423 Binlog: truncate on read error
GitOrigin-RevId: 061fbfbe92470dca2f7282842993b1bea132872b
2018-07-16 13:07:00 +03:00
levlam
f87974fa0b Remove some outdated TODO.
GitOrigin-RevId: 77e1903177bbb83834c86391ec10deb7b4de4e47
2018-07-14 01:40:18 +03:00
Arseny Smirnov
b252fe15ff Binlog: reader bugfix
GitOrigin-RevId: 38271e40782e52d0ab20e74d98d10fc4045ac0c0
2018-07-13 14:42:03 +03:00
Arseny Smirnov
9fd6ea8502 Validate binlog event just before a write
GitOrigin-RevId: cea03381299348b0c33af5f963ff24cb97f1e6e1
2018-07-09 13:48:22 +03:00
Arseny Smirnov
9fa03cbda4 Log and abort on critical binlog error
GitOrigin-RevId: 13f7b562c42cda0d5e89e522f12e4aecc2330382
2018-07-09 13:23:34 +03:00
levlam
1cf26c2eab More binlog debug.
GitOrigin-RevId: bc7b484b9f960f88edcaa61e0ba2c73596e49c82
2018-07-09 03:19:37 +03:00
Arseny Smirnov
4621bdaff3 Binlog: more debug
GitOrigin-RevId: ac3b87bc9650a3518d7538386820ace2c99b176f
2018-07-03 11:46:22 +03:00
levlam
cc359101c4 Add binlog debug.
GitOrigin-RevId: 76e5e0ee7d7d4d4e6286cea990a193eaf2597003
2018-06-30 16:10:16 +03:00
Arseny Smirnov
7fa145c33e Binlog: even more debug
GitOrigin-RevId: 99585d14e3446dc1f5c4a4a7c1ba1e2b3aeef47e
2018-06-28 20:00:11 +03:00
levlam
62512c4db0 Remove binlog events data from the log.
GitOrigin-RevId: a3d8058e62d691671a10f8625db0afdb143fb3a8
2018-06-25 13:37:14 +03:00
Arseny Smirnov
1ee7ea7acc Binlog: bugfix
GitOrigin-RevId: 4b5f62ee906b5c2ad31390a0fda457a89adc5349
2018-06-07 15:41:31 +03:00
levlam
a1d6be72ff Better fix for END_PARSE_FLAGS.
GitOrigin-RevId: 8838c020bb677df926fce87c0e2343600089345d
2018-04-16 18:02:42 +03:00
levlam
82820bf842 Add debug.
GitOrigin-RevId: e6efea5f211c8926b986fc40eed6ae1401322c38
2018-04-13 21:20:20 +03:00
Arseny Smirnov
33a4d428f9 Binlog: call fsync only if it is necessary
GitOrigin-RevId: 2081799ad27c62950d029ebeb13d19f343be024d
2018-02-16 12:13:04 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
3f058aff60 Add binlog debug.
GitOrigin-RevId: 29a11dfcdc596a297f2add2a208feb57b20a06f8
2018-01-29 12:33:35 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00