Impact of deleting meta.db on durables.

Impact of deleting meta.db on durables.

book

Article ID: KB0073860

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service All

Description

Static durables will be there in EMS server .But dynamic durables will be deleted after deleting meta.db files.


Issue/Introduction

Static durables will be there in EMS server .But dynamic durables will be deleted after deleting meta.db files.

Environment

ALL

Resolution

#By deleting the Db files which include the Meta.db and starting Ems instance does this effect durables (Loss of Durables) Dynamic or static?
=>Static durables will be there in the EMS server. But dynamic durables will be deleted after deleting meta.db files.


#By deleting the topic from Config file and starting the ems instance and recreating the topic when the instance is up is this will impact the Durables (Loss of Durables) Dynamic or static?

=>Please find below behavior in both cases:

1)static durable:
tcp://localhost:7222> delete topic testdurabletopic
Are you sure (yes,no)? yes
Error: Cannot delete destination required for static durable.

**Till the time there is static durable present, even if it is offline, you can not delete the topic for that.
----------------------------------
2)Dynamic durable:
**when you delete the topic, dynamic durables for that topic will be no longer there

tcp://localhost:7222> show durables
Topic Name        Durable        Shared  User           Msgs    Size
* testdurabletopic  testdurable2   N       testdurable       0     0.0 Kb

tcp://localhost:7222> delete topic testdurabletopic
Are you sure (yes,no)? yes
Topic 'testdurabletopic' has been deleted

tcp://localhost:7222> show durables
No durables found

**Even if you recreate the topic, dynamic durable will be no longer there.

tcp://localhost:7222> create topic testdurabletopic
Topic 'testdurabletopic' has been created
tcp://localhost:7222> show durables
No durables found

->You will need to restart the application with dynamic durable again.