levlam
|
98033937cc
|
Explicitly specify 'template ' for fetch_string.
|
2024-03-28 20:03:31 +03:00 |
|
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
|
c0911577f7
|
Use empty name for unused move constructor/assignment parameter.
|
2023-05-05 13:51:19 +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
|
cf9d70f645
|
Improve error message.
|
2023-03-14 23:31:57 +03:00 |
|
levlam
|
d4646d4cd9
|
Minor improvements.
|
2023-03-06 16:59:18 +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
|
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
|
f2ca22745a
|
Avoid std::move to itself in BinlogEventsProcessor
|
2023-02-09 22:53:04 +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
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
d06a7ddf1c
|
Don't sync just created binlog.
|
2022-05-23 02:24:52 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +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
|
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
|
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
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +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
|
40c5d47717
|
Make inherited classes final if possible.
|
2021-07-04 05:58:54 +03:00 |
|
levlam
|
edfa5d1d98
|
Use final instead of override.
|
2021-07-03 23:51:36 +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
|
8db4febd4c
|
Minor improvements.
|
2021-06-02 15:43:56 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
e031a2c6c1
|
Improve Slice::truncate usage.
|
2021-02-04 15:54:12 +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
|
f0d1afcb7a
|
Fix binlog closing.
GitOrigin-RevId: 3dc04b07a2d7c72e8f99f360c6b8f02cb74ce931
|
2020-08-16 16:48:20 +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 |
|