You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let kvs = cache.try_list_dir(object_owner_prefix.as_str()).await;
251
252
252
-
match&kvs {
253
-
Ok(kvs) => {
254
-
info!(
253
+
match&kvs {
254
+
Ok(kvs) => {
255
+
info!(
255
256
"RoleMgr::list_ownerships() returned from cache: {} keys; first key: {:?}; last key: {:?}",
256
257
kvs.len(),
257
258
kvs.first().map(|(k, _)| k),
258
259
kvs.last().map(|(k, _)| k),
259
260
);
261
+
}
262
+
Err(err) => {
263
+
warn!("list ownerships from cache failed. err: {}; It is not a functional issue but may be a performance issue with more than 100_000 ownership records", err);
264
+
}
260
265
}
261
-
Err(err) => {
262
-
warn!("list ownerships from cache failed. err: {}; It is not a functional issue but may be a performance issue with more than 100_000 ownership records", err);
0 commit comments