question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table operation errors

See original GitHub issue

I’ve been playing with Azurite some, and there appears there may be a problem with it’s tables implementation. Regardless of platform, I get errors when trying to add entities, delete entities, and delete tables. Some details:

  • We use azure-storage-node for sending requests.
  • We expect a certain result object when adding entities succeeds. However, we are getting an empty result object. This result object is supposed to provide information about the new entity, such as an etag.
  • When attempting to delete entities or tables, we get errors like the following (may be related to #17, #19):
POST /devstoreaccount1/test01 204 2.216 ms - -
GET /devstoreaccount1/test01?%24top=1000 200 1.560 ms - 575
GET /devstoreaccount1/test01?%24top=1000 200 0.747 ms - 575
POST /devstoreaccount1/$batch 500 1.124 ms - 45
**PANIC** Something unexpected happened! Table Storage Emulator may be in an inconsistent state!
TypeError: Cannot read property 'tableName' of undefined
    at BbPromise.try (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\lib\middleware\table\validation.js:24:48)
    at tryCatcher (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\bluebird\js\release\util.js:16:23)
    at Function.Promise.attempt.Promise.try (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\bluebird\js\release\method.js:39:29)
    at module.exports (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\lib\middleware\table\validation.js:18:18)
    at Layer.handle [as handle_request] (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\express\lib\router\index.js:275:10)
    at C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\body-parser\lib\read.js:130:5
    at invokeCallback (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\raw-body\index.js:224:16)
    at done (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\raw-body\index.js:213:7)
    at IncomingMessage.onEnd (C:\Users\cralvord\AppData\Roaming\npm\node_modules\azurite\node_modules\raw-body\index.js:273:7)
    at emitNone (events.js:106:13)
   at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
GET /devstoreaccount1/test01?%24top=1000 200 0.869 ms - 575

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:21

github_iconTop GitHub Comments

6reactions
edwin-hubercommented, Aug 13, 2019

I’m working through the backlog, but we are moving support of table storage to the Cosmos Emulator, currently only on Windows and Windows Docker Container, but should eventually be made cross platform.
We have a release pending in which addresses most of the issues in this thread.

2reactions
edwin-hubercommented, Aug 14, 2019

Hi,
I think there might be some crossed wires here.
Don’t panic… we have your back! 😇
Azurite is the emulator going forward for Blob and Queue storage, and has been rearchitected to make it easier to support long term; for both the community and us.

Tables are however engineered by a different team.
There is currently no cross platform emulator for tables, other than legacy / v2 Azurite, but it should be coming soon.
We are giving it our best effort to support tables storage in the legacy branch until there is a new cross platform emulator for tables and cosmos.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Operations Table errors - Geneious
These errors typically take the format of “Error saving data for completed operation, it will not show up in the Operations Table after ......
Read more >
Can't perform an operation on a table - Office | Microsoft Learn
When you perform an operation on a table, you may receive the following error message if the operation creates a large number of...
Read more >
2634 Existing ERROR table(s) or Incorrect use of %TVMID in ...
2634 Existing ERROR table(s) or Incorrect use of %TVMID in Fast Load operation. Explanation: This error occurs if the table/error table(s) ...
Read more >
Operations Errors - SingleStore Documentation
The most common cause for this error is an ALTER TABLE query on a sharded table which ran partially but didn't complete successfully....
Read more >
How to resolve SQL20569N error for external table operation ?
No results were found for your search query. Tips. To return expected results, you can: Reduce the number of search terms. Each term...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found