Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      • remove Interface TxnLog. The discussion on the mailing list (subject: "Get rid of unnecessary Interfaces") didn't give a definite No...?
      • make things private where possible
      • does preAllocSize need to be static and therefor global?
      • the append method has one big if statement from begin to end. make this a fast return
      • new private method to initialize a new logStream if logSTream == null
      • move the check for a faulty transaction in the method o.a.z.s.persistence.Util.marshallTxnEntry
      • mashallTxnEntry is only ever used from the append method of FileTxnLog. However I've seen the same code somewhere else...
      • new private method that returns a checksum for a given bytebuffer and length

        Attachments

        1. ZOOKEEPER-1230.patch
          7 kB
          Matteo Bertozzi

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thkoch Thomas Koch
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: