Commit Graph

36 Commits

Author SHA1 Message Date
levlam
c0911577f7 Use empty name for unused move constructor/assignment parameter. 2023-05-05 13:51:19 +03:00
levlam
da2424bc64 Flush binlog buffer from time to time. 2023-03-20 00:38:20 +03:00
levlam
af27ba7c32 Return 0 from erase_batch for empty event list. 2023-02-12 03:18:22 +03:00
Arseny Smirnov
ebe93d7e4f Binlog::erase_batch, TQueue:pop_batch 2023-02-10 15:14:14 +01:00
levlam
3d6ea2f779 Binlog: store key_salt in string instead of BufferSlice. 2023-02-01 23:46:54 +03:00
levlam
3e5f30af70 Improve event_id variable names. 2023-01-16 12:47:37 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
b0bfdd2b35 Improve setTdlibParameters errors. 2022-12-30 23:13:40 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
a6c0902ad7 Silence g++ warnings. 2021-12-01 16:01:27 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
9628668def Minor improvements. 2021-06-23 03:22:23 +03:00
levlam
a36266a764 Add BinlogKeyValue logging. 2021-06-16 05:23:22 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
cb3f390a92 Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
060c01ace3 Minor improvements.
GitOrigin-RevId: b4e5073248377d84cb8acdf4a032970ec5cf5df9
2020-07-14 20:54:38 +03:00
Arseny Smirnov
d701e17cc6 close(Promise<>) interface for TQueue and BinlogKeyValue
GitOrigin-RevId: d2c524407888b99c9e6207f74828eb2da29a7720
2020-07-14 19:10:26 +03:00
levlam
44155da2d8 Fix BinlogEvent size checks.
GitOrigin-RevId: 0fe66f0be34fd15618c3f19edaeec5e64072c170
2020-06-11 18:21:18 +03:00
levlam
d8a11c7fa6 Add Binlog::add/rewrite/erase.
GitOrigin-RevId: 99b0234d5d700081834ba00c79fcc3da264344be
2020-06-10 21:48:11 +03:00
levlam
e4bfb5bcb8 Remove IGNORE_ERASE_HACK.
GitOrigin-RevId: 7b26a5c8ad5a978c47f873f397cfa27500e8df08
2020-01-19 03:05:36 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +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
b676fe509a Move UInt to UInt.h
GitOrigin-RevId: 52b6d36d1ece8c267f5548000b2592ffd3a62ded
2018-12-20 00:18:53 +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
f25bcd8d70 Remove unnecessary semicolons after namespace end.
GitOrigin-RevId: bf290001b072fd390fe2cada06722a3b90309cca
2018-07-18 04:30:29 +03:00
Arseny Smirnov
7fa145c33e Binlog: even more debug
GitOrigin-RevId: 99585d14e3446dc1f5c4a4a7c1ba1e2b3aeef47e
2018-06-28 20:00:11 +03:00
Arseny Smirnov
d22fba5603 Binlog debug
GitOrigin-RevId: 20ea6ad4fcb17af41d08ec9e00156d9267bbec15
2018-06-28 18:12:20 +03:00
levlam
3823aa73e8 Fix error code.
GitOrigin-RevId: b91a357cd115be02df17a141d2c7627ad1e4f4d2
2018-03-10 17:52:27 +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
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