levlam
|
8377726001
|
Add source to Binlog::sync.
|
2024-02-02 15:09:17 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
levlam
|
2f006bfdfe
|
Move log message to binlog tag.
|
2023-03-20 12:51:46 +03:00 |
|
levlam
|
da2424bc64
|
Flush binlog buffer from time to time.
|
2023-03-20 00:38:20 +03:00 |
|
levlam
|
1c9efb4283
|
Binlog: avoid sync on Binlog creation.
|
2023-02-10 15:21:43 +03:00 |
|
Arseny Smirnov
|
8df048c0d2
|
Use FileFd::sync_barrier in Binlog
|
2023-02-10 12:17:56 +01:00 |
|
Arseny Smirnov
|
cde74133a6
|
Store std::string instead of BufferSlice in BinlogEvent
|
2023-02-09 22:53:02 +01:00 |
|
levlam
|
4cb164f444
|
Initialize all BinlogEvent fields.
|
2023-02-02 21:13:52 +03:00 |
|
levlam
|
0adcac246a
|
Use explicit as_mutable_slice to get MutableSlice.
|
2023-02-02 17:40:47 +03:00 |
|
levlam
|
d6b7770561
|
Always initialize BinlogEvent.offset_.
|
2023-02-02 15:45:20 +03:00 |
|
levlam
|
0e58eeb5e9
|
Simplify BinlogEvent::init/validate.
|
2023-02-02 04:03:17 +03:00 |
|
levlam
|
882de6e8e8
|
Replace unsafe to maintain data_ field with get_data() method.
|
2023-02-02 03:08:26 +03:00 |
|
levlam
|
2a5f6121ef
|
Binlog: store iv, key and key_hash in string instead of BufferSlice.
|
2023-02-02 00:26:12 +03: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
|
d06a7ddf1c
|
Don't sync just created binlog.
|
2022-05-23 02:24:52 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
42aadccc8b
|
Fix warning.
|
2021-12-07 13:10:30 +03:00 |
|
levlam
|
e740f5f86c
|
Try a few times to find the new binlog after renaming it. This could help on some virtual file systems like /mnt directory on WSL 2.0.
|
2021-12-06 13:58:11 +03:00 |
|
levlam
|
1e49f6dc13
|
Use auto as variable type if it is initialized with a cast.
|
2021-10-20 01:27:02 +03:00 |
|
levlam
|
44a186c7c1
|
Minor improvements.
|
2021-10-18 19:26:14 +03:00 |
|
levlam
|
a8e8208fa6
|
Improve order of binlog files deletion.
|
2021-07-26 21:09:39 +03:00 |
|
levlam
|
5e9cf68df1
|
Add more binlog reindex debug.
|
2021-07-14 05:24:45 +03:00 |
|
levlam
|
31bc98a7bd
|
Improve logging on failed to rename binlogs.
|
2021-07-13 23:46:09 +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
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
Arseny Smirnov
|
037bfb3776
|
Binlog: defragmentation of BinlogEvents buffers during reindex
GitOrigin-RevId: 89f61031d27d8aa20963a46566876a461ea3e338
|
2020-08-07 20:30:05 +03:00 |
|
levlam
|
5749ddf33d
|
Minor fixes.
GitOrigin-RevId: 6d9a609ab9c773d1e4f3fe81f84947e142e15f35
|
2020-08-04 22:48:23 +03:00 |
|
Arseny Smirnov
|
e75860b2ae
|
BufferSlice: stats of total BufferSlices size
GitOrigin-RevId: df712161ba00c4f3d6eae9b6459c69ee046a9bda
|
2020-08-04 21:37:47 +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
|
9072b73337
|
Make binlog reindex more aggressive.
GitOrigin-RevId: dea08e9bd9b1679c41f5e516c26cb365bdea7562
|
2020-07-13 16:26:36 +03:00 |
|
levlam
|
44155da2d8
|
Fix BinlogEvent size checks.
GitOrigin-RevId: 0fe66f0be34fd15618c3f19edaeec5e64072c170
|
2020-06-11 18:21:18 +03:00 |
|
levlam
|
e4bfb5bcb8
|
Remove IGNORE_ERASE_HACK.
GitOrigin-RevId: 7b26a5c8ad5a978c47f873f397cfa27500e8df08
|
2020-01-19 03:05:36 +03:00 |
|
levlam
|
728d8d79f6
|
More enum class usages.
GitOrigin-RevId: 6680ce2276ced5b015a1f508f0b7b5f28b5f4a9b
|
2020-01-19 03:02:56 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
Arseny Smirnov
|
5a032743e6
|
Fix errors from tdutils import
GitOrigin-RevId: 3709df12a3050cf05e2bb482b49490a4e874f075
|
2019-08-12 16:53:17 +03:00 |
|
levlam
|
108dc0d4f8
|
Remove END_PARSE_FLAGS_GENERIC.
GitOrigin-RevId: c9a47a56158829aca0572bab1497e3aebcc7216d
|
2019-08-01 03:40:28 +03:00 |
|
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 |
|