Commit Graph

55 Commits (a2ab8a0c01431a547c2bfc45165e3f3b81231f1b)

Author SHA1 Message Date
YuQing fc689a02ba rename fc_combine_two_string to fc_combine_two_strings 2025-08-09 15:22:04 +08:00
YuQing 7b3f6d620a use fc_safe_strcpy and fc_combine_two_string 2025-08-08 21:52:08 +08:00
YuQing 03f64998ce performance opt.: replace snprintf 2025-08-07 19:53:38 +08:00
YuQing fc9c23fb95 call flush_writer_files before rotate file 2025-02-17 10:54:07 +08:00
YuQing 14a783fd6f sf_binlog_writer_rotate_file can skip empty file 2025-02-10 18:34:04 +08:00
YuQing 75e8aacfd9 sf_binlog_writer.[hc] add parameter write_interval_ms for high performance 2024-10-07 09:21:19 +08:00
YuQing 1c796ab819 sf_file_writer_init add parameter: max_record_size 2024-02-29 11:58:05 +08:00
YuQing e440273f35 sf_binlog_writer.c: flow control more rigorously 2023-07-30 10:11:00 +08:00
YuQing 024a6b0e8a improve robustness of binlog writer flow control 2023-07-27 10:54:59 +08:00
YuQing 5e8535db9c function sf_push_to_binlog_write_queue changed 2023-06-30 10:40:05 +08:00
YuQing 1abf7402ca log info when flow ctrol waiting time > 0 gracefully 2023-06-30 10:29:18 +08:00
YuQing d006954ceb sf_binlog_writer_init support call_fsync parameter 2023-06-27 18:19:36 +08:00
YuQing a95f4cc725 sf_binlog_writer.[hc]: use config max_delay for flow control 2023-06-16 17:59:29 +08:00
YuQing 2a245a06aa sf_file_writer.[hc] support config call_fsync for performance 2023-06-10 14:32:00 +08:00
YuQing d5139804f9 adapt newest fast_mblock_init_ex2 2023-05-19 11:21:15 +08:00
YuQing 404f374397 remove useless field: tag 2023-03-12 11:29:56 +08:00
YuQing d4676e9d71 sf_binlog_writer.[hc]: support passive write 2022-09-29 11:44:02 +08:00
YuQing 7f7ba8d835 support set next version when order_mode is VARY 2022-06-24 07:46:04 +08:00
YuQing bcd1120617 sf_file_writer support specifying file prefix 2022-05-31 21:19:15 +08:00
YuQing 39e5dd419e custom define binlog rotate file size 2022-05-30 11:24:05 +08:00
YuQing 464573f9ff sf_file_writer_set_indexes impl. 2022-05-26 20:14:00 +08:00
YuQing f490366c03 sf_binlog_writer_change_write_index impl. 2022-05-19 18:14:33 +08:00
YuQing c611b9b30c sf_file_writer.[hc] support start_index 2022-05-14 14:21:05 +08:00
YuQing 3734e68e0b sf_binlog_writer_finish check thread running 2022-04-24 10:57:19 +08:00
YuQing 613c31fcf3 sf_binlog_writer_change_order_by check if versioned writer 2022-04-18 08:59:07 +08:00
YuQing 952647cbc9 order_by feature belongs to writer instead of thread 2022-04-17 18:18:18 +08:00
YuQing 68d41aa690 rename to sf_file_writer_deal_versioned_buffer 2022-03-22 08:23:03 +08:00
YuQing a727f382bc add function: sf_binlog_writer_notify_exit 2022-03-18 16:48:26 +08:00
YuQing a265bbbbea add function sf_binlog_writer_destroy 2022-03-17 20:52:41 +08:00
YuQing b9b466c364 set last_versions.done when binlog_writer_set_next_version 2021-10-17 21:51:28 +08:00
YuQing fb7ffa0b1d sf_binlog_writer removes global variable: g_sf_binlog_data_path 2021-09-21 09:26:10 +08:00
YuQing db858fc048 sf_binlog_writer uses sf_file_writer 2021-09-20 21:30:24 +08:00
YuQing 66fe9767f7 add files: sf_file_writer.[hc] 2021-09-20 20:55:23 +08:00
YuQing 88a0f0a267 add function sf_binlog_writer_get_last_version 2021-09-01 21:13:57 +08:00
YuQing 2d71c389f6 fast_mblock_init_ex1: unify obj name 2021-07-20 20:27:02 +08:00
YuQing 592fb2b866 sf_binlog_writer: change thread name for unity 2021-04-30 10:13:08 +08:00
YuQing eea7adde7c set thread name as necessary 2021-04-29 21:33:05 +08:00
YuQing f60fcf0d82 server_expect_body_length etc.: remove useless task parameter 2021-03-16 19:05:50 +08:00
YuQing 1b4e0ad870 bugfixed: do NOT check order_by in sf_binlog_writer_change_next_version 2021-02-08 17:30:21 +08:00
YuQing 3659542eba sf_binlog_writer: change order_by gracefully 2021-01-24 22:34:19 +08:00
YuQing 76f757f2bd bugfixed: add_to_flush_writer_queue MUST before deal function 2021-01-21 10:43:39 +08:00
YuQing 1ece8a3389 binlog writer simplify versioned buffer queue 2021-01-21 10:13:21 +08:00
YuQing 0014cfa154 add tag for debug 2021-01-07 20:19:13 +08:00
YuQing 0825cfc5fe fast_mblock_free_object writer buffer 2021-01-06 18:45:26 +08:00
YuQing d7309da368 sf_binlog_writer support version range 2020-12-09 11:46:12 +08:00
YuQing 4a92e31272 sf_nio_notify more graceful 2020-11-09 09:18:25 +08:00
YuQing b9e22e61fc flush_writers: use chain instead of ptr array 2020-10-26 16:48:48 +08:00
YuQing 99f80b847e sf_load_read_rule_config support default value 2020-10-25 20:40:14 +08:00
YuQing 38df5d412c add AGPLv3 license and copyright 2020-10-14 10:33:41 +08:00
YuQing 6ccf936ee5 add function: sf_terminate_myself 2020-09-30 19:30:12 +08:00