Commit d39330f
Samar Pratap Singh
Bug#34741098 component::deinit() will block if calling any registry
update APIs
1. A no_lock version of registry and registry_registration service
is implemented which provides the same functionality without
taking any lock on the registry.
2. MySQL command service is updated to use either the lock or
no_lock version based on the new flag no_lock_registry added in
mcs_ext.
3. The no_lock_registry flag is set to true by health monitor query
thread before calling MySQL command service APIs (close, connect).
Change-Id: I8ebf8f07cffb8ddc4de0f17c48c10cb15be7dad81 parent 10678a7 commit d39330f
File tree
12 files changed
+923
-547
lines changed- components/libminchassis
- include/mysql/components/services
- sql
- server_component
12 files changed
+923
-547
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
59 | 71 | | |
60 | 72 | | |
61 | 73 | | |
| |||
104 | 116 | | |
105 | 117 | | |
106 | 118 | | |
| 119 | + | |
107 | 120 | | |
| 121 | + | |
108 | 122 | | |
109 | 123 | | |
110 | 124 | | |
| |||
0 commit comments