If you're looking for a non-deprecated way but still (unfortunately) internal then 'ShowMissingDiskStoresFunction' will probably help.
--Jens On Thu, Aug 23, 2018 at 2:27 PM Dan Smith <dsm...@pivotal.io> wrote: > I think this was replaced with a gfsh command that does the same thing. > Unfortunately, we don't have a public java API for gfsh as far as I know. > > -Dan > > On Thu, Aug 23, 2018 at 1:50 PM, Kirk Lund <kl...@apache.org> wrote: > > > There are a few distributed tests that are using deprecated Admin API to > > getMissingPersistentMembers. > > > > Does anyone know if there's a non-deprecated way to do this? > > > > vm2.invoke(() -> { > > DistributedSystemConfig config = defineDistributedSystem( > > getSystem(), > > ""); > > AdminDistributedSystem adminDS = getDistributedSystem(config); > > adminDS.connect(); > > try { > > adminDS.waitToBeConnected(MINUTES.toMillis(2)); > > > > await().atMost(2, MINUTES).until(() -> { > > Set<PersistentID> missingIds = > > adminDS.getMissingPersistentMembers(); > > if (missingIds.size() != 1) { > > return false; > > } > > for (PersistentID missingId : missingIds) { > > adminDS.revokePersistentMember(missingId.getUUID()); > > } > > return true; > > }); > > > > } finally { > > adminDS.disconnect(); > > } > > }); > > >