Comments (2)
This is a bug in the simulator. We will look at this and let you know.
On Oct 1, 2014, at 2:25 AM, Romain Slootmaekers [email protected] wrote:
In p2p push from drive A to drive B, if a key is specified in the list to push,
but not present at A, there is no exception, it's just skipped.
Is this intended behaviour? (we tested the simulator, will test the real thing shortly)—
Reply to this email directly or view it on GitHub.
from kinetic-java.
For protocol 2.x, there is a bug such that the overall status always return true with PeerToPeerOperation.getStatus() if all the operations can be processed (failed/succeeded). This is fixed with the commit mentioned below.
A KineticException is thrown only when the operations specified CAN NOT be processed and errors cannot be properly handled by the drive/simulator. If all the operations can be processed (failed or succeeded), the overall status is set in the response message (the returned PeerToPeerOperation object).
The overall status is set to true if and only if each of the specified operation was processed successfully. Otherwise, it is set to false.
Applications can check individual operation's status by examining each Operation's status with the returned PeerToPeerOperation.getOperationList() API.
The following commit enforced/enhanced the above behavior (protocol 3.x):
2015a63
An example is at the link here (test case "testP2PPut_Fails_ForVersionMismatch"):
from kinetic-java.
Related Issues (20)
- mvn clean package throws an error HOT 1
- serial_number and world_wide_name should be unique HOT 2
- Already in batch mode HOT 2
- Cascade puts not working
- Question on field "version" of EntryMetaData HOT 1
- required message fields in 0.8.0.4 ? HOT 1
- Incorrect filename in README.md HOT 1
- UDP multicast various levels of verbosity.
- Tests Fails HOT 2
- Connection Invalid magic number HOT 1
- heartbeatMonitor.sh is can't specify network interface.
- Encryption uses different keys for different platform
- Simulator seems not giving all the message types in getlog statistic operation
- Queue depth limit, i.e. asyncQueuedSize is not always respected HOT 1
- mvn build fails when checked out into a directory named "kinetic"? HOT 2
- Typo in README.md - 'remore' -> 'remote' HOT 1
- Typo in README.md - 'wprkspace' -> 'workspace' HOT 1
- large messages over TLS
- Multicast frequency of simulator should behave like real devices HOT 3
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 kinetic-java.