File tree 7 files changed +1
-33
lines changed
nexus/src/app/background/tasks
7 files changed +1
-33
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ impl BackgroundTask for LookupRegionPort {
53
53
) -> BoxFuture < ' a , serde_json:: Value > {
54
54
async {
55
55
let log = & opctx. log ;
56
- info ! ( & log, "lookup region port task started" ) ;
57
56
58
57
let mut status = LookupRegionPortStatus :: default ( ) ;
59
58
@@ -147,8 +146,6 @@ impl BackgroundTask for LookupRegionPort {
147
146
}
148
147
}
149
148
150
- info ! ( & log, "lookup region port task done" ) ;
151
-
152
149
json ! ( status)
153
150
}
154
151
. boxed ( )
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ impl BackgroundTask for PhantomDiskDetector {
43
43
) -> BoxFuture < ' a , serde_json:: Value > {
44
44
async {
45
45
let log = & opctx. log ;
46
- warn ! ( & log, "phantom disk task started" ) ;
47
46
48
47
let phantom_disks = match self . datastore . find_phantom_disks ( ) . await
49
48
{
@@ -83,14 +82,13 @@ impl BackgroundTask for PhantomDiskDetector {
83
82
} else {
84
83
info ! (
85
84
& log,
86
- "phandom disk {} un-deleted andset to faulted ok" ,
85
+ "phandom disk {} un-deleted and set to faulted ok" ,
87
86
disk. id( ) ,
88
87
) ;
89
88
phantom_disk_deleted_ok += 1 ;
90
89
}
91
90
}
92
91
93
- warn ! ( & log, "phantom disk task done" ) ;
94
92
json ! ( {
95
93
"phantom_disk_deleted_ok" : phantom_disk_deleted_ok,
96
94
"phantom_disk_deleted_err" : phantom_disk_deleted_err,
Original file line number Diff line number Diff line change @@ -96,8 +96,6 @@ impl BackgroundTask for PhysicalDiskAdoption {
96
96
}
97
97
98
98
let mut disks_added = 0 ;
99
- let log = & opctx. log ;
100
- warn ! ( & log, "physical disk adoption task started" ) ;
101
99
102
100
let collection_id = * self . rx_inventory_collection . borrow ( ) ;
103
101
let Some ( collection_id) = collection_id else {
@@ -171,7 +169,6 @@ impl BackgroundTask for PhysicalDiskAdoption {
171
169
) ;
172
170
}
173
171
174
- warn ! ( & log, "physical disk adoption task done" ) ;
175
172
json ! ( {
176
173
"physical_disks_added" : disks_added,
177
174
} )
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ impl BackgroundTask for RegionReplacementDetector {
61
61
) -> BoxFuture < ' a , serde_json:: Value > {
62
62
async {
63
63
let log = & opctx. log ;
64
- warn ! ( & log, "region replacement task started" ) ;
65
64
66
65
let mut ok = 0 ;
67
66
let mut err = 0 ;
@@ -182,8 +181,6 @@ impl BackgroundTask for RegionReplacementDetector {
182
181
}
183
182
}
184
183
185
- warn ! ( & log, "region replacement task done" ) ;
186
-
187
184
json ! ( {
188
185
"region_replacement_started_ok" : ok,
189
186
"region_replacement_started_err" : err,
Original file line number Diff line number Diff line change @@ -227,16 +227,11 @@ impl BackgroundTask for RegionReplacementDriver {
227
227
opctx : & ' a OpContext ,
228
228
) -> BoxFuture < ' a , serde_json:: Value > {
229
229
async {
230
- let log = & opctx. log ;
231
- info ! ( & log, "region replacement driver task started" ) ;
232
-
233
230
let mut status = RegionReplacementDriverStatus :: default ( ) ;
234
231
235
232
self . drive_running_replacements_forward ( opctx, & mut status) . await ;
236
233
self . complete_done_replacements ( opctx, & mut status) . await ;
237
234
238
- info ! ( & log, "region replacement driver task done" ) ;
239
-
240
235
json ! ( status)
241
236
}
242
237
. boxed ( )
Original file line number Diff line number Diff line change @@ -129,12 +129,6 @@ impl BackgroundTask for RegionSnapshotReplacementGarbageCollect {
129
129
opctx : & ' a OpContext ,
130
130
) -> BoxFuture < ' a , serde_json:: Value > {
131
131
async move {
132
- let log = & opctx. log ;
133
- info ! (
134
- & log,
135
- "region snapshot replacement garbage collect task started" ,
136
- ) ;
137
-
138
132
let mut status =
139
133
RegionSnapshotReplacementGarbageCollectStatus :: default ( ) ;
140
134
@@ -144,11 +138,6 @@ impl BackgroundTask for RegionSnapshotReplacementGarbageCollect {
144
138
)
145
139
. await ;
146
140
147
- info ! (
148
- & log,
149
- "region snapshot replacement garbage collect task done"
150
- ) ;
151
-
152
141
json ! ( status)
153
142
}
154
143
. boxed ( )
Original file line number Diff line number Diff line change @@ -232,9 +232,6 @@ impl BackgroundTask for RegionSnapshotReplacementDetector {
232
232
opctx : & ' a OpContext ,
233
233
) -> BoxFuture < ' a , serde_json:: Value > {
234
234
async {
235
- let log = & opctx. log ;
236
- info ! ( & log, "region snapshot replacement start task started" ) ;
237
-
238
235
let mut status = RegionSnapshotReplacementStartStatus :: default ( ) ;
239
236
240
237
self . create_requests_for_region_snapshots_on_expunged_disks (
@@ -249,8 +246,6 @@ impl BackgroundTask for RegionSnapshotReplacementDetector {
249
246
)
250
247
. await ;
251
248
252
- info ! ( & log, "region snapshot replacement start task done" ) ;
253
-
254
249
json ! ( status)
255
250
}
256
251
. boxed ( )
You can’t perform that action at this time.
0 commit comments