Comments (5)
Do you have a repro that actually demonstrates this? Is it possibly that your
your rig uses concurrency and you are simply using the same thread/data from
parallel threads?
Original comment by marc.gravell
on 7 Oct 2014 at 10:21
from protobuf-net.
I don't know when I'm gonna see an exception next; but will update this issue
with details if any raised.
About concurrency: both from mine and BPlusTree's side, it's a single-threaded
process.
I also tried Tags as well; as it suggested by @Marc for some questions on
stackoverflow, but no improvements for my conditions !
@Marc, as you have already checked BPlusTree's source, I'm adding the piece of
code I use for update, "just in case"
KeyValueUpdate<C, B<C, M>> updateFunction = delegate(C Key, B<C, M> Value)
{
B<C, M> block = Value;
block.lambda.Add(new Lambda<C, M>(tau, interval.metadata));
return block;
};
di3.TryUpdate(key, updateFunction);
Original comment by [email protected]
on 7 Oct 2014 at 10:39
from protobuf-net.
What I would really love to see is a complete runnable example where I don't
need to guess at lots of details, so that I can actually try to repro...
Original comment by marc.gravell
on 7 Oct 2014 at 10:43
from protobuf-net.
hmmm ... OK either I should summarize the code (which then you may not see the
error :D). OR: I can share full project with you, but to run it, somehow I have
to pass you ~10GB ENCODE data to be able to execute. What do you suggest ?
BTW, the issue is just raised again (after 3 successful runs)
https://www.dropbox.com/s/v7t2n1gll3guc0e/exception.txt?dl=0
Original comment by [email protected]
on 7 Oct 2014 at 10:56
from protobuf-net.
I've an idea: updating serialized messages happens quite often in my scenario
(<20M/50M ), and disabling update everything "seems" to be working fine. This
encourages me that my assumption with dynamic messages (i.e.,
http://stackoverflow.com/questions/26223017/length-prefix-with-dynamic-messages-
in-protobuf-net) is true ... do you agree ?
Original comment by [email protected]
on 7 Oct 2014 at 11:56
from protobuf-net.
Related Issues (20)
- Suffix missing for required non-primitive properties HOT 2
- global:: prefix forgot when generate field and property
- Concurrent dictionarys and linked lists goes null on serializing/deserializing.
- Calling GetSchema can cause call to serialize to throw an exception
- Method to detect built-in types
- Await/async proposal HOT 9
- Invalid proto data with TimeSpan via GetSchema() HOT 1
- Please add Windows Phone 8.1 to PCL version HOT 1
- protobuf-net.2.0.0.668\lib\net40\protobuf-net.dll should target v4.0.30319, not v2.0.50727
- Custom serializer works in debug - not in release HOT 5
- Won't build to Windows Phone 8
- Exception due to code in default constructor HOT 3
- Need Help Getting Started HOT 2
- Protobuf.net 'IsDefined' logical bug?
- Deserializing Dictionary<string, List<T>> leads to An element with the same key already exists in the dictionary.
- sub-classes serialization
- Precompiler failed to process asm which targets .NET Framework 3.5
- Value null exception
- Protobuf error System.Xml.Writer wrong assembly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protobuf-net.