neoppod:9077cfcdb4619db366d1f102a63a6fa3be140474 commitshttps://lab.nexedi.com/nexedi/neoppod/-/commits/9077cfcdb4619db366d1f102a63a6fa3be1404742012-01-17T11:58:19+01:00https://lab.nexedi.com/nexedi/neoppod/-/commit/9077cfcdb4619db366d1f102a63a6fa3be140474Automatically set connection on node when establishing a connection.2012-01-17T11:58:19+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/9502dd0234520a42ec1deb460478ac85fda5b45eNew populate() method for threaded tests2012-01-17T11:07:11+01:00Julien Muchembledjm@nexedi.com
Storage.importFrom is changed for resumable imports.https://lab.nexedi.com/nexedi/neoppod/-/commit/0a51105252c2f6281b002da73a580c6f30899580storage: code simplication, dead code removal2012-01-16T17:10:47+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/900d4908095fe4b860984cdf2e0dc1117683de2dLog exception when dying.2012-01-13T19:07:40+01:00Vincent Pelletiervincent@nexedi.com
Also, fix log message.https://lab.nexedi.com/nexedi/neoppod/-/commit/0243a54739b72e97015caab55db185586fc11296Update debugger invocation with recent IPython2012-01-13T19:06:58+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/b3b5175f8e3b77537b0135e3771e225bdae0774etests: make it possible to run several threaded clusters at the same time2012-01-13T19:02:55+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/dcbf0b020f60c370e938f16f2e386330fdf2fb46Use absolute import path.2012-01-13T15:47:53+01:00Vincent Pelletiervincent@nexedi.com
Fixes regression introduced in <a href="/nexedi/neoppod/-/commit/b6475dc31286c39fc5ea04f1ea8fed2ee173b0f7" data-original="b6475dc" data-link="false" data-link-reference="false" data-project="72" data-commit="b6475dc31286c39fc5ea04f1ea8fed2ee173b0f7" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Expect all masters to be in running state." class="gfm gfm-commit has-tooltip">b6475dc3</a> .
So much for running test from neo folder...https://lab.nexedi.com/nexedi/neoppod/-/commit/30462e364e4f32cb51ef6baffc98b9b712386850Always reject my own UUID.2012-01-13T15:45:06+01:00Vincent Pelletiervincent@nexedi.com
Fixes a regression introduced in <a href="/nexedi/neoppod/-/commit/b5309c783557ff0b7f4600ce24b2b38476344345" data-original="b5309c7" data-link="false" data-link-reference="false" data-project="72" data-commit="b5309c783557ff0b7f4600ce24b2b38476344345" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Simplify code." class="gfm gfm-commit has-tooltip">b5309c78</a> .https://lab.nexedi.com/nexedi/neoppod/-/commit/140219648d4cb74279f9d342c7ab8de9f2ce50dbMake Connection.isClosed return True on aborted connections.2012-01-13T15:01:53+01:00Vincent Pelletiervincent@nexedi.com
The only difference between an aborted connection and a closed one is that
packets sent just before aborting are pushed to the network before really
closing the connection. But further sends must fail, and nothing should be
received.https://lab.nexedi.com/nexedi/neoppod/-/commit/ef8f00cac245378241d6de5d11b3a3591ec421aeMicro-optimisations.2012-01-13T15:01:53+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/b6475dc31286c39fc5ea04f1ea8fed2ee173b0f7Expect all masters to be in running state.2012-01-13T15:01:11+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/b5309c783557ff0b7f4600ce24b2b38476344345Simplify code.2012-01-13T15:01:11+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/197e5ec1fff26b69988132cb7d4c72505c05a11aDrop unneeded code.2012-01-13T15:01:11+01:00Vincent Pelletiervincent@nexedi.com
There is no need to react on every packet to mark a node as running. This
is updated on connection/disconnection, and it is sufficient.https://lab.nexedi.com/nexedi/neoppod/-/commit/1740e0c88469a6fbf8947cd21632e83196bc1386Merge method into its only caller.2012-01-13T15:01:11+01:00Vincent Pelletiervincent@nexedi.com
Also, don't wait for client disconnection.
Also, factorise packet creation.https://lab.nexedi.com/nexedi/neoppod/-/commit/cf8ec8c1fa8ef56969dd434f40a33d187195f739Allow detecting pending connections at node level.2012-01-13T15:01:11+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/59abb90d4a5290f12d753006e0721c78d9a64520Increase verbosity a bit.2012-01-13T15:01:01+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/80038d2ffd7d48d2c81c9b5b32112e5aa53422a0Fix update of partition when cluster is not operational due a storage lost2012-01-10T17:34:50+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/6aa372d97c958e73a1ea6b229016eb24f051e4e6client: many fixes to 'transactionLog'2012-01-10T15:33:46+01:00Julien Muchembledjm@nexedi.com
- Do not fetch data from outdated/discarded cells.
- Do not return more than transactions than requested by 'limit' parameter.
Anyway, all results above this 'limit' could contain holes.https://lab.nexedi.com/nexedi/neoppod/-/commit/d9adfcbc49fd1b67dc4a52090f7f9abc47990250Get rid of intermediate variable.2012-01-10T11:26:42+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/10e6c2e114f405cbed137473ada75869d297feb1Move invariant out of loop.2012-01-10T11:26:42+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/98bc6f106bf17271bb0d8a908d73471be6232bc0Drop unused test properties.2012-01-10T10:17:37+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/51b206b92041930a66bef8c87ac6597aaac3014dclient: fix conflicts between AskTIDs(From) requests and reconnections2012-01-09T20:03:05+01:00Julien Muchembledjm@nexedi.com
This fixes testStorageReconnectDuring{Transaction,Undo}Log unit tests.
The change in testStorageReconnectDuringTransactionLog fixes a bug in the test
itself. 'c.root()._p_serial' returned ZERO_TID.
Application.undo is also updated so that 'waitResponses' do not use
'setHandlerData' anymore.https://lab.nexedi.com/nexedi/neoppod/-/commit/e48201ddd1492042183bca104bff77902063d0fcclient: fix passing of data to response handler through Connection.ask2012-01-09T19:53:30+01:00Julien Muchembledjm@nexedi.com
This is another fix to commit <a href="/nexedi/neoppod/-/commit/4720ba3319831190ad9ebf2a6283496e092f4370" data-original="4720ba3319831190ad9ebf2a6283496e092f4370" data-link="false" data-link-reference="false" data-project="72" data-commit="4720ba3319831190ad9ebf2a6283496e092f4370" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Extend Connection.ask so that private data can be forwarded to response handler" class="gfm gfm-commit has-tooltip">4720ba33</a>.https://lab.nexedi.com/nexedi/neoppod/-/commit/29fe44e5464b1c20f3aa68b4f7f1d00c72193de7Add support for a persistent, updated list of master nodes.2012-01-09T14:53:24+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/f3188b90278f2c5f88c91d665c52acc51743c431Typo in docstring quoting.2012-01-09T14:31:53+01:00Vincent Pelletiervincent@nexedi.com
Noticed because gitweb syntax colouring disliked it.https://lab.nexedi.com/nexedi/neoppod/-/commit/bd8a4ec4bdff068705e41485343ea58558317e1bMerge "master: fix disconnection of clients when cluster leaves RUNNING state"2012-01-06T19:25:46+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/7719e87b2581affdc3c9f3704ffef83a19995385master: fix disconnection of clients when cluster leaves RUNNING state2012-01-06T19:24:45+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/1ea1dc9e477a0b3c41eb2e6fad24d71983a75931Simplify EpollEventManager.poll2012-01-06T19:15:42+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/02763c9aa5f3efcac2af3e6bbadcca74590289e9Fix handling of error packets2012-01-06T18:06:22+01:00Julien Muchembledjm@nexedi.com
This fixes a regression in commit <a href="/nexedi/neoppod/-/commit/4720ba3319831190ad9ebf2a6283496e092f4370" data-original="4720ba3319831190ad9ebf2a6283496e092f4370" data-link="false" data-link-reference="false" data-project="72" data-commit="4720ba3319831190ad9ebf2a6283496e092f4370" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Extend Connection.ask so that private data can be forwarded to response handler" class="gfm gfm-commit has-tooltip">4720ba33</a>.https://lab.nexedi.com/nexedi/neoppod/-/commit/d62476dd151a4b708451846002207f353f365bafMake setDown() consistent with update() with a down node.2012-01-06T18:03:46+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/8ae3f0eaca03d73360ce471f503dbccf19d8aa6eAutomate startup when all storage nodes of UP_TO_DATE cells are available.2012-01-06T17:45:22+01:00Vincent Pelletiervincent@nexedi.com
Inspired from "mdadm assemble --no-degraded" behaviour, which was brought
up during a discussion on linux-raid mailing list about split-brain
situation detection and avoidance.https://lab.nexedi.com/nexedi/neoppod/-/commit/2d35ac93e4fc3ba14cae2293bce060c186f1fe95Stop using assertions for actual runtime checks.2012-01-06T17:45:22+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/c93a786f5f4240e5cab7364e22187b243b4f5ac6Hack to allow restarting twice a cluster in functional tests2012-01-06T17:44:22+01:00Julien Muchembledjm@nexedi.com
PortAllocator is broken by design and the only proper solution to run a NEO
functional test without race condition with another software opening a random
port is to use ... unix sockets.https://lab.nexedi.com/nexedi/neoppod/-/commit/4720ba3319831190ad9ebf2a6283496e092f4370Extend Connection.ask so that private data can be forwarded to response handler2012-01-06T16:40:49+01:00Julien Muchembledjm@nexedi.com
Keyword arguments are kept internally by the handler switcher, which passes
them to the handler when the peer answers.
This will be required by new replicator, so that 'setUnfinishedTIDList'
receives the list of outdated partitions at the time the
'AskUnfinishedTransactions' packet was sent.https://lab.nexedi.com/nexedi/neoppod/-/commit/c810920ce9215e8d62dfcc219c3977159a283e65Fix reset of handler switchers2012-01-06T15:47:14+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/13a64cfea559c00308903c5186bc60aeb8f99df4Simplify definition of packets by computing automatically their codes2012-01-06T14:24:44+01:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/10a53cf7a33ec05153b8e06b92f82462745a8c42No need to actually start cluster when there are only masters.2012-01-05T14:13:45+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/749706bb2ec9c6a16f12f7856f5e12fbfdab3330Do not hide protocol errors in neoctl.2012-01-05T11:55:01+01:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/neoppod/-/commit/597435bff72b9eaf205f786f3fca95d21dd3597bRemove inappropriate XXX.2012-01-05T11:55:01+01:00Vincent Pelletiervincent@nexedi.com
This comment just described the whole purpose of the code, so there is no
XXX there.https://lab.nexedi.com/nexedi/neoppod/-/commit/616328a6954375aee93336ddc1ce537d94a24886Simplify code.2012-01-05T11:55:01+01:00Vincent Pelletiervincent@nexedi.com