This project is mirrored from https://gitee.com/mirrors/neo4jsource.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 04 Feb, 2014 1 commit
-
-
Lasse Westh-Nielsen authored
-
- 03 Feb, 2014 1 commit
-
-
Chris Gioran authored
Commit 07f87b2b replaced strings in some legacy database files that are used as resources for upgrade tests. That lead them to reporting wrong versions and not being processed properly. This commit simply restores them to their correct contents, by checking out the previous versions.
-
- 31 Jan, 2014 4 commits
-
-
Neo4j Build Server authored
-
Neo4j BuildServer authored
-
Mattias Persson authored
due to, most likely, a problem with the test or even SubProcess that the piping of System.out/System.err from the sub process where those buffers fill up in the sub process since the parent process doesn't pull that data. When those buffers have filled up, then any write to its System.xxx will block awaiting the buffer to drain, which it doesn't. The current fix is just to not use System.out in this test, however a future fix should be to look at and fix the issue in SubProcess itself.
-
Chris Leishman authored
-
- 30 Jan, 2014 5 commits
-
-
Chris Gioran authored
Before it was a pending backport. Unfortunately, there appears to be some flakyness in the test, which points to a bug. Needs investigation.
-
Chris Gioran authored
There were two problems with HaBackupProvider, both on cluster joining. One was that it depended on snapshots to discover the state of the cluster, while since 1.9.6 this has changed and joining instances must as for elections. The other was that it passed in a null for a SnapshotFilter, which caused NPEs and did not let the availability messages to be processed. Both problems are now solved.
-
Chris Gioran authored
Also fixes some formatting in PCME
-
Chris Gioran authored
-
Chris Gioran authored
When an instance times out on phase 2, if it is closed or delivered it should have its payload retried. This patch adds this functionality.
-
- 29 Jan, 2014 12 commits
-
-
Chris Gioran authored
Introduction of monitoring in the kernel and HA network operations
-
Chris Gioran authored
Adds two tests that make use of TransactionMonitor to monitor transaction propagation in clusters. One test counts events by committing and pushing from both slaves and the master, while the other counts transactions pulled from slaves.
-
Chris Gioran authored
Introduces TransactionMonitor to facilitate measurement of transaction events, current commits and commit entry injections. Adds support for that in XaResourceManager, tagged by datasource name. Introduces a sample counting implementation meant for testing, EideticTransactionMonitor. Introduces tests for basic functionality in kernel and lucene-index
-
Chris Gioran authored
TaggedMonitorListenerInvocationHandler was not getting the tags that it was created with. The result was that listeners added for specific tags would get called for all invocations of the observed interface regardless. This commit fixes the issue and adds a test for it.
-
Chris Gioran authored
ByteCounterMonitor is generic enough so it does not have to be in o.n.k.i.t.xaframework anymore
-
Chris Gioran authored
BlockLogBuffer now updates a ByterCounterMonitor with the bytes it writes to the underlying buffer. This way all operations that serialize transactions to the network can be monitored. Master and Client instances now make use of that BlockLogBuffer for streaming results and transactions. Introduces a RequestMonitor which logs HA requests. It supports request context via a hashmap which can be set to contain various information about the request logged. Client and Server now update a RequestMonitor with requests sent and received, respectively.
-
Chris Gioran authored
LogExtractor now updates a ByteCounterMonitor with bytes read while extracting transaction entries from a log XaLogicalLog updates a ByterCounterMonitor when deserializing prepared transactions from disk for sending over the network XaLogicalLog now updates a ByteCounterMonitor when deserializing a transaction stream over the network
-
Chris Gioran authored
Ha protocols from versions 1.5.3 and 1.7 are no longer supported for rolling upgrades. Hence they are no longer necessary to be present in the codebase.
-
Chris Gioran authored
It is clear after some usage that log buffer monitoring is really a case of counting bytes, functionality that needs to be replicated in other places as well. It makes sense therefore to have LogBufferMonitor strictly count bytes, rename it to ByterCounterMonitor and reuse it where necessary.
-
Chris Gioran authored
Uses the Monitors functionality to add bytes written counting facilities to DirectMappedLogBuffer. Achieved via introducing a LogBufferMonitor interface that is used by DMLB. XaLogicalLog and TxLog require access to Monitors to create the proper monitor and pass it to their DMLB.
-
Chris Gioran authored
There was only one implementation of LogBufferFactory which was a straightforward call to DMLB constructor. This did not call for the need for a factory abstraction and since it was complicating upcoming work on monitoring it has now been removed.
-
Mattias Persson authored
-
- 28 Jan, 2014 2 commits
-
-
Jacob Hansson authored
Removes the ComException wrapping of server-side BranchedDataException
-
Mattias Persson authored
Making the reporting of BiasedWinnerStrategy a bit easier to
-
- 27 Jan, 2014 4 commits
-
-
Mark Needham authored
o This is a 1.9 version - lots of classes moved around so I've submitted a 2.0 version as well o Changed wording so it describes it in words that will be easier for the field team to understand o Added tests around the BiasedWinnerStrategy
-
Mattias Persson authored
which is no longer needed due to recent changes in exception streaming from server to client. In fact the wrapping prevented a slave to properly react to branched data and would make that slave unable to ever join the cluster.
-
Chris Gioran authored
The test MonitorsTest.shouldUnregister() was failing with a ClassCastException. The reason was that it was doing the cast on a field different than the one that it was performing the instanceof check. Conflicts: community/kernel/src/test/java/org/neo4j/kernel/monitoring/MonitorsTest.java
-
Lasse Westh-Nielsen authored
Don't stop neo data source in case of failure
-
- 25 Jan, 2014 1 commit
-
-
Mattias Persson authored
when switching to slave, because it will prevent future switch tries with NPE in CommonAbstractStore.
-
- 24 Jan, 2014 5 commits
-
-
Jacob Hansson authored
Fix for race between kernel panic and mode switching
-
Mattias Persson authored
where a thread switching role to slave and HaKernelPanicHandler thread were competing to harden the master delegate handler. While all components were switching to their slave versions a kernel panic event came in and made its switch, ending with hardening the master delegate handler. All components would take that as a sign about the master delegate being ready to use. When the slave switching was done, that thread would set the master delegate to the actual one, but all components would have already gotten a concrete reference to the master such that the latter setDelegate call would not affect them. Fix is to only have setDelegate() (not harden()) dereference the Concrete instance so that a setDelegate() after harden() will override that delegate, making it visible to the peers of it.
-
Mattias Persson authored
Fix for incorrect exception handling on request reading error in HA.
-
Mattias Persson authored
Moved stability changes from master into 1.9 for SubProcess.
-
Jacob Hansson authored
o Added test and implementation for better error handling on early request parsing failure. o Moved serialization of requests and deserialization of responses into Protocol class. o Added handling of BranchedDataException in HAMS.
-
- 23 Jan, 2014 2 commits
-
-
Jacob Hansson authored
NOTE: If you are forward-merging this change into 2.0, you can throw away all the changes in this commit, they are already present in the master branch.
-
Rickard Öberg authored
-
- 22 Jan, 2014 3 commits
-
-
Mattias Persson authored
logs full vote list, filtered votes and biased instances for promotion/demotion.
-
Chris Gioran authored
-
Chris Gioran authored
Monitoring was part of the o.n.k.impl.util package, now it is moved to o.n.k.monitoring Monitors has support for tags added so finer grained control over listeners can be achieved Monitors no longer accepts a logger as a constructor argument - that functionality can now be properly achieved by adding a Monitors.Monitor to the Monitors instance.
-