Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3359

LogRoller not added as a WAL listener when replication is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.90.0
    • None
    • None
    • Reviewed

    Description

      Another thing I broke when porting to the new master, LogRoller is started but never added to HLog meaning that only hourly rolls work. Easy fix in HRS:

           this.hlogRoller = new LogRoller(this, this);
           listeners.add(this.hlogRoller);
           if (this.replicationHandler != null) {
      -      listeners = new ArrayList<WALObserver>();
             // Replication handler is an implementation of WALActionsListener.
             listeners.add(this.replicationHandler);
      

      Attachments

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: