Can you provide the version of your product from the about page in the management portal or "w $zv" from the terminal? This behavior varies across versions so you can probably find more information in the relevant version of our documentation.
Also, please be clear about whether you are referring to namespaces or databases.
This documentation may be what you are referring to:
First of all I wonder what version of Caché you are using as ^MSU has been replaced by ^DATABASE for a long time.
That being said, I can't imagine there being any problems with interrupting using ctrl+c. In fact, as you didn't get an <INTERRUPT> error it seems likely that ^MSU/^DATABASE has accounted for a user trying to ctrl+c out and so just returns you to the previous menu.
For example, journals are needed in a disaster recovery scenario in order to bring your instance more up to date than the time of the backup itself. If you are not journaling and restore a backup your data will be current as of the time the backup was taken. Replaying journals would be necessary to proceed beyond that. You would only need the journals created after the time of the backup.
Also note that I would recommend testing your backup restore procedure and regularly taking integrity checks to confirm the validity of your backups. I would go so far as to say a backup that has not passed an integrity check is not a valid backup.
While I suspect this is related to the read-only / mirrored-ness of the backup failover member, I would recommend reaching out to the WRC for a more thorough investigation.
Alex and Alexey suggested a nice workaround as well.
I'm not sure exactly what your steps were - where did you see that error? I have no problem opening objects without locking in a mirrored database on a backup failover member:
I didn't do a deep dive but presumably the HL7 message is being opened as an object and therefore automatically taking out a shared lock in order to read it.
If you really don't care about locking or concurrency protection, I imagine it wouldn't be that difficult to custom code something to do what you want, though you'd probably want to test:
You're absolutely right that normal read only databases and mirrored databases operate differently. It is not possible to take out locks for a mirrored database on a backup failover member as locks would prevent the member from taking over as primary.
If you have a DR async and take out a lock on a mirrored database, then when you try to promote to failover member you'll see a message like this:
Unfortunately, that means I don't have a workaround for you unless you have a DR where you can dump the messages instead.
Thanks to @Pete Greskoffwho I talked to about this behavior.
Can you confirm if you are getting that kit from the Download Caché button in the sidebar here in the Developer Community? If so, then that alleviates my primary concern that it might actually be a threat.
Beyond that, the question would be one of setting up an anti-virus exclusion or disabling it briefly. This is something you might need to do for any software kit that is improperly flagged by your antivirus, which is not really a question of InterSystems technology but of whatever antivirus you are using.
Further down the line you may want to add some additional exclusions so Caché can operate properly per this documentation:
go to post
Hello Sachin,
Can you provide the version of your product from the about page in the management portal or "w $zv" from the terminal? This behavior varies across versions so you can probably find more information in the relevant version of our documentation.
Also, please be clear about whether you are referring to namespaces or databases.
This documentation may be what you are referring to:
Where Ensemble Stores Temporary Data
go to post
Hello,
First of all I wonder what version of Caché you are using as ^MSU has been replaced by ^DATABASE for a long time.
That being said, I can't imagine there being any problems with interrupting using ctrl+c. In fact, as you didn't get an <INTERRUPT> error it seems likely that ^MSU/^DATABASE has accounted for a user trying to ctrl+c out and so just returns you to the previous menu.
go to post
Hello Daniel,
As Kenneth mentioned, outside of shadowing/mirroring journaling could still be very important depending on your usage.
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCDI_journal
For example, journals are needed in a disaster recovery scenario in order to bring your instance more up to date than the time of the backup itself. If you are not journaling and restore a backup your data will be current as of the time the backup was taken. Replaying journals would be necessary to proceed beyond that. You would only need the journals created after the time of the backup.
Also note that I would recommend testing your backup restore procedure and regularly taking integrity checks to confirm the validity of your backups. I would go so far as to say a backup that has not passed an integrity check is not a valid backup.
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCDI_backup
go to post
While I suspect this is related to the read-only / mirrored-ness of the backup failover member, I would recommend reaching out to the WRC for a more thorough investigation.
Alex and Alexey suggested a nice workaround as well.
go to post
I'm not sure exactly what your steps were - where did you see that error? I have no problem opening objects without locking in a mirrored database on a backup failover member:
MIR>s x= ##class(Sample.Person).%OpenId(1,0)
MIR>w x
1@Sample.Person
go to post
Hello Vandrei,
Your question is a bit vague but hopefully this helps:
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GOBJ_methods
##class(Package.Class).Method(Args)
go to post
I didn't do a deep dive but presumably the HL7 message is being opened as an object and therefore automatically taking out a shared lock in order to read it.
If you really don't care about locking or concurrency protection, I imagine it wouldn't be that difficult to custom code something to do what you want, though you'd probably want to test:
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GOBJ_persobj#GOBJ_concurrency
go to post
Hello Jeffrey,
You're absolutely right that normal read only databases and mirrored databases operate differently. It is not possible to take out locks for a mirrored database on a backup failover member as locks would prevent the member from taking over as primary.
If you have a DR async and take out a lock on a mirrored database, then when you try to promote to failover member you'll see a message like this:
Unfortunately, that means I don't have a workaround for you unless you have a DR where you can dump the messages instead.
Thanks to @Pete Greskoff who I talked to about this behavior.
go to post
Hello Sergey,
Can you confirm if you are getting that kit from the Download Caché button in the sidebar here in the Developer Community? If so, then that alleviates my primary concern that it might actually be a threat.
Beyond that, the question would be one of setting up an anti-virus exclusion or disabling it briefly. This is something you might need to do for any software kit that is improperly flagged by your antivirus, which is not really a question of InterSystems technology but of whatever antivirus you are using.
Further down the line you may want to add some additional exclusions so Caché can operate properly per this documentation:
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?K...
go to post
After thinking about this a bit more you could probably use the open command which would be even simpler if you want to output to a file.
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GIOD_iodevcomms
ex.
set file = "</path/to/log/file.txt>"
open file:"WNS" use file do $System.OBJ.CompileAll() close file