Hi,

we have seen this too and changed our autorecovery detection. There is definitly
the case that after some failures isDisabled() returns false and read/write is
also false.

So we start autorecovery now
if (isDisabled() || !isReadable() || !isWritable())

This just FYI.

Greetz,
)ngo

Guillaume Smet wrote:
> Hi all,
> 
> Using the CVS_HEAD, I have this weird behaviour after starting the
> controller:
> 
> Ready to administrate virtual database test_db
> test_db(admin) > show backend *
> +--------------------------+-------------------------------------+
> | Backend Name             | localhost1                          |
> | Driver                   | org.postgresql.Driver               |
> | URL                      | jdbc:postgresql://localhost/test_db |
> | Active transactions      | 0                                   |
> | Pending Requests         | 0                                   |
> | Read Enabled             | false                               |
> | Write Enabled            | false                               |
> | Is Initialized           | false                               |
> | Static Schema            | false                               |
> | Connection Managers      | 1                                   |
> | Total Active Connections | 50                                  |
> | Persistent Connections   | 0                                   |
> | Total Requests           | 0                                   |
> | Total Transactions       | 0                                   |
> | Last known checkpoint    | <unknown>                           |
> +--------------------------+-------------------------------------+
> 
> test_db(admin) > initialize localhost1
> Backend localhost1 is not in a disabled state (current state is enabled)
> test_db(admin) > disable localhost1
> Disabling backend localhost1 with automatic checkpoint.
> test_db(admin) > initialize localhost1
> Backend localhost1 is not in a disabled state (current state is enabled)
> test_db(admin) > initialize localhost1
> Backend localhost1 is not in a disabled state (current state is enabled)
> 
> Any idea of what can be the problem? I can reproduce it every time I
> start my controller.
> 
> I use the new embedded recovery log.
> 
> If there's nothing obvious, I'll take a closer look on what can be the
> problem.
> 
> Thanks.
> 
> -- 
> Guillaume
> 
> _______________________________________________
> Sequoia mailing list
> [email protected]
> https://forge.continuent.org/mailman/listinfo/sequoia
> 
> 
> 
> +----------------------------------------------------------------------+
> | Z1 SecureMail Gateway Info - http://www.zertificon.com               |
> +----------------------------------------------------------------------+
> | - Die Nachricht war weder verschluesselt noch digital unterschrieben |
> +----------------------------------------------------------------------+
> 
> 


-- 
Mit freundlichen Grüßen,
Ingo Kampe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wir produzieren Deutschlands fleißigste Virtuelle Poststelle.
Emailverschlüsselung und Digitale Signatur - http://www.zertificon.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
phone   +49-(0)30-5900 300-34 (fax -99)
email   [EMAIL PROTECTED]
inet    http://www.zertificon.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to