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.

should we serialize `debug_meta` for transactions?

See original GitHub issue

RN transaction comes with:

"debug_meta": {
    "transactionSampling": {
      "method": "client_rate",
      "rate": 1
    }
  }

during ser/deser, we’re losing the debug_meta field

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
rhcarvalhocommented, Jun 21, 2021

This is an internal field for used debugging. It is not part of the spec and there is no intention that it will ever be.

For all I can think of, we don’t need this field in React Native nor in Java, so the current behavior of dropping the debug_meta field is adequate.

(@lobsterkatie FYI)

0reactions
lobsterkatiecommented, Jul 1, 2021

@jan-auer Right. I guess I was more wondering if that debug_meta -> envelope header work should happen anywhere besides JS, but it sounds like no.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Serializability vs “Strict” Serializability: The Dirty Secret of ...
The bottom line is that if Fauna is configured to be strictly serializable for all transactions, then stale reads will never happen. Every...
Read more >
Guidelines for Performance Monitoring
Over the wire, transactions are serialized to JSON as an augmented Event , and sent as envelopes. The different envelope types are for...
Read more >
Serializing transactions - IBM
You must allow serialization only for low-volume transactions because of potential queueing time. The following methods each have different serialization start ...
Read more >
Blog: Importance of Serialization in Transactional Data | Tudip
Ideally, transactions should be serializable. Transactions are said to be serializable if the results of running transactions simultaneously ...
Read more >
Serializing Data - Solana Cookbook
Learn how to serialize and deserialize data on Solana.
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