Commit Graph

95 Commits

Author SHA1 Message Date
levlam
5c53ea34f8 Add some TD_WARN_UNUSED_RESULT.
GitOrigin-RevId: ba78294b97950402b2e77f942e21b19b2f2b7199
2018-07-18 00:41:26 +03:00
levlam
b0a2564b97 Fix formatting of foreach function.
GitOrigin-RevId: de355b5e5877428c75a167f4bff1e2514b5e0577
2018-07-17 23:08:38 +03:00
levlam
b0dfc088ae Fix CE.
GitOrigin-RevId: 6117160e2ee0045bb0c7dc8e3e048a5aae2626f1
2018-07-17 16:49:57 +03:00
levlam
1aa94575e8 Minor fixes.
GitOrigin-RevId: 33b0f159e7003d7b9dce28033a7e90169a9421bc
2018-07-17 14:27:24 +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
levlam
608ff3f45a Better map::emplace usage.
GitOrigin-RevId: 02c7f1cb60ba77c5515e80b988f815ce8a356e11
2018-07-10 03:38:17 +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
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
Arseny Smirnov
f51c0602e6 Binlog: add an assert
GitOrigin-RevId: 84ac88b0e83917d16d0f7a7e35b9abd486698f3d
2018-07-03 14:35:17 +03:00
Arseny Smirnov
4621bdaff3 Binlog: more debug
GitOrigin-RevId: ac3b87bc9650a3518d7538386820ace2c99b176f
2018-07-03 11:46:22 +03:00
levlam
ac1d7a9657 Add prefer_ipv6 option.
GitOrigin-RevId: b20e8c699e20c4fb6ec76cd53aeaeee509cd2115
2018-07-01 17:19:59 +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
Arseny Smirnov
158dc49438 Binlog: more debug
GitOrigin-RevId: 8df5d8c49b702ef5bfd86819fb5904321c82049c
2018-06-28 18:21:58 +03:00
Arseny Smirnov
d22fba5603 Binlog debug
GitOrigin-RevId: 20ea6ad4fcb17af41d08ec9e00156d9267bbec15
2018-06-28 18:12:20 +03:00
Arseny Smirnov
80d4292493 BinlogHelper:: -> binlog_
GitOrigin-RevId: 94cf4585c4f61be2929c5a7cd1a3628b911bc4c5
2018-06-28 16:52:40 +03:00
levlam
46535703e0 Fix some includes.
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
62512c4db0 Remove binlog events data from the log.
GitOrigin-RevId: a3d8058e62d691671a10f8625db0afdb143fb3a8
2018-06-25 13:37:14 +03:00
levlam
ccc44e9b43 Add BinlogEventsProcessor debug.
GitOrigin-RevId: 8e452812c016071185624ba2784c34b0fe26f0c2
2018-06-25 04:07:05 +03:00
levlam
046ad3b752 Make TlStorerUnsafe buffer unsigned.
GitOrigin-RevId: 8bb19c10e4edd8b015d3a2be0449426c9c07f7df
2018-06-25 02:58:43 +03:00
levlam
744df9f511 Minor fixes.
GitOrigin-RevId: fb737b1ddcb72ce4c6393d9e282336184285dafd
2018-06-17 22:56:21 +03:00
Arseny Smirnov
251553b2e9 Add debug
GitOrigin-RevId: 63b9f09889866d9510ac951e8fc32be08615223b
2018-06-17 22:48:18 +03:00
Arseny Smirnov
69cf867d47 0xdd quick ack
GitOrigin-RevId: 3e35df493f46f91cd1cf81671819848d9640fedd
2018-06-17 20:52:40 +03:00
levlam
deed26ee04 Fix misprint.
GitOrigin-RevId: 2da88c91f4a0c9b7b342a397f04bf62592c986f2
2018-06-08 01:21:14 +03:00
Arseny Smirnov
03b674ab1c SqliteDb: use proper destroy instead of unlink
GitOrigin-RevId: 73d2d992c362c7b0c6d6f28adef56c416ec8c158
2018-06-07 22:56:03 +03:00
Arseny Smirnov
1ee7ea7acc Binlog: bugfix
GitOrigin-RevId: 4b5f62ee906b5c2ad31390a0fda457a89adc5349
2018-06-07 15:41:31 +03:00
levlam
266722112e Fix clearImportedContacts and getImportedContactCount.
GitOrigin-RevId: 295c524eab124ee19284841b2b6aa3083c850446
2018-05-25 00:37:43 +03:00
levlam
8107c838c0 Add debug.
GitOrigin-RevId: e84446bc4ebbf21f243147b3306b3b3254c7cf0c
2018-04-23 17:54:10 +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
levlam
ac8b30f6e6 Better error message.
GitOrigin-RevId: 099dc02976ede7814d0296d37c63c260652e7a8a
2018-04-02 23:11:45 +03:00
levlam
3abf2ef88e Decrease MAX_PENDING_QUERIES_DELAY from 10 to 1.
GitOrigin-RevId: 9210a816b8a2b69709c1d117bcda6682f7aedbe0
2018-03-14 14:57:43 +03:00
levlam
3823aa73e8 Fix error code.
GitOrigin-RevId: b91a357cd115be02df17a141d2c7627ad1e4f4d2
2018-03-10 17:52:27 +03:00
levlam
c2dbb601cf Fix process_config.
GitOrigin-RevId: ea657dfc621fdf13a1641377a2bef6ddd396172a
2018-03-08 18:01:45 +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