summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap/dbwrap_watch.c
AgeCommit message (Expand)AuthorFilesLines
2025-08-05s3/dbwrap_watch: avoid leaking backend db handle in traversesRalph Boehme1-2/+4
2022-09-20s3:dbwrap_watch: add dbwrap_watched_watch_force_alerting()Stefan Metzmacher1-0/+7
2022-09-20s3:dbwrap_watch: add dbwrap_watched_watch_reset_alerting() helperStefan Metzmacher1-0/+8
2022-09-20s3:dbwrap_watch: let dbwrap_watched_watch_skip_alerting() also clear the sele...Stefan Metzmacher1-0/+1
2022-07-26s3:dbwrap_watch: call dbwrap_watched_trigger_wakeup() outside of the low leve...Stefan Metzmacher1-10/+11
2022-07-26s3:dbwrap_watch: only notify the first waiterStefan Metzmacher1-33/+72
2022-07-26s3:dbwrap_watch: allow callers of dbwrap_watched_watch_send/recv() to manage ...Stefan Metzmacher1-5/+27
2022-07-26s3:dbwrap_watch: remove a watcher via db_watched_record_fini()Stefan Metzmacher1-85/+89
2022-07-26s3:dbwrap_watch: use dbwrap_watched_record_storev() to add a new watcherStefan Metzmacher1-52/+109
2022-07-26s3:dbwrap_watch: let dbwrap_watched_delete() call dbwrap_watched_record_store...Stefan Metzmacher1-14/+6
2022-07-26s3:dbwrap_watch: filter out records with empty payload during traverseStefan Metzmacher1-0/+3
2022-07-26s3:dbwrap_watch: prepare dbwrap_watched_record_storev() to store watchers if ...Stefan Metzmacher1-7/+40
2022-07-26s3:dbwrap_watch: define/use DBWRAP_MAX_WATCHERSStefan Metzmacher1-1/+2
2022-07-26s3:dbwrap_watch: remove unused dbwrap_watched_do_locked_state.statusStefan Metzmacher1-4/+2
2022-07-26s3:dbwrap_watch: let dbwrap_watched_watch_recv() use tevent_req_received()Stefan Metzmacher1-0/+2
2022-07-26s3:dbwrap_watch: don't use talloc_tos() for messaging_filtered_read_recv()Stefan Metzmacher1-1/+1
2022-07-26s3:dbwrap_watch: move db_record and db_watched_record to dbwrap_watched_do_lo...Stefan Metzmacher1-5/+8
2022-07-26s3:dbwrap_watch: split out a dbwrap_watched_watch_add_instance() helperStefan Metzmacher1-5/+23
2022-07-26s3:dbwrap_watch: remove dbwrap_watched_record_wakeup_fn() indirectionStefan Metzmacher1-64/+52
2022-07-26s3:dbwrap_watch: also the fetch_locked case only needs to wake waiters just onceStefan Metzmacher1-26/+8
2022-07-26s3:dbwrap_watch: split out db_watched_record_fini() from db_watched_record_de...Stefan Metzmacher1-5/+12
2022-07-26s3:dbwrap_watch: split out a db_watched_record_init() helper functionStefan Metzmacher1-51/+57
2022-07-26s3:dbwrap_watch: remove unused dbwrap_watched_do_locked_{storev,delete}()Stefan Metzmacher1-20/+5
2022-07-26s3:dbwrap_watch: move the do_locked optimization to dbwrap_watched_record_wak...Stefan Metzmacher1-29/+4
2022-07-26s3:dbwrap_watch: add db_record_get_watched_record() helperStefan Metzmacher1-28/+22
2022-07-26s3:dbwrap_watch: use backend.{rec,initial_value} instead of subrec[_value]Stefan Metzmacher1-22/+29
2022-07-26s3:dbwrap_watch: only pass struct db_watched_record to dbwrap_watched_record_...Stefan Metzmacher1-26/+17
2022-07-26s3:dbwrap_watch: use dbwrap_record_get_key() to access the keyStefan Metzmacher1-2/+4
2022-07-26s3:dbwrap_watch: move 'wrec' from dbwrap_watched_do_locked_state to dbwrap_wa...Stefan Metzmacher1-6/+4
2022-07-26s3:dbwrap_watch: use struct db_watched_record as rec->private_data for do_loc...Stefan Metzmacher1-8/+8
2022-07-26s3:dbwrap_watch: use dbwrap_record_get_db(rec) instead of state->dbStefan Metzmacher1-2/+4
2022-07-26s3:dbwrap_watch: move wakeup_value to struct db_watched_recordStefan Metzmacher1-22/+22
2022-07-26s3:dbwrap_watch: rename struct dbwrap_watched_record variables to 'wrec'Stefan Metzmacher1-45/+45
2022-07-26s3:dbwrap_watch: s/dbwrap_watched_subrec/dbwrap_watched_recordStefan Metzmacher1-25/+25
2022-07-26s3:dbwrap_watch: s/db_watched_subrec/db_watched_recordStefan Metzmacher1-24/+24
2022-07-26s3:dbwrap_watch: use value_valid = false during dbwrap_watched_do_locked_fn()Stefan Metzmacher1-5/+6
2022-07-26s3:dbwrap_watch: let dbwrap_watched_watch_state_destructor() use DBG_WARNING()Stefan Metzmacher1-2/+2
2021-11-11dbwrap: Remove unused dbwrap_watched_wakeup()Volker Lendecke1-54/+0
2020-07-08s3:dbwrap_watch: avoid recursion into dbwrap_do_locked() from dbwrap_watched_...Stefan Metzmacher1-4/+56
2020-05-05lib: Fix a commentVolker Lendecke1-1/+1
2020-04-21dbwrap_watch: Set rec->value_valid while returning nested share_mode_do_locked()Anoop C S1-0/+1
2020-01-14lib: Remove "msg_ctx" from server_id_watch_send()Volker Lendecke1-1/+1
2019-11-22dbwrap_watch: Don't store in-RAM cachesVolker Lendecke1-269/+359
2019-11-22dbwrap_watch: Simplify struct dbwrap_watched_watch_stateVolker Lendecke1-82/+4
2019-11-22dbwrap_watch: Simplify the wakeup messagesVolker Lendecke1-23/+21
2019-11-22dbwrap_watch: Add a uin64_t instance to watchersVolker Lendecke1-6/+19
2019-11-22dbwrap_watch: Encapsulate watchers in "struct dbwrap_watcher"Volker Lendecke1-34/+69
2019-11-22dbwrap_watch: Prevent two watchers per fetch_locked sequenceVolker Lendecke1-0/+4
2019-11-22dbwrap: Don't set rec->value in dbwrap_do_locked()Volker Lendecke1-3/+0
2019-11-22dbwrap: Protect against invalid db_record->valueVolker Lendecke1-0/+3