quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shixuan Fan <shixuan....@wisc.edu>
Subject Re: Warning in TupleStorageSubBlock.hpp
Date Sun, 17 Jul 2016 02:27:30 GMT
Hi Navneet,

My understanding is that after calling bulkInsertTuples, bulkInsertTuplesWithRemappedAttributes
or insertTupleInBatch, the consistency of the block is broken and the index will not work
until rebuild() is called. Thus any operation based on index or tuple order will not be safe.

Hope that others could give a more detailed explanation. :)


From: Navneet Potti <navsan@gmail.com>
Sent: Saturday, July 16, 2016 8:47:41 PM
To: dev@quickstep.incubator.apache.org
Subject: Warning in TupleStorageSubBlock.hpp

Hi Quicksteppers
I just came across this warning in the documentation for TupleStorageSubBlock::bulkInsertTuples
and bulkInsertTuplesWithRemappedAttributes functions. Can someone explain what it means?


   * @warning The inserted tuples may be placed in an "incorrect" or
   *          sub-optimal locations in this TupleStorageSubBlock. The only
   *          methods which are safe to call between bulkInsertTuples() and
   *          rebuild() are insertTupleInBatch(), bulkInsertTuples(), and
   *          bulkInsertTuplesWithRemappedAttributes().

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message