On Wed, Dec 11, 2013 at 01:23:36AM +0900, Maru Newby <[email protected]> wrote:
> > On Dec 10, 2013, at 6:36 PM, Isaku Yamahata <[email protected]> wrote: > > > On Mon, Dec 09, 2013 at 08:43:59AM +1300, > > Robert Collins <[email protected]> wrote: > > > >>>> listening: when an agent connects after an outage, it first starts > >>>> listening, then does a poll for updates it missed. > >>> > >>> Are you suggesting that processing of notifications and full state > >>> synchronization are able to cooperate safely? Or hoping that it will be > >>> so in the future? > >> > >> I'm saying that you can avoid race conditions by a combination of > >> 'subscribe to changes' + 'give me the full state'. > > > > Like this? > > https://review.openstack.org/#/c/61057/ > > This patch is just to confirm the idea. > > I'm afraid the proposed patch is no more reliable than the current approach > of using file-based locking. I am working on an alternate patch that puts > the rpc event loop in the dhcp agent so that better coordination between full > synchronization and notification handling is possible. This approach has > already been taken with the L3 agent and work on the L2 agent is in process. You objected against agent polling in the discussion. But you're now proposing polling now. Did you change your mind? -- Isaku Yamahata <[email protected]> _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
