Skip to content

Commit be6b2dc

Browse files
committed
updated SWC-DB v0.5.5 release-date
[TEST COMMIT]
1 parent 9d56dde commit be6b2dc

File tree

8 files changed

+31
-14
lines changed

8 files changed

+31
-14
lines changed

CHANGELOG.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818

19-
### [SWC-DB v0.5.5](https://github.com/kashirin-alex/swc-db/releases/tag/v0.5.5) (upcoming-release)
19+
### [SWC-DB v0.5.5](https://github.com/kashirin-alex/swc-db/releases/tag/v0.5.5) (2021-09-21)
2020

2121
added Config::Property::V_GUINT64 (G_UINT64)
2222
added class Manager::Schemas derived from DB::Schemas
@@ -73,6 +73,24 @@
7373
added Manager AssignGroup Columns::m_need_assign[4] [Master,Meta,Sys,Data]
7474
fixed Ranger Range::Block::add_logged(Cell&) a case at block got split
7575
added Ranger CompactRange use count barrier at finalize
76+
added Ranger::Blocks::release processing-state and skip at Compact Applying
77+
changed usage of DB::Specs::Column without Ptr shared_ptr<Column>
78+
added typedef Core::Vector<{c/rids_t,c/rids_t}
79+
added typedef Query::Update::Handlers::Base::Colms & DB::SchemasVec
80+
changed to STL Serial::Value Field_LIST_{INT64,BYTES} convert_to and ctor
81+
changed DB::Cell::Key::{equal,add,read,convert_to} to STL
82+
added Config::Property::from_string(const char*, T* value)
83+
added specialized extended const-expressions in Core::Vector<>
84+
added Core::Vector(initializer_list&&) and emplace(it, Args)
85+
added Core::Vector operator==(other) and pop_back()
86+
changed not-required cases of std::vector<> to Core::Vector<> source-wide
87+
removed Core::BufferT::length_base/grow
88+
added timer-synchronization MutexAtomic PeriodicTimer::m_mutex
89+
added std::ostream& operator<<(ostream&, EndPoint&)
90+
changed source-wide destructors to alway noexcept unless not specified
91+
added CXX-Flags -Wtrampolines -Wtsan (with GCC)
92+
added compatibility for -Wshadow (local,compatible-local,global) with GCC
93+
updated for Thrift v0.15.0
7694
added Python swcdb.thrift.pool.PoolStopping exception, raise with stop
7795
added SWC-DB Ruby 'swcdb' package and availability with gem list -r swcdb
7896

docs/use/thriftclient/java/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public class ListAllSchemas {
7676
```bash
7777
SWCDB_VERSION="0.5.5"
7878
CLASSPATHS=/root/.m2/repository/org/swcdb/thrift/${SWCDB_VERSION}/thrift-${SWCDB_VERSION}.jar;
79-
CLASSPATHS=${CLASSPATHS}:/root/.m2/repository/org/apache/thrift/libthrift/0.14.0/libthrift-0.14.0.jar;
79+
CLASSPATHS=${CLASSPATHS}:/root/.m2/repository/org/apache/thrift/libthrift/0.15.0/libthrift-0.15.0.jar;
8080
CLASSPATHS=${CLASSPATHS}:/root/.m2/repository/org/slf4j/slf4j-api/1.7.28/slf4j-api-1.7.28.jar;
8181
```
8282

src/cc/include/swcdb/broker/queries/update/MetricsReporting.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class Reporting final : public Common::Query::Update::Metric::Reporting {
2525

2626
typedef std::shared_ptr<Reporting> Ptr;
2727

28-
Reporting(const Comm::IoContextPtr& io,
29-
Config::Property::V_GINT32::Ptr cfg_intval);
28+
Reporting(const Comm::IoContextPtr& a_io,
29+
Config::Property::V_GINT32::Ptr a_cfg_intval);
3030

3131
void configure_bkr(const char*, const Comm::EndPoints& endpoints);
3232

src/cc/include/swcdb/db/client/Query/Update/Handlers/Metrics.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ class Reporting : public BaseSingleColumn {
240240
Core::Vector<Metric::Base::Ptr> metrics;
241241
Core::AtomicBool running;
242242

243-
Reporting(const Clients::Ptr& clients,
244-
const Comm::IoContextPtr& io,
245-
Config::Property::V_GINT32::Ptr cfg_intval,
246-
Clients::Flag executor=client::Clients::DEFAULT);
243+
Reporting(const Clients::Ptr& a_clients,
244+
const Comm::IoContextPtr& a_io,
245+
Config::Property::V_GINT32::Ptr a_cfg_intval,
246+
Clients::Flag a_executor=client::Clients::DEFAULT);
247247

248248
virtual ~Reporting() noexcept { }
249249

src/cc/include/swcdb/manager/queries/update/MetricsReporting.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Reporting final : public Common::Query::Update::Metric::Reporting {
2525

2626
typedef std::shared_ptr<Reporting> Ptr;
2727

28-
Reporting(const Comm::IoContextPtr& io);
28+
Reporting(const Comm::IoContextPtr& a_io);
2929

3030
void configure_mngr(const char*, const Comm::EndPoints& endpoints);
3131

src/cc/include/swcdb/ranger/queries/update/MetricsReporting.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Reporting final : public Common::Query::Update::Metric::Reporting {
2525

2626
typedef std::shared_ptr<Reporting> Ptr;
2727

28-
Reporting(const Comm::IoContextPtr& io);
28+
Reporting(const Comm::IoContextPtr& a_io);
2929

3030
void configure_rgr(const char*, const Comm::EndPoints& endpoints);
3131

src/cc/include/swcdb/thrift/broker/queries/update/MetricsReporting.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class Reporting final : public Common::Query::Update::Metric::Reporting {
3636

3737
typedef std::shared_ptr<Reporting> Ptr;
3838

39-
Reporting(const Comm::IoContextPtr& io,
40-
Config::Property::V_GINT32::Ptr cfg_intval);
39+
Reporting(const Comm::IoContextPtr& a_io,
40+
Config::Property::V_GINT32::Ptr a_cfg_intval);
4141

4242
void configure_thriftbroker(const char*, const Comm::EndPoints& endpoints);
4343

src/cc/lib/swcdb/db/Cells/SpecsKey.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ Key::Key(const Key& other) : Vec(other) { }
3838
Key::~Key() noexcept { }
3939

4040
void Key::copy(const Key &other) {
41-
clear();
42-
assign(other.cbegin(), other.cend());
41+
Vec::operator=(other);
4342
}
4443

4544
bool Key::equal(const Key &other) const noexcept {

0 commit comments

Comments
 (0)