Sounds like we might not be using WriteConcern.ACKNOWLEDGED.
I think there should be
this.db.setWriteConcern(WriteConcern.ACKNOWLEDGED);
in this line:
https://github.com/keycloak/keycloak/blob/master/connections/mongo/src/ma...
On Mon, Sep 7, 2015 at 2:47 AM, Dean Peterson <peterson.dean(a)gmail.com>
wrote:
There may be a serious bug in Keycloak. I have a number of users
that
have been completely wiped from the Keycloak mongodb database after a power
outage. Luckily I retain their information in a separate mongodb database
with other information or they would be gone forever. When does Keycloak
commit user data? The users that are missing are users that registered
after the last system restart but before the system went down after a power
outage.
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user