Apache9 commented on pull request #3477: URL: https://github.com/apache/hbase/pull/3477#issuecomment-889908431
> @Apache9 Thank you for reviewing. > > > What does the owner mean here? I think we have the region server name in the queue name on zk? > > The owner is the region server holding replication queue. And yes, the region server name is included in zk path. But replication server is first to get region server holding queue and queueid, and then use them to form the zk path of queue. > > For compatibility, replication server does not actually move the queue to its own zk directory, so replication server needs to know which zk directory of regionserver the queues that it consumes are in. > > On the regionserver, the holder and consumer of the queue are its own, so there is no need to record the owner extra, which is different for the replication server. OK, so for region server, when it has a queue, it will move the directory on zk, but for replication server, it can not do this. At least, it can not move the wal file which is currently written... Do we have a section in the design doc about how to deal with this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org