It is possible to store queue meta table without metadata section
See original GitHub issueIf metadata is absent, it will be read as NoMeta, which is not permitted:
java.lang.IllegalStateException: Expected SCQMeta, got class net.openhft.chronicle.queue.impl.table.Metadata$NoMeta
at net.openhft.chronicle.queue.impl.single.SCQMeta.overrideFrom(SCQMeta.java:73)
at net.openhft.chronicle.queue.impl.table.SingleTableBuilder.readTableStore(SingleTableBuilder.java:165)
at net.openhft.chronicle.queue.impl.table.SingleTableBuilder.lambda$build$2(SingleTableBuilder.java:142)
at net.openhft.chronicle.queue.impl.table.SingleTableStore.doWithLock(SingleTableStore.java:141)
at net.openhft.chronicle.queue.impl.table.SingleTableStore.doWithExclusiveLock(SingleTableStore.java:124)
at net.openhft.chronicle.queue.impl.table.SingleTableBuilder.build(SingleTableBuilder.java:137)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.initializeMetadata(SingleChronicleQueueBuilder.java:450)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.preBuild(SingleChronicleQueueBuilder.java:1089)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.build(SingleChronicleQueueBuilder.java:326)
at net.openhft.chronicle.queue.impl.TableStoreTest.preCreateQueueMeta(TableStoreTest.java:111)
But turns out you can still write such table, just not read it.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Can I query Salesforce Queue and can I do it using the ...
1 Answer 1 ... You can query queues with a normal SOQL call, no metadata/tooling API necessary. The objects related to queues are...
Read more >Queue | Metadata API Developer Guide
Represents a holding area for items before they are processed.
Read more >What is Mysql table metadata lock wait queue ordering
A metadata lock on a table prevents changes to the table's structure. This locking approach has the implication that a table that is...
Read more >Tips and Recommendations for Metadata Server Tuning
General Notes. This page presents some tips and recommendations on how to improve the performance of BeeGFS metadata servers. As usual, the optimal...
Read more >A Advanced Tuning of the Metadata
Use the Columns tab to specify metadata that describe the table columns. The tab is divided into the following: Column Definition Section. Column...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@peter-lawrey what do you think about that? Should we ignore and overwrite (absent) NoMeta with SCQMeta when it is written into Queue’s table store by some external process?
It seems that it is currently unfeasible. If the queue meta table file was created with incorrect metadata section, it needs to be recreated in offline mode.