<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello, All<div><br></div><div>I have a terrible problem with object server.</div><div>Here is the case.</div><div>1. User upload an object to proxy-server</div><div>2. Proxy server try to connect with object-server</div><div>3. If one of object-server is slow to respond, proxy-server is waiting for response.</div><div>  3.1 While waiting for response, proxy-server can't do anything</div><div>4. So, The response of client request will be delayed.</div><div><br></div><div>In my opinion, this code seems to be a problem</div><div>(<a href="https://github.com/openstack/swift/blob/stable/rocky/swift/proxy/controllers/obj.py#L1734">https://github.com/openstack/swift/blob/stable/rocky/swift/proxy/controllers/obj.py#L1734</a>)<br></div><div><br></div><div>```</div><div><div>with ResponseTimeout(node_timeout):</div><div>            resp = conn.getexpect()</div></div><div>```</div><div><br></div><div>If node_timeout's value is 3 and object-server respond after 2 seconds, proxy-server wait 2 seconds.</div><div><br></div><div>Because proxy-server wait for the above response, the execution of the following code is delayed.</div><div>(<a href="https://github.com/openstack/swift/blob/stable/rocky/swift/proxy/controllers/obj.py#L627">https://github.com/openstack/swift/blob/stable/rocky/swift/proxy/controllers/obj.py#L627</a>)<br></div><div><br></div><div>```</div><div><div>for node in nodes:</div><div>            try:</div><div>                putter = self._make_putter(node, part, req, headers)</div><div>                self.app.set_node_timing(node, putter.connect_duration)</div><div>                return putter</div></div><div>```</div><div><br></div><div>This problem occurs when i do a ring rebalance.</div><div>When object-replicator delete a partition directory that are no longer mine, the disk becomes very busy (Because of xfsaild daemon)</div><div>Because the disk are busy, object-server can't create diskfile during PUT operation.</div><div><br></div><div>Is there anyone who is having problems like me?<br></div><div>How can I solve this problem?</div><div><br></div><div>I need everyone's help.</div><div>Thanks.</div><div><br></div><div>Best Regards</div><div>SeongSoo Cho</div><div><br></div><div>------</div><div>SeongSoo Cho (South Korea)</div><div><br></div></div></div></div></div></div></div>