Displaying 11 results from an estimated 11 matches for "all_connected".
2019 May 21
0
[PATCH libnbd] api: Synchronous connect waits til all connections are connected.
...ctions are connected.";
};
"connect_command", {
diff --git a/lib/connect.c b/lib/connect.c
index 0fef87d..d711fd7 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -33,22 +33,32 @@
#include "internal.h"
static int
-wait_one_connected (struct nbd_handle *h)
+wait_all_connected (struct nbd_handle *h)
{
size_t i;
for (;;) {
- bool connected = false;
+ bool all_connected = true;
- /* Are any connected? */
+ /* Are any not yet connected? */
for (i = 0; i < h->multi_conn; ++i) {
- if (nbd_unlocked_aio_is_ready (h->conns[i])) {
-...
2019 May 22
0
[PATCH libnbd v2 1/6] api: Synchronous connect waits til all connections are connected.
...ctions are connected.";
};
"connect_command", {
diff --git a/lib/connect.c b/lib/connect.c
index 0fef87d..d711fd7 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -33,22 +33,32 @@
#include "internal.h"
static int
-wait_one_connected (struct nbd_handle *h)
+wait_all_connected (struct nbd_handle *h)
{
size_t i;
for (;;) {
- bool connected = false;
+ bool all_connected = true;
- /* Are any connected? */
+ /* Are any not yet connected? */
for (i = 0; i < h->multi_conn; ++i) {
- if (nbd_unlocked_aio_is_ready (h->conns[i])) {
-...
2019 May 22
8
[PATCH libnbd v2 0/6] Test connection states.
Patch 1/6 was posted before and I didn't change it:
https://www.redhat.com/archives/libguestfs/2019-May/thread.html#00134
That doesn't necessarily mean I shouldn't change it, I'm posting
it again because the other patches depend on it.
The main change in this series is we add three new API functions:
nbd_aio_is_created - connection has just been created
2019 May 21
2
[PATCH libnbd] api: Synchronous connect waits til all connections are connected.
nbd_connect_unix|tcp had a tricky failure case. This is a consequence
of allowing callers to mix synchronous and asynchronous calls, with
multi-conn thrown into the mix.
I think the new behaviour proposed here is better. We could do with a
better way of classifying the state of connections, such as are they
connectING.
Rich.
2016 Sep 21
2
replPropertyMetaData & KCC issues after updating to Samba 4.5.0
...al/samba/sbin/samba_kcc: File
"/usr/local/samba/lib/python2.7/site-packages/samba/kcc/__init__.py",
line 2644, in run
[2016/09/21 08:11:12.870994, 0, pid=1087, effective(0, 0), real(0, 0)]
../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
/usr/local/samba/sbin/samba_kcc: all_connected = self.intersite(ping)
[2016/09/21 08:11:12.871046, 0, pid=1087, effective(0, 0), real(0, 0)]
../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
/usr/local/samba/sbin/samba_kcc: File
"/usr/local/samba/lib/python2.7/site-packages/samba/kcc/__init__.py",
line 1883, in intersite...
2016 Sep 22
0
replPropertyMetaData & KCC issues after updating to Samba 4.5.0
...cc: File
> "/usr/local/samba/lib/python2.7/site-packages/samba/kcc/__init__.py",
> line 2644, in run
> [2016/09/21 08:11:12.870994, 0, pid=1087, effective(0, 0), real(0,
> 0)] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
> /usr/local/samba/sbin/samba_kcc: all_connected =
> self.intersite(ping)
> [2016/09/21 08:11:12.871046, 0, pid=1087, effective(0, 0), real(0,
> 0)] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
> /usr/local/samba/sbin/samba_kcc: File
> "/usr/local/samba/lib/python2.7/site-packages/samba/kcc/__init__.py",
&g...
2017 Nov 09
2
samba_kcc RODC failes with NT_STATUS_ACCESS_DENIED
...t;, line 337, in <module>
/usr/local/samba/sbin/samba_kcc: attempt_live_connections=opts.attempt_live_connections)
/usr/local/samba/sbin/samba_kcc: File "/usr/local/samba/lib/python2.7/site-packages/samba/kcc/__init__.py", line 2644, in run
/usr/local/samba/sbin/samba_kcc: all_connected = self.intersite(ping)
/usr/local/samba/sbin/samba_kcc: File "/usr/local/samba/lib/python2.7/site-packages/samba/kcc/__init__.py", line 1883, in intersite
/usr/local/samba/sbin/samba_kcc: all_connected = self.create_intersite_connections()
/usr/local/samba/sbin/samba_kcc: File &qu...
2013 Feb 20
1
Connection leak in sqlpool for ACL Dict Postgres in v2.1.15 (14907:b96df105ec55) and v2.2.beta1 (15857:07dfd4391d22)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm using a postgres dict for ACL, when when use deleteacl or setacl I get
a "not connected" error and (v2.2)
Panic: file driver-pgsql.c: line 84 (driver_pgsql_set_state): assertion failed: (state == SQL_DB_STATE_BUSY || db->cur_result == NULL)
and a rawdump eventually.
You can trigger the error with the "dict"
2016 Sep 22
2
replPropertyMetaData & KCC issues after updating to Samba 4.5.0
...quot;/usr/local/samba/lib/python2.7/site-packages/samba/kcc/__init__.py",
>> line 2644, in run
>> [2016/09/21 08:11:12.870994, 0, pid=1087, effective(0, 0), real(0,
>> 0)] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
>> /usr/local/samba/sbin/samba_kcc: all_connected =
>> self.intersite(ping)
>> [2016/09/21 08:11:12.871046, 0, pid=1087, effective(0, 0), real(0,
>> 0)] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
>> /usr/local/samba/sbin/samba_kcc: File
>> "/usr/local/samba/lib/python2.7/site-packages/samba/kcc/...
2014 Feb 05
1
ldb segment fault. Problem on joining as a DC member.
...A
dreplsrv_op_pull_source(WERR_BADFILE) for CN=RID
Manager$,CN=System,DC=kl01,DC=amtb-m,DC=org,DC=my
../source4/dsdb/repl/drepl_ridalloc.c:43: RID Manager failed RID allocation
- WERR_BADFILE - extended_ret[0x0]
kccsrv_periodic_run(): update
Testing kcctpl_create_intersite_connections
NT_STATUS_OK
all_connected=1, 0 GUIDs returned
found 1 existing nTDSConnection objects
0 connections have been deleted
0 connections have been added
samba-tool drs showrepl from DC1 seem to be ok
and also when samba-tool drs showrepl From DC2
amtbsrv02 ~ # samba-tool drs showrepl
Failed to bind to uuid e3514235-4b06-11d...
2016 Sep 12
4
replPropertyMetaData & KCC issues after updating to Samba 4.5.0
Hello,
Updated samba from 4.4.5 to 4.5.0. All DC's are Ubuntu 12.04.5 LTS.
I install samba from source(./configure,make,make install). Looking at
the release notes I see the section on "replPropertyMetaData Chnages".
I run 'samba-tool dbcheck --cross-ncs --fix --yes' and see the errors
and samba attempts to fix.
ERROR: unsorted attributeID values in