You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/17 18:27:00 UTC

[jira] [Commented] (GEODE-7577) Server is not logging about waiting for missing persistent members

    [ https://issues.apache.org/jira/browse/GEODE-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998468#comment-16998468 ] 

ASF subversion and git services commented on GEODE-7577:
--------------------------------------------------------

Commit 235e25075181d511953ac306fc408f58fa849e1c in geode's branch refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=235e250 ]

GEODE-7577: Log when waiting for missing persistent members (#4476)

* Separate StartupStatusListenerRegistry from StartupStatus to allow
  non-static injection of StartupStatus into classes that use it
* Add CollectionTransformer interface to TransformUtils to facilitate
  unit testing of classes depending on it
* Add new MembershipChangeListenerFactory with validation to ensure that
  warningDelay and pollDuration have correct values in relation to each
  other (to prevent recurrences of GEODE-7577)
* Fixed the formatting of missing persistent members messages in
  PersistenceAdvisorImpl
* Fixed warnings and minor issues primarily for readability and
  testability in every class touched
* Added shouldSyncForCrashedMember to InternalRegion and pulled the
  javadocs up to the interface

GEODE-4267: Fix PersistentRecoveryOrderOldConfigDUnitTest
* Replace thread sleeps with CountDownLatch
* Add a couple await calls
* Actual fix involved preventing late-running asynchronous actions that
  resulted in logging DistributedSystemDisconnectedException AFTER the
  test already removed the IgnoredException
* Major cleanup of PersistentRecoveryOrderDUnitTest including replace
  usage of Admin API with usage of DistributedSystemMXBean
* Replace Region close with Cache close in test that needs to list and
  revoke missing disk-stores

> Server is not logging about waiting for missing persistent members
> ------------------------------------------------------------------
>
>                 Key: GEODE-7577
>                 URL: https://issues.apache.org/jira/browse/GEODE-7577
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> During startup, a Server is supposed to log when it is waiting for missing persistent members. Somehow, this log message is no longer being logged.
> The log message looks like:
> "Region %s has potentially stale data. It is waiting for another member to recover the latest data.%sMy persistent id:%s%s%sMembers with potentially new data:%s%s%sUse the gfsh show missing-disk-stores command to see all disk stores that are being waited on by other members."
> Passing equal numbers into MembershipChangeListener for warningDelay and pollDuration seems to be the main cause.
> I also noticed that the formatting of the message was broken when LocalizedStrings were removed from Geode.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)